Merge "Combining helm-chat-collator with HelmRepository"

This commit is contained in:
Zuul 2021-05-22 12:59:20 +00:00 committed by Gerrit Code Review
commit 67d8887b9d
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,11 +27,10 @@ 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
targetPort: 8080 targetPort: 8080
selector: selector:
app: helm-chart-collator 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 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