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:
{{ (.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

2
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 }}

2
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 }}

2
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 }}
Loading…
Cancel
Save