github.com/argoproj/argo-cd@v1.8.7/manifests/ha/base/redis-ha/kustomization.yaml (about)

     1  apiVersion: kustomize.config.k8s.io/v1beta1
     2  kind: Kustomization
     3  
     4  resources:
     5  - chart/upstream.yaml
     6  - overlays/redis-haproxy.yaml
     7  
     8  patchesJson6902:
     9  - target:
    10      version: v1
    11      group: ""
    12      kind: ConfigMap
    13      name: argocd-redis-ha-configmap
    14      namespace: argocd
    15    path: overlays/remove-namespace.yaml
    16  - target:
    17      version: v1
    18      group: ""
    19      kind: ServiceAccount
    20      name: argocd-redis-ha
    21      namespace: argocd
    22    path: overlays/remove-namespace.yaml
    23  - target:
    24      version: v1
    25      group: ""
    26      kind: ServiceAccount
    27      name: argocd-redis-ha-haproxy
    28      namespace: argocd
    29    path: overlays/remove-namespace.yaml
    30  - target:
    31      group: rbac.authorization.k8s.io
    32      version: v1
    33      kind: Role
    34      name: argocd-redis-ha
    35      namespace: argocd
    36    path: overlays/remove-namespace.yaml
    37  - target:
    38      group: rbac.authorization.k8s.io
    39      version: v1
    40      kind: Role
    41      name: argocd-redis-ha
    42      namespace: argocd
    43    path: overlays/add-openshift-nonroot-scc.yaml
    44  - target:
    45      group: rbac.authorization.k8s.io
    46      version: v1
    47      kind: Role
    48      name: argocd-redis-haproxy
    49      namespace: argocd
    50    path: overlays/add-openshift-nonroot-scc.yaml      
    51  - target:
    52      group: rbac.authorization.k8s.io
    53      version: v1
    54      kind: RoleBinding
    55      name: argocd-redis-ha
    56      namespace: argocd
    57    path: overlays/remove-namespace.yaml
    58  - target:
    59      version: v1
    60      group: ""
    61      kind: Service
    62      name: argocd-redis-ha-announce-0
    63      namespace: argocd
    64    path: overlays/remove-namespace.yaml
    65  - target:
    66      version: v1
    67      group: ""
    68      kind: Service
    69      name: argocd-redis-ha-announce-1
    70      namespace: argocd
    71    path: overlays/remove-namespace.yaml
    72  - target:
    73      version: v1
    74      group: ""
    75      kind: Service
    76      name: argocd-redis-ha-announce-2
    77      namespace: argocd
    78    path: overlays/remove-namespace.yaml
    79  - target:
    80      version: v1
    81      group: ""
    82      kind: Service
    83      name: argocd-redis-ha
    84      namespace: argocd
    85    path: overlays/remove-namespace.yaml
    86  - target:
    87      version: v1
    88      group: ""
    89      kind: Service
    90      name: argocd-redis-ha-haproxy
    91      namespace: argocd
    92    path: overlays/remove-namespace.yaml
    93  - target:
    94      group: apps
    95      version: v1
    96      kind: Deployment
    97      name: argocd-redis-ha-haproxy
    98      namespace: argocd
    99    path: overlays/remove-namespace.yaml
   100  - target:
   101      group: apps
   102      version: v1
   103      kind: StatefulSet
   104      name: argocd-redis-ha-server
   105      namespace: argocd
   106    path: overlays/remove-namespace.yaml
   107  
   108  # Replace helm's app/release/chart/heritage labels with argocd common labels
   109  - target:
   110      version: v1
   111      group: ""
   112      kind: ConfigMap
   113      name: argocd-redis-ha-configmap
   114    path: overlays/modify-labels.yaml
   115  - target:
   116      version: v1
   117      group: ""
   118      kind: Service
   119      name: argocd-redis-ha-announce-0
   120    path: overlays/modify-labels.yaml
   121  - target:
   122      version: v1
   123      group: ""
   124      kind: Service
   125      name: argocd-redis-ha-announce-1
   126    path: overlays/modify-labels.yaml
   127  - target:
   128      version: v1
   129      group: ""
   130      kind: Service
   131      name: argocd-redis-ha-announce-2
   132    path: overlays/modify-labels.yaml
   133  - target:
   134      version: v1
   135      group: ""
   136      kind: Service
   137      name: argocd-redis-ha
   138    path: overlays/modify-labels.yaml
   139  - target:
   140      group: apps
   141      version: v1
   142      kind: StatefulSet
   143      name: argocd-redis-ha-server
   144    path: overlays/modify-labels.yaml
   145  - target:
   146      version: v1
   147      group: ""
   148      kind: ServiceAccount
   149      name: argocd-redis-ha
   150    path: overlays/modify-labels.yaml
   151  - target:
   152      group: rbac.authorization.k8s.io
   153      version: v1
   154      kind: Role
   155      name: argocd-redis-ha
   156    path: overlays/modify-labels.yaml
   157  - target:
   158      group: rbac.authorization.k8s.io
   159      version: v1
   160      kind: RoleBinding
   161      name: argocd-redis-ha
   162    path: overlays/modify-labels.yaml
   163  - target:
   164      version: v1
   165      group: ""
   166      kind: ServiceAccount
   167      name: argocd-redis-ha-haproxy
   168    path: overlays/haproxy-modify-labels.yaml
   169  - target:
   170      version: v1
   171      group: ""
   172      kind: Service
   173      name: argocd-redis-ha-haproxy
   174    path: overlays/haproxy-modify-labels.yaml
   175  - target:
   176      group: apps
   177      version: v1
   178      kind: Deployment
   179      name: argocd-redis-ha-haproxy
   180    path: overlays/haproxy-modify-labels.yaml
   181  
   182  # add pod template labels
   183  - target:
   184      group: apps
   185      version: v1
   186      kind: StatefulSet
   187      name: argocd-redis-ha-server
   188    path: overlays/statefulset-labels.yaml
   189  - target:
   190      group: apps
   191      version: v1
   192      kind: Deployment
   193      name: argocd-redis-ha-haproxy
   194    path: overlays/deployment-labels.yaml
   195  
   196  # update service selectors to match
   197  - target:
   198      version: v1
   199      kind: Service
   200      group: ""
   201      name: argocd-redis-ha-announce-0
   202    path: overlays/service-selector.yaml
   203  - target:
   204      version: v1
   205      group: ""
   206      kind: Service
   207      name: argocd-redis-ha-announce-1
   208    path: overlays/service-selector.yaml
   209  - target:
   210      version: v1
   211      group: ""
   212      kind: Service
   213      name: argocd-redis-ha-announce-2
   214    path: overlays/service-selector.yaml
   215  - target:
   216      version: v1
   217      group: ""
   218      kind: Service
   219      name: argocd-redis-ha
   220    path: overlays/service-selector.yaml
   221  - target:
   222      version: v1
   223      group: ""
   224      kind: Service
   225      name: argocd-redis-ha-haproxy
   226    path: overlays/haproxy-service-selector.yaml
   227