File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
data/data/bootstrap/files/usr/local/bin Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 9393
9494 rm --recursive --force api-bootstrap
9595
96+ # A more desireable end state would be require wiring up the infrastructure in some way and read it from rendered-manifest-dir
97+ CLUSTER_PROFILE_ANNOTATION=" self-managed-high-availability"
98+ if [ " $BOOTSTRAP_INPLACE " = true ]
99+ then
100+ CLUSTER_PROFILE_ANNOTATION=" single-node-developer"
101+ fi
102+
96103 bootkube_podman_run \
97104 --name api-render \
98105 --volume " $PWD :/assets:z" \
99106 " ${API_IMAGE} " \
100107 /usr/bin/render \
101108 --asset-output-dir=/assets/api-bootstrap \
102109 --rendered-manifest-dir=/assets/manifests \
110+ --cluster-profile=${CLUSTER_PROFILE_ANNOTATION} \
103111 --payload-version=$VERSION
104112
105113 cp api-bootstrap/manifests/* manifests/
You can’t perform that action at this time.
0 commit comments