apiVersion: apps/v1 kind: Deployment metadata: annotations: a8r.io/repository: "" labels: app.kubernetes.io/component: notifications-controller app.kubernetes.io/instance: argo-cd app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: argocd-notifications-controller app.kubernetes.io/part-of: argocd app.kubernetes.io/version: v2.14.10 helm.sh/chart: argo-cd-7.8.26 name: argo-cd-argocd-notifications-controller namespace: argocd spec: replicas: 1 revisionHistoryLimit: 3 selector: matchLabels: app.kubernetes.io/instance: argo-cd app.kubernetes.io/name: argocd-notifications-controller strategy: type: Recreate template: metadata: labels: app.kubernetes.io/component: notifications-controller app.kubernetes.io/instance: argo-cd app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: argocd-notifications-controller app.kubernetes.io/part-of: argocd app.kubernetes.io/version: v2.14.10 helm.sh/chart: argo-cd-7.8.26 spec: affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - podAffinityTerm: labelSelector: matchLabels: app.kubernetes.io/name: argocd-notifications-controller topologyKey: kubernetes.io/hostname weight: 100 automountServiceAccountToken: true containers: - args: - /usr/local/bin/argocd-notifications - --metrics-port=9001 - --namespace=argocd - --argocd-repo-server=argo-cd-argocd-repo-server:8081 - --secret-name=argocd-notifications-secret env: - name: ARGOCD_NOTIFICATIONS_CONTROLLER_LOGLEVEL valueFrom: configMapKeyRef: key: notificationscontroller.log.level name: argocd-cmd-params-cm optional: true - name: ARGOCD_NOTIFICATIONS_CONTROLLER_LOGFORMAT valueFrom: configMapKeyRef: key: notificationscontroller.log.format name: argocd-cmd-params-cm optional: true - name: ARGOCD_APPLICATION_NAMESPACES valueFrom: configMapKeyRef: key: application.namespaces name: argocd-cmd-params-cm optional: true - name: ARGOCD_NOTIFICATION_CONTROLLER_SELF_SERVICE_NOTIFICATION_ENABLED valueFrom: configMapKeyRef: key: notificationscontroller.selfservice.enabled name: argocd-cmd-params-cm optional: true - name: ARGOCD_NOTIFICATION_CONTROLLER_REPO_SERVER_PLAINTEXT valueFrom: configMapKeyRef: key: notificationscontroller.repo.server.plaintext name: argocd-cmd-params-cm optional: true image: quay.io/argoproj/argocd:v2.14.10 imagePullPolicy: IfNotPresent name: notifications-controller ports: - containerPort: 9001 name: metrics protocol: TCP resources: {} securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL readOnlyRootFilesystem: true runAsNonRoot: true seccompProfile: type: RuntimeDefault volumeMounts: - mountPath: /app/config/tls name: tls-certs - mountPath: /app/config/reposerver/tls name: argocd-repo-server-tls workingDir: /app dnsPolicy: ClusterFirst nodeSelector: kubernetes.io/os: linux serviceAccountName: argocd-notifications-controller terminationGracePeriodSeconds: 30 volumes: - configMap: name: argocd-tls-certs-cm name: tls-certs - name: argocd-repo-server-tls secret: items: - key: tls.crt path: tls.crt - key: tls.key path: tls.key - key: ca.crt path: ca.crt optional: true secretName: argocd-repo-server-tls