github.com/argoproj/argo-cd/v3@v3.2.1/manifests/base/applicationset-controller/argocd-applicationset-controller-deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    labels:
     5      app.kubernetes.io/name: argocd-applicationset-controller
     6      app.kubernetes.io/part-of: argocd
     7      app.kubernetes.io/component: applicationset-controller
     8    name: argocd-applicationset-controller
     9  spec:
    10    selector:
    11      matchLabels:
    12        app.kubernetes.io/name: argocd-applicationset-controller
    13    template:
    14      metadata:
    15        labels:
    16          app.kubernetes.io/name: argocd-applicationset-controller
    17      spec:
    18        containers:
    19          - args:
    20              - /usr/local/bin/argocd-applicationset-controller
    21            image: quay.io/argoproj/argocd:latest
    22            imagePullPolicy: Always
    23            name: argocd-applicationset-controller
    24            ports:
    25              - containerPort: 7000
    26                name: webhook
    27              - containerPort: 8080
    28                name: metrics
    29            env:
    30              - name: ARGOCD_APPLICATIONSET_CONTROLLER_GLOBAL_PRESERVED_ANNOTATIONS
    31                valueFrom:
    32                  configMapKeyRef:
    33                    key: applicationsetcontroller.global.preserved.annotations
    34                    name: argocd-cmd-params-cm
    35                    optional: true
    36              - name: ARGOCD_APPLICATIONSET_CONTROLLER_GLOBAL_PRESERVED_LABELS
    37                valueFrom:
    38                  configMapKeyRef:
    39                    key: applicationsetcontroller.global.preserved.labels
    40                    name: argocd-cmd-params-cm
    41                    optional: true
    42              - name: NAMESPACE
    43                valueFrom:
    44                  fieldRef:
    45                    fieldPath: metadata.namespace
    46              - name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_LEADER_ELECTION
    47                valueFrom:
    48                  configMapKeyRef:
    49                    key: applicationsetcontroller.enable.leader.election
    50                    name: argocd-cmd-params-cm
    51                    optional: true
    52              - name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER
    53                valueFrom:
    54                  configMapKeyRef:
    55                    key: repo.server
    56                    name: argocd-cmd-params-cm
    57                    optional: true
    58              - name: ARGOCD_APPLICATIONSET_CONTROLLER_POLICY
    59                valueFrom:
    60                  configMapKeyRef:
    61                    key: applicationsetcontroller.policy
    62                    name: argocd-cmd-params-cm
    63                    optional: true
    64              - name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_POLICY_OVERRIDE
    65                valueFrom:
    66                  configMapKeyRef:
    67                    key: applicationsetcontroller.enable.policy.override
    68                    name: argocd-cmd-params-cm
    69                    optional: true
    70              - name: ARGOCD_APPLICATIONSET_CONTROLLER_DEBUG
    71                valueFrom:
    72                  configMapKeyRef:
    73                    key: applicationsetcontroller.debug
    74                    name: argocd-cmd-params-cm
    75                    optional: true
    76              - name: ARGOCD_APPLICATIONSET_CONTROLLER_LOGFORMAT
    77                valueFrom:
    78                  configMapKeyRef:
    79                    key: applicationsetcontroller.log.format
    80                    name: argocd-cmd-params-cm
    81                    optional: true
    82              - name: ARGOCD_APPLICATIONSET_CONTROLLER_LOGLEVEL
    83                valueFrom:
    84                  configMapKeyRef:
    85                    key: applicationsetcontroller.log.level
    86                    name: argocd-cmd-params-cm
    87                    optional: true
    88              - name: ARGOCD_LOG_FORMAT_TIMESTAMP
    89                valueFrom:
    90                  configMapKeyRef:
    91                    name: argocd-cmd-params-cm
    92                    key: log.format.timestamp
    93                    optional: true
    94              - name: ARGOCD_APPLICATIONSET_CONTROLLER_DRY_RUN
    95                valueFrom:
    96                  configMapKeyRef:
    97                    key: applicationsetcontroller.dryrun
    98                    name: argocd-cmd-params-cm
    99                    optional: true
   100              - name: ARGOCD_GIT_MODULES_ENABLED
   101                valueFrom:
   102                  configMapKeyRef:
   103                    key: applicationsetcontroller.enable.git.submodule
   104                    name: argocd-cmd-params-cm
   105                    optional: true
   106              - name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_PROGRESSIVE_SYNCS
   107                valueFrom:
   108                  configMapKeyRef:
   109                    key: applicationsetcontroller.enable.progressive.syncs
   110                    name: argocd-cmd-params-cm
   111                    optional: true
   112              - name: ARGOCD_APPLICATIONSET_CONTROLLER_TOKENREF_STRICT_MODE
   113                valueFrom:
   114                  configMapKeyRef:
   115                    key: applicationsetcontroller.enable.tokenref.strict.mode
   116                    name: argocd-cmd-params-cm
   117                    optional: true
   118              - name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_NEW_GIT_FILE_GLOBBING
   119                valueFrom:
   120                  configMapKeyRef:
   121                    key: applicationsetcontroller.enable.new.git.file.globbing
   122                    name: argocd-cmd-params-cm
   123                    optional: true
   124              - name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER_PLAINTEXT
   125                valueFrom:
   126                  configMapKeyRef:
   127                    name: argocd-cmd-params-cm
   128                    key: applicationsetcontroller.repo.server.plaintext
   129                    optional: true
   130              - name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER_STRICT_TLS
   131                valueFrom:
   132                  configMapKeyRef:
   133                    name: argocd-cmd-params-cm
   134                    key: applicationsetcontroller.repo.server.strict.tls
   135                    optional: true
   136              - name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER_TIMEOUT_SECONDS
   137                valueFrom:
   138                  configMapKeyRef:
   139                    name: argocd-cmd-params-cm
   140                    key: applicationsetcontroller.repo.server.timeout.seconds
   141                    optional: true
   142              - name: ARGOCD_APPLICATIONSET_CONTROLLER_CONCURRENT_RECONCILIATIONS
   143                valueFrom:
   144                  configMapKeyRef:
   145                    name: argocd-cmd-params-cm
   146                    key: applicationsetcontroller.concurrent.reconciliations.max
   147                    optional: true
   148              - name: ARGOCD_APPLICATIONSET_CONTROLLER_NAMESPACES
   149                valueFrom:
   150                  configMapKeyRef:
   151                    key: applicationsetcontroller.namespaces
   152                    name: argocd-cmd-params-cm
   153                    optional: true
   154              - name: ARGOCD_APPLICATIONSET_CONTROLLER_SCM_ROOT_CA_PATH
   155                valueFrom:
   156                  configMapKeyRef:
   157                    key: applicationsetcontroller.scm.root.ca.path
   158                    name: argocd-cmd-params-cm
   159                    optional: true
   160              - name: ARGOCD_APPLICATIONSET_CONTROLLER_ALLOWED_SCM_PROVIDERS
   161                valueFrom:
   162                  configMapKeyRef:
   163                    name: argocd-cmd-params-cm
   164                    key: applicationsetcontroller.allowed.scm.providers
   165                    optional: true
   166              - name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_SCM_PROVIDERS
   167                valueFrom:
   168                  configMapKeyRef:
   169                    name: argocd-cmd-params-cm
   170                    key: applicationsetcontroller.enable.scm.providers
   171                    optional: true
   172              - name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_GITHUB_API_METRICS
   173                valueFrom:
   174                  configMapKeyRef:
   175                    name: argocd-cmd-params-cm
   176                    key: applicationsetcontroller.enable.github.api.metrics
   177                    optional: true
   178              - name: ARGOCD_APPLICATIONSET_CONTROLLER_WEBHOOK_PARALLELISM_LIMIT
   179                valueFrom:
   180                  configMapKeyRef:
   181                    name: argocd-cmd-params-cm
   182                    key: applicationsetcontroller.webhook.parallelism.limit
   183                    optional: true
   184              - name: ARGOCD_APPLICATIONSET_CONTROLLER_REQUEUE_AFTER
   185                valueFrom:
   186                  configMapKeyRef:
   187                    name: argocd-cmd-params-cm
   188                    key: applicationsetcontroller.requeue.after
   189                    optional: true
   190              - name: ARGOCD_APPLICATIONSET_CONTROLLER_MAX_RESOURCES_STATUS_COUNT
   191                valueFrom:
   192                  configMapKeyRef:
   193                    name: argocd-cmd-params-cm
   194                    key: applicationsetcontroller.status.max.resources.count
   195                    optional: true
   196            volumeMounts:
   197              - mountPath: /app/config/ssh
   198                name: ssh-known-hosts
   199              - mountPath: /app/config/tls
   200                name: tls-certs
   201              - mountPath: /app/config/gpg/source
   202                name: gpg-keys
   203              - mountPath: /app/config/gpg/keys
   204                name: gpg-keyring
   205              - mountPath: /tmp
   206                name: tmp
   207              - name: argocd-repo-server-tls
   208                mountPath: /app/config/reposerver/tls
   209              - name: argocd-cmd-params-cm
   210                mountPath: /home/argocd/params
   211            securityContext:
   212              capabilities:
   213                drop:
   214                  - ALL
   215              allowPrivilegeEscalation: false
   216              readOnlyRootFilesystem: true
   217              runAsNonRoot: true
   218              seccompProfile:
   219                type: RuntimeDefault
   220        serviceAccountName: argocd-applicationset-controller
   221        volumes:
   222          - configMap:
   223              name: argocd-ssh-known-hosts-cm
   224            name: ssh-known-hosts
   225          - configMap:
   226              name: argocd-tls-certs-cm
   227            name: tls-certs
   228          - configMap:
   229              name: argocd-gpg-keys-cm
   230            name: gpg-keys
   231          - emptyDir: { }
   232            name: gpg-keyring
   233          - emptyDir: { }
   234            name: tmp
   235          - name: argocd-repo-server-tls
   236            secret:
   237              secretName: argocd-repo-server-tls
   238              optional: true
   239              items:
   240                - key: tls.crt
   241                  path: tls.crt
   242                - key: tls.key
   243                  path: tls.key
   244                - key: ca.crt
   245                  path: ca.crt
   246          - name: argocd-cmd-params-cm
   247            configMap:
   248              optional: true
   249              name: argocd-cmd-params-cm
   250              items:
   251                - key: applicationsetcontroller.profile.enabled
   252                  path: profiler.enabled
   253        nodeSelector:
   254          kubernetes.io/os: linux