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 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: helm-chart-collator name: helm-chart-collator
namespace: collator
spec: spec:
selector: selector:
matchLabels: matchLabels:
@ -33,7 +27,6 @@ metadata:
labels: labels:
app: helm-chart-collator app: helm-chart-collator
name: helm-chart-collator name: helm-chart-collator
namespace: collator
spec: spec:
ports: ports:
- port: 8080 - port: 8080

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 kind: Kustomization
resources: resources:
- namespace.yaml
- helm-chart-collator.yaml - helm-chart-collator.yaml
- helm-repository.yaml
namespace: collator

View File

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