Skip to content

Commit

Permalink
ci: Update livenessProbe.repository value in Rancher chart
Browse files Browse the repository at this point in the history
When the LONGHORN_REPO is set to 'longhornio', we need to update the
livenessProbe.repository value to 'longhornio/livenessprobe' in the
Rancher chart.

longhorn/longhorn#8095

Signed-off-by: Roger Yao <[email protected]>
  • Loading branch information
roger-ryao authored and yangchiu committed Mar 5, 2024
1 parent eed9101 commit 01b92d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipelines/utilities/rancher/terraform_install/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ image:
repository: ${var.longhorn_repo == "rancher" ? "${var.longhorn_repo}/mirrored-longhornio-" : "${var.longhorn_repo}/"}csi-resizer
snapshotter:
repository: ${var.longhorn_repo == "rancher" ? "${var.longhorn_repo}/mirrored-longhornio-" : "${var.longhorn_repo}/"}csi-snapshotter
livenessProbe:
repository: ${var.longhorn_repo == "rancher" ? "${var.longhorn_repo}/mirrored-longhornio-" : "${var.longhorn_repo}/"}livenessprobe
longhorn:
backingImageManager:
repository: ${var.longhorn_repo == "rancher" ? "${var.longhorn_repo}/mirrored-longhornio-" : "${var.longhorn_repo}/"}backing-image-manager
Expand Down
2 changes: 2 additions & 0 deletions pipelines/utilities/rancher/terraform_upgrade/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ image:
repository: ${var.longhorn_repo == "rancher" ? "${var.longhorn_repo}/mirrored-longhornio-" : "${var.longhorn_repo}/"}csi-resizer
snapshotter:
repository: ${var.longhorn_repo == "rancher" ? "${var.longhorn_repo}/mirrored-longhornio-" : "${var.longhorn_repo}/"}csi-snapshotter
livenessProbe:
repository: ${var.longhorn_repo == "rancher" ? "${var.longhorn_repo}/mirrored-longhornio-" : "${var.longhorn_repo}/"}livenessprobe
longhorn:
backingImageManager:
repository: ${var.longhorn_repo == "rancher" ? "${var.longhorn_repo}/mirrored-longhornio-" : "${var.longhorn_repo}/"}backing-image-manager
Expand Down

0 comments on commit 01b92d6

Please sign in to comment.