Merge branch 'stand-apps-env-overrides'
This commit is contained in:
commit
78bba9533c
23
apps/bim/stand/kustomization.yaml
Normal file
23
apps/bim/stand/kustomization.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
configMapGenerator:
|
||||
- name: contour-env
|
||||
literals:
|
||||
- POSTGRES_POOL_SIZE=5
|
||||
options:
|
||||
disableNameSuffixHash: true
|
||||
annotations:
|
||||
config.kubernetes.io/local-config: "true"
|
||||
replacements:
|
||||
- source:
|
||||
kind: ConfigMap
|
||||
name: contour-env
|
||||
fieldPath: data.POSTGRES_POOL_SIZE
|
||||
targets:
|
||||
- select:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
fieldPaths:
|
||||
- spec.values.services.backend.envs.[name=POSTGRES_POOL_SIZE].value._default
|
||||
4
clusters/stand/50-apps/kustomization.yaml
Normal file
4
clusters/stand/50-apps/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../apps/bim/stand
|
||||
@ -91,3 +91,24 @@ spec:
|
||||
substituteFrom:
|
||||
- kind: ConfigMap
|
||||
name: contour-vars
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: 50-apps
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m0s
|
||||
timeout: 10m0s
|
||||
dependsOn:
|
||||
- name: 20-data
|
||||
path: ./clusters/stand/50-apps
|
||||
prune: true
|
||||
wait: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
postBuild:
|
||||
substituteFrom:
|
||||
- kind: ConfigMap
|
||||
name: contour-vars
|
||||
|
||||
Loading…
Reference in New Issue
Block a user