summaryrefslogtreecommitdiff
path: root/roles/kubernetes/addons/metrics-server/templates/kustomization.yml.j2
blob: 536dac9bad2b5dbbee05b23bbf9162ab99cdd644 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
  - upstream.yml

patches:
  - target:
      kind: Deployment
      namespace: kube-system
      name: metrics-server
    patch: |-
      - op: add
        path: /spec/template/spec/containers/0/args/-
        value: '--kubelet-insecure-tls'