github.com/argoproj-labs/argocd-operator@v0.10.0/config/manager/manager.yaml (about) 1 apiVersion: v1 2 kind: Namespace 3 metadata: 4 labels: 5 control-plane: argocd-operator 6 name: system 7 --- 8 apiVersion: apps/v1 9 kind: Deployment 10 metadata: 11 name: controller-manager 12 namespace: system 13 labels: 14 control-plane: argocd-operator 15 spec: 16 selector: 17 matchLabels: 18 control-plane: argocd-operator 19 replicas: 1 20 template: 21 metadata: 22 labels: 23 control-plane: argocd-operator 24 spec: 25 securityContext: 26 runAsNonRoot: true 27 containers: 28 - command: 29 - /manager 30 args: 31 - --leader-elect 32 image: controller:latest 33 name: manager 34 securityContext: 35 capabilities: 36 drop: 37 - ALL 38 allowPrivilegeEscalation: false 39 readOnlyRootFilesystem: true 40 runAsNonRoot: true 41 livenessProbe: 42 httpGet: 43 path: /healthz 44 port: 8081 45 initialDelaySeconds: 15 46 periodSeconds: 20 47 readinessProbe: 48 httpGet: 49 path: /readyz 50 port: 8081 51 initialDelaySeconds: 5 52 periodSeconds: 10 53 env: 54 - name: WATCH_NAMESPACE 55 valueFrom: 56 fieldRef: 57 fieldPath: metadata.annotations['olm.targetNamespaces'] 58 serviceAccountName: controller-manager 59 terminationGracePeriodSeconds: 10