Merge "Remove hcc functions"

This commit is contained in:
Zuul 2021-06-09 20:42:56 +00:00 committed by Gerrit Code Review
commit 435ec322c7
10 changed files with 0 additions and 111 deletions

View File

@ -10,8 +10,6 @@ spec:
helm_repositories:
ingress-nginx:
url: https://kubernetes.github.io/ingress-nginx
helm_chart_collator:
url: http://helm-chart-collator.collator.svc:8080
charts:
ingress-nginx:
@ -90,10 +88,6 @@ spec:
# <function>:
# <component>:
# <container>:
helm_chart_collator:
helm_chart_collator:
helm_chart_collator:
image: quay.io/airshipit/helm-chart-collator:latest
baremetal_operator:
ironic: # ironic Deployment
init_bootstrap:

View File

@ -1,36 +0,0 @@
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

View File

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

View File

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

View File

@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- versions.yaml

View File

@ -1,19 +0,0 @@
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: helm-chart-collator-versions-replacements
annotations:
config.kubernetes.io/function: |-
container:
image: localhost/replacement-transformer
replacements:
- source:
objref:
kind: VersionsCatalogue
name: versions-airshipctl
fieldref: "{.spec.images.helm_chart_collator.helm_chart_collator.helm_chart_collator.image}"
target:
objref:
kind: Deployment
name: helm-chart-collator
fieldrefs: ["{.spec.template.spec.containers[?(.name == 'helm-chart-collator')].image}"]

View File

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

View File

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

View File

@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- versions.yaml

View File

@ -1,19 +0,0 @@
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: helm-repository-versions-replacements
annotations:
config.kubernetes.io/function: |-
container:
image: quay.io/airshipit/replacement-transformer:v2
replacements:
- source:
objref:
kind: VersionsCatalogue
name: versions-airshipctl
fieldref: "{.spec.helm_repositories.helm_chart_collator.url}"
target:
objref:
kind: HelmRepository
name: collator
fieldrefs: ["{.spec.url}"]