File tree 1 file changed +7
-0
lines changed
.werft/jobs/build/installer
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,13 @@ while [ "$documentIndex" -le "$DOCS" ]; do
308
308
yq w -i k8s.yaml -d " $documentIndex " spec.suspend " true"
309
309
fi
310
310
311
+ # change registry-facade PodSecurityPolicy
312
+ NAMESPACE=$( kubens -c)
313
+ if [[ " $NAMESPACE -ns-registry-facade" == " $NAME " ]] && [[ " $KIND " == " PodSecurityPolicy" ]]; then
314
+ yq w -i k8s.yaml -d " $documentIndex " spec.hostPorts[0].min " $REG_DAEMON_PORT "
315
+ yq w -i k8s.yaml -d " $documentIndex " spec.hostPorts[0].max " $REG_DAEMON_PORT "
316
+ fi
317
+
311
318
# Uncomment to change or remove resources from the configmap which can be used to uninstall Gitpod
312
319
# There are a couple use cases where you may want to do this:
313
320
# 1. We don't want to uninstall a shared resource that is needed by other preview env namespaces
You can’t perform that action at this time.
0 commit comments