mirror of
https://github.com/fluxcd/flux2-hub-spoke-example.git
synced 2025-07-28 08:12:53 +00:00
Provision production cluster
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
98577807dd
commit
5dcfc42aaf
6 changed files with 152 additions and 0 deletions
9
clusters/production/apps/kustomization.yaml
Normal file
9
clusters/production/apps/kustomization.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../deploy/apps
|
||||
patches:
|
||||
- path: podinfo-values.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: podinfo
|
17
clusters/production/apps/podinfo-values.yaml
Normal file
17
clusters/production/apps/podinfo-values.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: podinfo
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
version: ">=1.0.0-alpha"
|
||||
test:
|
||||
enable: false
|
||||
values:
|
||||
ingress:
|
||||
hosts:
|
||||
- host: podinfo.production
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
Loading…
Add table
Add a link
Reference in a new issue