wip: oci
This commit is contained in:
21
example/redis-cache/k8s/test-pod.yaml
Normal file
21
example/redis-cache/k8s/test-pod.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: redis-cache-test
|
||||
namespace: redis-demo
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: test-runner
|
||||
image: redis:7-alpine
|
||||
command: ["sh"]
|
||||
args: ["/scripts/test.sh"]
|
||||
volumeMounts:
|
||||
- name: test-scripts
|
||||
mountPath: /scripts
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: test-scripts
|
||||
configMap:
|
||||
name: test-script
|
||||
defaultMode: 0755
|
||||
Reference in New Issue
Block a user