add env specific overrides and patches
This commit is contained in:
parent
31cfdca386
commit
e631da436a
33
clusters/yc-k8s-test/infrastructure/kustomization.yaml
Normal file
33
clusters/yc-k8s-test/infrastructure/kustomization.yaml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../infrastructure
|
||||||
|
patches:
|
||||||
|
- path: ./patches/cert-manager.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: cert-manager
|
||||||
|
namespace: cert-manager
|
||||||
|
- path: ./patches/istio-base.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: istio-base
|
||||||
|
namespace: istio-system
|
||||||
|
- path: ./patches/istio-pilot.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: istiod
|
||||||
|
namespace: istio-system
|
||||||
|
- path: ./patches/istio-gateway.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: ingressgateway
|
||||||
|
namespace: istio-system
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: cert-manager
|
||||||
|
namespace: cert-manager
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
values:
|
||||||
|
global:
|
||||||
|
imagePullSecrets:
|
||||||
|
- regcred
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: istio-base
|
||||||
|
namespace: istio-system
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: ingressgateway
|
||||||
|
namespace: istio-system
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
dependsOn:
|
||||||
|
- name: istio-base
|
||||||
|
namespace: istio-system
|
||||||
|
- name: istiod
|
||||||
|
namespace: istio-system
|
||||||
11
clusters/yc-k8s-test/infrastructure/patches/istio-pilot.yaml
Normal file
11
clusters/yc-k8s-test/infrastructure/patches/istio-pilot.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: istiod
|
||||||
|
namespace: istio-system
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
dependsOn:
|
||||||
|
- name: istio-base
|
||||||
|
namespace: istio-system
|
||||||
@ -3,4 +3,4 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- ./flux-system
|
- ./flux-system
|
||||||
- ./helm-repositories.yaml
|
- ./helm-repositories.yaml
|
||||||
- ../../infrastructure
|
- ./infrastructure
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user