81 lines
1.7 KiB
YAML
81 lines
1.7 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
annotations: {}
|
||
|
labels:
|
||
|
name: sealed-secrets-controller
|
||
|
name: sealed-secrets-controller
|
||
|
namespace: kube-system
|
||
|
spec:
|
||
|
minReadySeconds: 30
|
||
|
replicas: 1
|
||
|
revisionHistoryLimit: 10
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
name: sealed-secrets-controller
|
||
|
strategy:
|
||
|
rollingUpdate:
|
||
|
maxSurge: 25%
|
||
|
maxUnavailable: 25%
|
||
|
type: RollingUpdate
|
||
|
template:
|
||
|
metadata:
|
||
|
annotations: {}
|
||
|
labels:
|
||
|
name: sealed-secrets-controller
|
||
|
spec:
|
||
|
containers:
|
||
|
- args: []
|
||
|
command:
|
||
|
- controller
|
||
|
env: []
|
||
|
image: docker.io/bitnami/sealed-secrets-controller:v0.17.5
|
||
|
imagePullPolicy: Always
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
path: /healthz
|
||
|
port: http
|
||
|
name: sealed-secrets-controller
|
||
|
ports:
|
||
|
- containerPort: 8080
|
||
|
name: http
|
||
|
readinessProbe:
|
||
|
httpGet:
|
||
|
path: /healthz
|
||
|
port: http
|
||
|
securityContext:
|
||
|
readOnlyRootFilesystem: true
|
||
|
runAsNonRoot: true
|
||
|
runAsUser: 1001
|
||
|
stdin: false
|
||
|
tty: false
|
||
|
volumeMounts:
|
||
|
- mountPath: /tmp
|
||
|
name: tmp
|
||
|
imagePullSecrets: []
|
||
|
initContainers: []
|
||
|
securityContext:
|
||
|
fsGroup: 65534
|
||
|
serviceAccountName: sealed-secrets-controller
|
||
|
terminationGracePeriodSeconds: 30
|
||
|
volumes:
|
||
|
- emptyDir: {}
|
||
|
name: tmp
|
||
|
|
||
|
---
|
||
|
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
annotations: {}
|
||
|
labels:
|
||
|
name: sealed-secrets-controller
|
||
|
name: sealed-secrets-controller
|
||
|
namespace: kube-system
|
||
|
spec:
|
||
|
ports:
|
||
|
- port: 8080
|
||
|
targetPort: 8080
|
||
|
selector:
|
||
|
name: sealed-secrets-controller
|
||
|
type: ClusterIP
|