diff --git a/infrastructure/templates/acs.yaml b/infrastructure/templates/acs.yaml index be38673..c0d14c6 100644 --- a/infrastructure/templates/acs.yaml +++ b/infrastructure/templates/acs.yaml @@ -168,6 +168,7 @@ metadata: data: {{ (.Files.Glob "files/stackrox-init-hook/*").AsConfig | indent 2 }} --- +{{ if false }} apiVersion: v1 kind: ConfigMap metadata: @@ -177,6 +178,7 @@ metadata: namespace: stackrox data: {{ (.Files.Glob "files/stackrox-configure-hook/*").AsConfig | indent 2 }} +{{ end }} --- apiVersion: batch/v1 kind: Job @@ -253,6 +255,7 @@ spec: taintToleration: TolerateTaints clusterName: local-cluster --- +{{ if false }} apiVersion: batch/v1 kind: Job metadata: @@ -285,7 +288,7 @@ spec: configMap: name: stackrox-configure-hook defaultMode: 0755 ---- +{{ end }} # TODO: # - scale down the ACS operator # - patch the central route to Reencrypt diff --git a/infrastructure/templates/eshop-dev.yaml b/infrastructure/templates/eshop-dev.yaml index c8c17b3..43e3f90 100644 --- a/infrastructure/templates/eshop-dev.yaml +++ b/infrastructure/templates/eshop-dev.yaml @@ -1,3 +1,4 @@ +{{ if false }} apiVersion: project.openshift.io/v1 kind: Project metadata: @@ -165,3 +166,4 @@ metadata: spec: lookupPolicy: local: false +{{ end }} \ No newline at end of file diff --git a/infrastructure/templates/eshop-prod.yaml b/infrastructure/templates/eshop-prod.yaml index 9ba6aa3..785cc29 100644 --- a/infrastructure/templates/eshop-prod.yaml +++ b/infrastructure/templates/eshop-prod.yaml @@ -1,3 +1,4 @@ +{{ if false }} apiVersion: project.openshift.io/v1 kind: Project metadata: @@ -27,3 +28,4 @@ subjects: - kind: ServiceAccount name: pipeline namespace: eshop-dev +{{ end }} \ No newline at end of file diff --git a/infrastructure/templates/eshop-test.yaml b/infrastructure/templates/eshop-test.yaml index 64c8bc0..974d9ac 100644 --- a/infrastructure/templates/eshop-test.yaml +++ b/infrastructure/templates/eshop-test.yaml @@ -1,3 +1,4 @@ +{{ if false }} apiVersion: project.openshift.io/v1 kind: Project metadata: @@ -27,3 +28,4 @@ subjects: - kind: ServiceAccount name: pipeline namespace: eshop-dev +{{ end }} \ No newline at end of file