Combining helm-chat-collator with HelmRepository

Change-Id: Id88a6ff7e8c464116b0e184750d1a13b2baee986
This commit is contained in:
sa069q 2021-05-20 11:13:12 +05:30
parent 281e99aa3d
commit 245ddc3b4b
4 changed files with 16 additions and 8 deletions

View File

@ -1,13 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: collator
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: helm-chart-collator
namespace: collator
spec:
selector:
matchLabels:
@ -33,11 +27,10 @@ metadata:
labels:
app: helm-chart-collator
name: helm-chart-collator
namespace: collator
spec:
ports:
- port: 8080
targetPort: 8080
selector:
app: helm-chart-collator
type: ClusterIP
type: ClusterIP

View File

@ -0,0 +1,8 @@
# Helm Charts from Helm Repository (Helm Collator)
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: helm-repo
spec:
interval: 5m
url: http://helm-chart-collator.collator.svc:8080

View File

@ -2,4 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- helm-chart-collator.yaml
- helm-repository.yaml
namespace: collator

View File

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