Skip to content

Commit

Permalink
e2e: test ConfigMap mount
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Nov 21, 2024
1 parent 187ea01 commit c303ad8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions e2e/regression/testdata/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,21 @@ spec:
image: ghcr.io/edgelesssys/nginx-unprivileged@sha256:1d5be2aa3c296bd589ddd3c9bf2f560919e31ac32bae799a15dd182b6fdb042b
ports:
- containerPort: 8080
volumeMounts:
- name: html
mountPath: /usr/share/nginx/html
readOnly: true
volumes:
- name: html
configMap:
name: nginx-html
runtimeClassName: contrast-cc
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-html
namespace: "@@REPLACE_NAMESPACE@@"
data:
index.html: |
<h1>Hello World</h1>

0 comments on commit c303ad8

Please sign in to comment.