github.com/argoproj-labs/argocd-operator@v0.10.0/config/manifests/kustomization.yaml (about)

     1  # These resources constitute the fully configured set of manifests
     2  # used to generate the 'manifests/' directory in a bundle.
     3  resources:
     4  - bases/argocd-operator.clusterserviceversion.yaml
     5  - ../default
     6  - ../samples
     7  - ../scorecard
     8  
     9  # [WEBHOOK] To enable webhooks, uncomment all the sections with [WEBHOOK] prefix.
    10  # Do NOT uncomment sections with prefix [CERTMANAGER], as OLM does not support cert-manager.
    11  # These patches remove the unnecessary "cert" volume and its manager container volumeMount.
    12  patchesJson6902:
    13  - target:
    14      group: apps
    15      version: v1
    16      kind: Deployment
    17      name: controller-manager
    18      namespace: system
    19    patch: |-
    20      # Add ENABLE_CONVERSION_WEBHOOK env to enable conversion webhook
    21      - op: add
    22        path: /spec/template/spec/containers/0/env/-
    23        value:
    24          name: "ENABLE_CONVERSION_WEBHOOK"
    25          value: "true"
    26      # Remove the manager container's "cert" volumeMount, since OLM will create and mount a set of certs.
    27      # Update the indices in this path if adding or removing containers/volumeMounts in the manager's Deployment.
    28      - op: remove
    29        path: /spec/template/spec/containers/0/volumeMounts/0
    30      # Remove the "cert" volume, since OLM will create and mount a set of certs.
    31      # Update the indices in this path if adding or removing volumes in the manager's Deployment.
    32      - op: remove
    33        path: /spec/template/spec/volumes/0
    34  
    35  patches:
    36    - target:
    37        group: operators.coreos.com
    38        version: v1alpha1
    39        kind: ClusterServiceVersion
    40        name: argocd-operator\.v.*
    41      path: patches/icon.yaml
    42    - target:
    43        group: operators.coreos.com
    44        version: v1alpha1
    45        kind: ClusterServiceVersion
    46        name: argocd-operator\.v.*
    47      path: patches/description.yaml