...

Text file src/edge-infra.dev/third_party/k8s/fluxcd/kustomize-helm-controllers/kustomization.yaml

Documentation: edge-infra.dev/third_party/k8s/fluxcd/kustomize-helm-controllers

     1apiVersion: kustomize.config.k8s.io/v1beta1
     2kind: Kustomization
     3resources:
     4- ../manifests/kustomize-controller.yaml
     5- ../manifests/helm-controller.yaml
     6components:
     7- ../base
     8patchesJson6902:
     9# - remove the 5th argument "--enable-leader-election" since it may result in controller crash loops in sds clusters.
    10# - remove the 1st argument "--events-addr" since the notification controller is not being used.
    11# - lower helm-controller's CPU request from '100m' to '50m'
    12- patch: |-
    13    - op: remove
    14      path: /spec/template/spec/containers/0/args/4
    15  target:
    16    name: helm-controller
    17    namespace: flux-system
    18    kind: Deployment
    19- patch: |-
    20    - op: remove
    21      path: /spec/template/spec/containers/0/args/0
    22  target:
    23    name: helm-controller
    24    namespace: flux-system
    25    kind: Deployment
    26- patch: |-
    27    - op: replace
    28      path: /spec/template/spec/containers/0/resources/requests/cpu
    29      value: 50m
    30  target:
    31    name: helm-controller
    32    namespace: flux-system
    33    kind: Deployment    

View as plain text