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 Dec 12, 2024
1 parent 3869fd9 commit 9956e44
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions e2e/regression/testdata/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,30 @@ 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>
1.html: ""
2.html: ""
3.html: ""
4.html: ""
5.html: ""
6.html: ""
7.html: ""
8.html: ""
9.html: ""

0 comments on commit 9956e44

Please sign in to comment.