Skip to content

Commit

Permalink
corral-packages enhancements for qa-task 1316 + 1327
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Diamond committed Jul 31, 2024
1 parent bc18978 commit ce0aa98
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 37 deletions.
8 changes: 1 addition & 7 deletions packages/aws/rancher-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ templates:
variables:
cni:
- calico
kubernetes_version:
- v1.25.16+rke2r1
- v1.26.14+rke2r1
registry_auth:
- global
- enabled
- disabled
docker_compose_version:
- 2.18.1
rancher_version:
- 2.7.10
- 2.8.2
cert_manager_version:
- 1.11.0
- 1.15.0
12 changes: 1 addition & 11 deletions packages/aws/rancher-rke1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,5 @@ variables:
- true
cni:
- calico
kubernetes_version:
- v1.26.8-rancher1-1
- v1.25.13-rancher1-1
- v1.24.17-rancher1-1
- v1.23.16-rancher2-3
rancher_version:
- 2.7.8
- 2.7.7
- 2.7.6
- 2.7.5
cert_manager_version:
- 1.8.0
- 1.15.0
12 changes: 1 addition & 11 deletions packages/aws/rancher-rke2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,5 @@ templates:
variables:
cni:
- calico
kubernetes_version:
- v1.26.8+rke2r1
- v1.25.13+rke2r1
- v1.24.17+rke2r1
- v1.23.16+rke2r1
rancher_version:
- 2.7.7
- 2.7.6
- 2.7.5
- 2.6.12
cert_manager_version:
- 1.8.0
- 1.15.0
4 changes: 1 addition & 3 deletions packages/aws/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ variables:
- ecr
docker_compose_version:
- 2.18.1
rancher_version:
- 2.8.2
cert_manager_version:
- 1.11.0
- 1.15.0

1 change: 1 addition & 0 deletions templates/aws/registry_nodes/terraform/pools/corral.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ variable "aws_ssh_user" {}
variable "aws_security_group" {}
variable "aws_vpc" {}
variable "aws_subnet" {}
variable "aws_volume_size" {}
variable "install_docker" {}
variable "instance_type" {}
variable "airgap_setup" {}
2 changes: 1 addition & 1 deletion templates/aws/registry_nodes/terraform/pools/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource "aws_instance" "registry" {

ebs_block_device {
device_name = "/dev/sda1"
volume_size = "200"
volume_size = "${var.aws_volume_size}"
volume_type = "gp3"
encrypted = true
delete_on_termination = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ else
echo "No suse registry defined; expecting rancher/rancher image to exist in registry"
else
docker pull "${CORRAL_suse_registry}/rancher/rancher:v${CORRAL_rancher_version}"
docker tag "${CORRAL_suse_registry}/rancher/rancher:v${CORRAL_rancher_version}" "${CORRAL_registry_fqdn}/rancher/rancher:v${CORRAL_rancher_version}"
docker push "${CORRAL_registry_fqdn}/rancher/rancher:v${CORRAL_rancher_version}"
docker tag "${CORRAL_suse_registry}/rancher/rancher:v${CORRAL_rancher_version}" "${CORRAL_registry_fqdn}/${CORRAL_suse_registry}/rancher/rancher:v${CORRAL_rancher_version}"
docker push "${CORRAL_registry_fqdn}/${CORRAL_suse_registry}/rancher/rancher:v${CORRAL_rancher_version}"
docker pull "${CORRAL_suse_registry}/rancher/rancher-agent:v${CORRAL_rancher_version}"
docker tag "${CORRAL_suse_registry}/rancher/rancher-agent:v${CORRAL_rancher_version}" "${CORRAL_registry_fqdn}/rancher/rancher-agent:v${CORRAL_rancher_version}"
docker push "${CORRAL_registry_fqdn}/rancher/rancher-agent:v${CORRAL_rancher_version}"
docker tag "${CORRAL_suse_registry}/rancher/rancher-agent:v${CORRAL_rancher_version}" "${CORRAL_registry_fqdn}/${CORRAL_suse_registry}/rancher/rancher-agent:v${CORRAL_rancher_version}"
docker push "${CORRAL_registry_fqdn}/${CORRAL_suse_registry}/rancher/rancher-agent:v${CORRAL_rancher_version}"
fi
fi

Expand Down

0 comments on commit ce0aa98

Please sign in to comment.