apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: helm-wrapper
  name: helm-wrapper
  namespace: kube-system
spec:
  replicas: 1
  selector:
    matchLabels:
      app: helm-wrapper
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: helm-wrapper
    spec:
      serviceAccountName: helm-wrapper
      containers:
      - image: <image>
        imagePullPolicy: IfNotPresent
        name: helm-wrapper
        readinessProbe:
          failureThreshold: 3
          initialDelaySeconds: 10
          periodSeconds: 5
          successThreshold: 1
          tcpSocket:
            port: 8080
          timeoutSeconds: 1
      dnsPolicy: ClusterFirst
      restartPolicy: Always
