Browse Source

temporarily disable some parts of the demo

pull/1/head
Nicolas Massé 3 years ago
parent
commit
c52273ad80
  1. 5
      infrastructure/templates/acs.yaml
  2. 2
      infrastructure/templates/eshop-dev.yaml
  3. 2
      infrastructure/templates/eshop-prod.yaml
  4. 2
      infrastructure/templates/eshop-test.yaml

5
infrastructure/templates/acs.yaml

@ -168,6 +168,7 @@ metadata:
data: data:
{{ (.Files.Glob "files/stackrox-init-hook/*").AsConfig | indent 2 }} {{ (.Files.Glob "files/stackrox-init-hook/*").AsConfig | indent 2 }}
--- ---
{{ if false }}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
@ -177,6 +178,7 @@ metadata:
namespace: stackrox namespace: stackrox
data: data:
{{ (.Files.Glob "files/stackrox-configure-hook/*").AsConfig | indent 2 }} {{ (.Files.Glob "files/stackrox-configure-hook/*").AsConfig | indent 2 }}
{{ end }}
--- ---
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
@ -253,6 +255,7 @@ spec:
taintToleration: TolerateTaints taintToleration: TolerateTaints
clusterName: local-cluster clusterName: local-cluster
--- ---
{{ if false }}
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
@ -285,7 +288,7 @@ spec:
configMap: configMap:
name: stackrox-configure-hook name: stackrox-configure-hook
defaultMode: 0755 defaultMode: 0755
--- {{ end }}
# TODO: # TODO:
# - scale down the ACS operator # - scale down the ACS operator
# - patch the central route to Reencrypt # - patch the central route to Reencrypt

2
infrastructure/templates/eshop-dev.yaml

@ -1,3 +1,4 @@
{{ if false }}
apiVersion: project.openshift.io/v1 apiVersion: project.openshift.io/v1
kind: Project kind: Project
metadata: metadata:
@ -165,3 +166,4 @@ metadata:
spec: spec:
lookupPolicy: lookupPolicy:
local: false local: false
{{ end }}

2
infrastructure/templates/eshop-prod.yaml

@ -1,3 +1,4 @@
{{ if false }}
apiVersion: project.openshift.io/v1 apiVersion: project.openshift.io/v1
kind: Project kind: Project
metadata: metadata:
@ -27,3 +28,4 @@ subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: pipeline name: pipeline
namespace: eshop-dev namespace: eshop-dev
{{ end }}

2
infrastructure/templates/eshop-test.yaml

@ -1,3 +1,4 @@
{{ if false }}
apiVersion: project.openshift.io/v1 apiVersion: project.openshift.io/v1
kind: Project kind: Project
metadata: metadata:
@ -27,3 +28,4 @@ subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: pipeline name: pipeline
namespace: eshop-dev namespace: eshop-dev
{{ end }}
Loading…
Cancel
Save