Split Strimzi operator deployment into its own Flux Kustomization so CRDs are applied before the Kafka CR in customer1. Chain: infrastructure-controllers -> customer1-strimzi -> customer1 customer1 now has force: true to skip dry-run validation when CRDs are recently applied but not yet visible to the APIServer cache.
21 lines
416 B
YAML
21 lines
416 B
YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: customer1
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 1m0s
|
|
retryInterval: 1m
|
|
timeout: 5m
|
|
dependsOn:
|
|
- name: customer1-strimzi
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
path: ../../apps/staging/customer1
|
|
prune: true
|
|
force: true
|
|
decryption:
|
|
provider: sops
|
|
secretRef:
|
|
name: sops-age
|