File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
assets/components/openshift-router Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 7
7
metadata :
8
8
annotations :
9
9
target.workload.openshift.io/management : ' {"effect": "PreferredDuringScheduling"}'
10
+ openshift.io/required-scc : restricted
10
11
labels :
11
12
ingresscontroller.operator.openshift.io/deployment-ingresscontroller : default
12
13
spec :
Original file line number Diff line number Diff line change 688
688
yq -i ' .spec.minReadySeconds = 30' " ${REPOROOT} " /assets/components/openshift-router/deployment.yaml
689
689
yq -i ' .spec.selector = {"matchLabels": {"ingresscontroller.operator.openshift.io/deployment-ingresscontroller": "default"}}' " ${REPOROOT} " /assets/components/openshift-router/deployment.yaml
690
690
yq -i ' .spec.template.metadata += {"labels": {"ingresscontroller.operator.openshift.io/deployment-ingresscontroller": "default"}}' " ${REPOROOT} " /assets/components/openshift-router/deployment.yaml
691
+ yq -i ' .spec.template.metadata.annotations += {"openshift.io/required-scc": "restricted"}' " ${REPOROOT} " /assets/components/openshift-router/deployment.yaml
691
692
yq -i ' .spec.template.spec.containers[0].image = "{{ .ReleaseImage.haproxy_router }}"' " ${REPOROOT} " /assets/components/openshift-router/deployment.yaml
692
693
yq -i ' .spec.template.spec.containers[0].env += {"name": "STATS_PORT", "value": "1936"}' " ${REPOROOT} " /assets/components/openshift-router/deployment.yaml
693
694
yq -i ' .spec.template.spec.containers[0].env += {"name": "RELOAD_INTERVAL", "value": "5s"}' " ${REPOROOT} " /assets/components/openshift-router/deployment.yaml
You can’t perform that action at this time.
0 commit comments