Sean Eagan 8a172ac2e3 Absorb helm chart collator functions
This copies the hcc functions from airshipctl into treasuremap.
They are not used in the airshipctl repo, and thus having them
there doesn't add value, and also led to issues which were
not uncovered until we uplifted airshipctl in treasuremap [0].
This moves them to treasuremap where they are actually used.

They will need to be removed from airshipctl separately.

[0]: https://review.opendev.org/c/airship/airshipctl/+/794707

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: Ief295eaa9b84b4303add537b3526b425c91014e6
2021-06-07 12:59:33 -05:00

36 lines
704 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: helm-chart-collator
spec:
selector:
matchLabels:
app: helm-chart-collator
replicas: 2
template:
metadata:
labels:
app: helm-chart-collator
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
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
spec:
ports:
- port: 8080
targetPort: 8080
selector:
app: helm-chart-collator
type: ClusterIP