Skip to content

Commit

Permalink
indicate cluster profile to render the correct manifests
Browse files Browse the repository at this point in the history
In order to get different schemas and featuregates for hypershift, it is
necessary to indicate that we're rendering for hypershift.
  • Loading branch information
deads2k authored and openshift-cherrypick-robot committed Jan 25, 2024
1 parent 7079912 commit 138538e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ EOF
/usr/bin/render \
--asset-output-dir /tmp/output \
--rendered-manifest-dir=/tmp/manifests \
--cluster-profile=ibm-cloud-managed \
--payload-version=%[2]s
cp /tmp/output/manifests/* %[1]s
cp /tmp/manifests/* %[1]s
Expand Down
1 change: 1 addition & 0 deletions ignition-server/controllers/local_ignitionprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ EOF
%[1]s \
--asset-output-dir %[2]s/output \
--rendered-manifest-dir=%[2]s/manifests \
--cluster-profile=ibm-cloud-managed \
--payload-version=%[4]s
cp %[2]s/manifests/99_feature-gate.yaml %[3]s/99_feature-gate.yaml
`
Expand Down

0 comments on commit 138538e

Please sign in to comment.