...
1namespace: emissary-system
2apiVersion: kustomize.config.k8s.io/v1beta1
3kind: Kustomization
4replicas:
5- name: emissary-apiext
6 count: 1
7resources:
8- ../../../../../third_party/k8s/emissary/crds
9- rbac.yaml
10commonLabels:
11 platform.edge.ncr.com/component: emissary-apiext
12patches:
13# override with edge registry image of emissary-apiext
14- path: image-patch.yaml
15 target:
16 name: emissary-apiext
17 kind: Deployment
18- patch: |-
19 - op: add
20 path: /metadata/labels
21 value:
22 workload.edge.ncr.com: platform
23 target:
24 name: emissary-system
25 kind: Namespace
26 version: v1
27- patch: |-
28 - op: add
29 path: /rules/1/resources/-
30 value:
31 "customresourcedefinitions/status"
32 target:
33 name: emissary-apiext
34 kind: ClusterRole
35 version: v1
View as plain text