Skip to content
Snippets Groups Projects
Commit 881d0b96 authored by Rob Kooper's avatar Rob Kooper
Browse files

chart for raw kubernetes

parent 1803637a
No related branches found
No related tags found
No related merge requests found
{{ if .Values.raw.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .Values.cluster.name }}-raw
labels:
cluster: {{ .Values.cluster.name | quote }}
app: metallb
namespace: argocd
annotations:
{{- toYaml .Values.notifications | nindent 4 }}
spec:
project: {{ .Values.cluster.name }}
destination:
server: {{ .Values.cluster.url }}
namespace: default
syncPolicy:
{{- if .Values.sync }}
automated:
prune: true
selfHeal: true
allowEmpty: false
{{- end }}
syncOptions:
- CreateNamespace=true
source:
repoURL: https://bedag.github.io/helm-charts/
chart: raw
targetRevision: {{ .Values.raw.version | quote }}
helm:
version: v3
releaseName: raw
values:
{{ if .Values.metallb.enabled }}
- |
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: terraform
namespace: metallb-system
spec:
addresses:
{{- toYaml .Values.metallb.addresses | nindent 16 }}
- |
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: l2advertisement1
namespace: metallb-system
spec:
ipAddressPools:
- terraform
{{- end }}
{{- end }}
......@@ -69,3 +69,11 @@ longhorn:
cinder:
enabled: false
version: "1.*"
# ----------------------------------------------------------------------
# MISC RESOURCES
# ----------------------------------------------------------------------
raw:
enabled: false
version: "1.*"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment