Helm Chart Collator - Airship Helm Repository

This patchset provides the implementation for the Helm Chart Collator,
which will be used as Helm Repository containing the helm charts for
Airship workloads, e.g., Dex.

This patchset requires the presence of the Docker image
'quay.io/airshipit/helm-chart-collator:latest' which is built by the
project 'airshipit/images' and supported by 'helm-chart-collator'.

The image contains 'baked' charts such as 'dex-aio' charts. If you need
a different set of charts, you will have to create a dedicated docker
image and have it deployed by the Helm Chart Collator service.

Change-Id: Ie62f306ea1c619468d0d45120b23cce7bfda2efd
This commit is contained in:
Sidney Shiba 2021-02-11 15:22:44 -06:00
parent 2d523314d8
commit b35b96c0f0
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,40 @@
apiVersion: v1
kind: Namespace
metadata:
name: collator
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: helm-chart-collator
namespace: collator
spec:
selector:
matchLabels:
app: helm-chart-collator
replicas: 2
template:
metadata:
labels:
app: helm-chart-collator
spec:
containers:
- name: helm-chart-collator
image: quay.io/airshipit/helm-chart-collator:latest
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
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

View File

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-chart-collator.yaml