Add sources
This commit is contained in:
parent
e449124542
commit
1433bb5dfb
@ -46,6 +46,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
|
name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
selector:
|
selector:
|
||||||
|
12
clank/clusters/platform/platform.yaml
Normal file
12
clank/clusters/platform/platform.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: platform
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 10m0s
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
|
path: ./platform
|
||||||
|
prune: true
|
5
clank/platform/kustomization.yaml
Normal file
5
clank/platform/kustomization.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- sources
|
||||||
|
- reflector
|
0
clank/platform/reflector/kustomization.yaml
Normal file
0
clank/platform/reflector/kustomization.yaml
Normal file
4
clank/platform/reflector/namespace.yaml
Normal file
4
clank/platform/reflector/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: reflector
|
18
clank/platform/reflector/release.yaml
Normal file
18
clank/platform/reflector/release.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: reflector
|
||||||
|
spec:
|
||||||
|
releaseName: reflector
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: reflector
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: emberstack
|
||||||
|
namespace: flux-system
|
||||||
|
version: "6.3.47"
|
||||||
|
interval: 1h0m0s
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
7
clank/platform/sources/emberstack.yaml
Normal file
7
clank/platform/sources/emberstack.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: emberstack
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
url: https://emberstack.github.io/helm-charts
|
5
clank/platform/sources/kustomization.yaml
Normal file
5
clank/platform/sources/kustomization.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: flux-system
|
||||||
|
resources:
|
||||||
|
- emberstack.yaml
|
@ -30,4 +30,4 @@ spec:
|
|||||||
- "wishlist"
|
- "wishlist"
|
||||||
# IP used for Kubernetes Ingress endpoints
|
# IP used for Kubernetes Ingress endpoints
|
||||||
publishedService:
|
publishedService:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
@ -21,7 +21,7 @@ apiVersion: traefik.containo.us/v1alpha1
|
|||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: wishlist-ingress
|
name: wishlist-ingress
|
||||||
namespace: kube-system
|
namespace: wishlist
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web
|
- web
|
||||||
|
Loading…
Reference in New Issue
Block a user