Skip to content

Commit

Permalink
fix: make command an array in tls test
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Adams <[email protected]>
  • Loading branch information
SteveHNH committed Jan 11, 2024
1 parent e68dcea commit 3161c67
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions tests/kuttl/test-tls-web-services/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,42 +21,44 @@ spec:
template:
spec:
initContainers:
- volumeMounts:
- name: initContainer
volumeMounts:
- mountPath: /cdapp/
name: config-secret
- mountPath: /cdapp/certs
name: tls-ca
readOnly: true
containers:
- env:
- name: ENV_VAR_1
value: "env_var_1"
- name: ENV_VAR_2
value: "env_var_2"
- name: ACG_CONFIG
value: /cdapp/cdappconfig.json
command: /usr/bin/caddy
- name: ENV_VAR_1
value: "env_var_1"
- name: ENV_VAR_2
value: "env_var_2"
- name: ACG_CONFIG
value: /cdapp/cdappconfig.json
command:
- /usr/bin/caddy
args:
- run
- --config
- /etc/caddy/caddy.json
- run
- --config
- /etc/caddy/caddy.json
image: quay.io/cloudservices/caddy-ubi:latest
imagePullPolicy: IfNotPresent
name: caddy-tls
ports:
- containerPort: 8800
name: tls
protocol: TCP
- containerPort: 18800
name: tls-private
protocol: TCP
- containerPort: 8800
name: tls
protocol: TCP
- containerPort: 18800
name: tls-private
protocol: TCP
volumeMounts:
- mountPath: /certs
name: caddy-tls
readOnly: true
- mountPath: /etc/caddy
name: caddy-config
readOnly: true
- mountPath: /certs
name: caddy-tls
readOnly: true
- mountPath: /etc/caddy
name: caddy-config
readOnly: true
volumes:
- name: config-secret
secret:
Expand Down

0 comments on commit 3161c67

Please sign in to comment.