Skip to content

Commit

Permalink
chore: Update image URLs for cluster-api-operator in core-provider, r…
Browse files Browse the repository at this point in the history
…ke2-bootstrap, and rke2-controlplane templates (#572)

Signed-off-by: Danil-Grigorev <[email protected]>
Co-authored-by: Julio Guevara <[email protected]>
  • Loading branch information
Danil-Grigorev and Julio Guevara authored Jun 11, 2024
1 parent 68c1f03 commit e9aa608
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions charts/rancher-turtles/templates/core-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ spec:
selector: {{ index .Values "cluster-api-operator" "cluster-api" "core" "fetchConfig" "selector" }}
{{- end }}
{{- end }}
{{- if index .Values "cluster-api-operator" "cluster-api" "core" "image" }}
{{- if index .Values "cluster-api-operator" "cluster-api" "core" "imageUrl" }}
deployment:
containers:
- name: manager
image: {{ index .Values "cluster-api-operator" "cluster-api" "core" "image" }}
imageUrl: {{ index .Values "cluster-api-operator" "cluster-api" "core" "imageUrl" }}
{{- end }}
---
apiVersion: v1
Expand Down
4 changes: 2 additions & 2 deletions charts/rancher-turtles/templates/rke2-bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ spec:
selector: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "bootstrap" "fetchConfig" "selector" }}
{{- end }}
{{- end }}
{{- if index .Values "cluster-api-operator" "cluster-api" "rke2" "bootstrap" "image" }}
{{- if index .Values "cluster-api-operator" "cluster-api" "rke2" "bootstrap" "imageUrl" }}
deployment:
containers:
- name: manager
image: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "bootstrap" "image" }}
imageUrl: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "bootstrap" "imageUrl" }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions charts/rancher-turtles/templates/rke2-controlplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ spec:
selector: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "controlPlane" "fetchConfig" "selector" }}
{{- end }}
{{- end }}
{{- if index .Values "cluster-api-operator" "cluster-api" "rke2" "controlPlane" "image" }}
{{- if index .Values "cluster-api-operator" "cluster-api" "rke2" "controlPlane" "imageUrl" }}
deployment:
containers:
- name: manager
image: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "controlPlane" "image" }}
imageUrl: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "controlPlane" "imageUrl" }}
{{- end }}
{{- end }}
6 changes: 3 additions & 3 deletions charts/rancher-turtles/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ cluster-api-operator:
defaultName: capi-env-variables
core:
namespace: capi-system
image: ""
imageUrl: ""
fetchConfig:
url: ""
selector: ""
Expand All @@ -60,13 +60,13 @@ cluster-api-operator:
version: ""
bootstrap:
namespace: rke2-bootstrap-system
image: ""
imageUrl: ""
fetchConfig:
url: ""
selector: ""
controlPlane:
namespace: rke2-control-plane-system
image: ""
imageUrl: ""
fetchConfig:
url: ""
selector: ""

0 comments on commit e9aa608

Please sign in to comment.