Create deployment.yaml
This commit is contained in:
committed by
GitHub
parent
2d65c854d5
commit
bbb6fcf818
31
sealed-secret/deployment.yaml
Normal file
31
sealed-secret/deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: secret-app
|
||||
name: secret-app
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: secret-app
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: secret-app
|
||||
spec:
|
||||
containers:
|
||||
- image: siddharth67/sealed-secrets:v1
|
||||
name: secret-app
|
||||
# uncomment block to mount secret
|
||||
# volumeMounts:
|
||||
# - name: app-secret-vol
|
||||
# mountPath: "/app/crds"
|
||||
# readOnly: true
|
||||
# volumes:
|
||||
# - name: app-secret-vol
|
||||
# secret:
|
||||
# secretName: app-crds
|
||||
Reference in New Issue
Block a user