Add sources

This commit is contained in:
Kasper Juul Hermansen 2022-05-09 13:15:50 +02:00
parent e449124542
commit 1433bb5dfb
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
10 changed files with 54 additions and 2 deletions

View File

@ -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:

View 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

View File

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- sources
- reflector

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: reflector

View 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

View 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

View File

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources:
- emberstack.yaml

View File

@ -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

View File

@ -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