apiVersion: apps/v1 kind: Deployment metadata: name: cert-manager-webhook-ovh namespace: {{ .Values.namespace }} labels: app: cert-manager-webhook-ovh app.kubernetes.io/name: cert-manager-webhook-ovh app.kubernetes.io/component: webhook spec: replicas: {{ .Values.replicaCount }} selector: matchLabels: app: cert-manager-webhook-ovh template: metadata: labels: app: cert-manager-webhook-ovh app.kubernetes.io/name: cert-manager-webhook-ovh app.kubernetes.io/component: webhook spec: serviceAccountName: cert-manager-webhook-ovh containers: - name: webhook image: {{ .Values.image.repository }}:{{ .Values.image.tag }} imagePullPolicy: {{ .Values.image.pullPolicy }} args: - --v=2 - --group-name={{ .Values.groupName }} - --secure-port=10250 ports: - name: https containerPort: 10250 protocol: TCP livenessProbe: httpGet: path: /healthz port: 6080 scheme: HTTP initialDelaySeconds: 60 periodSeconds: 10 timeoutSeconds: 1 successThreshold: 1 failureThreshold: 3 readinessProbe: httpGet: path: /healthz port: 6080 scheme: HTTP initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 1 successThreshold: 1 failureThreshold: 3 resources: {{- toYaml .Values.resources | nindent 10 }} nodeSelector: {{- toYaml .Values.nodeSelector | nindent 8 }} tolerations: {{- toYaml .Values.tolerations | nindent 8 }} affinity: {{- toYaml .Values.affinity | nindent 8 }}