Skip to content

Commit

Permalink
fix(t8s-cluster/management-cluster): add missing openstackImageNamePr…
Browse files Browse the repository at this point in the history
…efix field
  • Loading branch information
cwrau committed Mar 5, 2024
1 parent d9dab82 commit f636d43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions charts/t8s-cluster/templates/management-cluster/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ spec:
{{- end }}
bastion:
enabled: false
{{- with .Values.openstackImageNamePrefix }}
openStackImageNamePrefix: {{ . | quote }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ spec:
op: add
path: /spec/template/spec/image
valueFrom:
template: {{ printf "t8s-engine-%s-{{ .builtin.machineDeployment.version }}" .Values.openstackImageNamePrefix }}
template: {{ printf "t8s-engine-%s{{ .builtin.machineDeployment.version }}" .Values.openstackImageNamePrefix }}
selector: &imagePatchSelector
apiVersion: {{ include "t8s-cluster.clusterClass.infrastructureApiVersion" (dict) }}
kind: OpenStackMachineTemplate
Expand All @@ -130,7 +130,7 @@ spec:
- jsonPatches:
- <<: *imagePatch
valueFrom:
template: {{ printf "t8s-engine-%s-{{ .builtin.controlPlane.version }}" .Values.openstackImageNamePrefix }}
template: {{ printf "t8s-engine-%s{{ .builtin.controlPlane.version }}" .Values.openstackImageNamePrefix }}
selector:
<<: *imagePatchSelector
matchResources:
Expand Down

0 comments on commit f636d43

Please sign in to comment.