Skip to content

Commit

Permalink
make custom manifests an init container
Browse files Browse the repository at this point in the history
  • Loading branch information
loganmc10 committed Aug 6, 2024
1 parent 182ecb2 commit b134ff8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
sources:
- repoURL: 'https://loganmc10.github.io/hypershift-helm'
chart: deploy-cluster
targetRevision: 0.1.23
targetRevision: 0.1.24
helm:
valueFiles:
- $values/install-config.yaml
Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ description: A Helm chart for deploying HyperShift clusters on bare metal

type: application

version: 0.1.23
version: 0.1.24
2 changes: 1 addition & 1 deletion chart/templates/PostSync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ spec:
mountPath: "/script"
readOnly: true
{{- end }}
containers:
{{- if hasKey .Values.hypershift "customManifests" }}
- name: apply-custom-manifests
image: {{ include "ocp_client" . }}
Expand All @@ -189,6 +188,7 @@ spec:
mountPath: "/script"
readOnly: true
{{- end }}
containers:
- name: configure-ingress
image: {{ include "ocp_client" . }}
command:
Expand Down
2 changes: 1 addition & 1 deletion tests/results/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ spec:
- name: cluster-setup
mountPath: "/script"
readOnly: true
containers:
- name: apply-custom-manifests
image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1fc458ece66c8d4184b45b5c495a372a96b47432ae5a39844cd5837e3981685b
command:
Expand All @@ -548,6 +547,7 @@ spec:
- name: cluster-setup
mountPath: "/script"
readOnly: true
containers:
- name: configure-ingress
image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1fc458ece66c8d4184b45b5c495a372a96b47432ae5a39844cd5837e3981685b
command:
Expand Down

0 comments on commit b134ff8

Please sign in to comment.