adamant-kite-43734
10/03/2023, 9:53 AMglamorous-lighter-5580
10/03/2023, 9:55 AMtargetCustomizations:
- name: bigip
clusterSelector:
matchLabels:
platform: one
kustomize:
dir: overlay/bigip
- name: harbor
clusterSelector:
matchLabels:
platform: one
kustomize:
dir: overlay/harbor
- name: logging
clusterSelector:
matchLabels:
platform: one
kustomize:
dir: overlay/logging
glamorous-lighter-5580
10/03/2023, 9:55 AMglamorous-lighter-5580
10/03/2023, 9:57 AMresources:
- ../../base
patches:
- target:
kind: Flow
name: flow
patch: |-
- op: replace
path: /metadata/name
value: bigip-flow
- op: replace
path: /metadata/namespace
value: bigip
- op: replace
path: /spec/localOutputRefs/0
value: "bigip-output"
- target:
kind: Output
name: output
patch: |-
- op: replace
path: /metadata/name
value: bigip-output
- op: replace
path: /metadata/namespace
value: bigip
- op: replace
path: /spec/cloudwatch/log_group_name
value: bigip
- op: replace
path: /spec/cloudwatch/log_stream_name
value: bigip
- target:
kind: Secret
name: aws-access
patch: |-
- op: replace
path: /metadata/namespace
value: bigip
And here's the kustomiztion.yaml under overlay/harbor
resources:
- ../../base
patches:
- target:
kind: Flow
name: flow
patch: |-
- op: replace
path: /metadata/name
value: harbor-flow
- op: replace
path: /metadata/namespace
value: harbor
- op: replace
path: /spec/localOutputRefs/0
value: "harbor-output"
- target:
kind: Output
name: output
patch: |-
- op: replace
path: /metadata/name
value: harbor-output
- op: replace
path: /metadata/namespace
value: harbor
- op: replace
path: /spec/cloudwatch/log_group_name
value: harbor
- op: replace
path: /spec/cloudwatch/log_stream_name
value: harbor
- target:
kind: Secret
name: aws-access
patch: |-
- op: replace
path: /metadata/namespace
value: harbor
glamorous-lighter-5580
10/03/2023, 9:59 AMincalculable-glass-23010
10/12/2023, 8:08 PMglamorous-lighter-5580
10/13/2023, 5:31 AMincalculable-glass-23010
10/13/2023, 1:59 PM