Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{{ 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 }}