Skip to content
Snippets Groups Projects
Commit 8123b4a0 authored by turletti's avatar turletti
Browse files

fix nrue charts to use multus for testing purpose

parent 4ae0a971
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ data: ...@@ -10,7 +10,7 @@ data:
key = "{{ .Values.config.fullKey }}"; key = "{{ .Values.config.fullKey }}";
opc= "{{ .Values.config.opc }}"; opc= "{{ .Values.config.opc }}";
dnn= "{{ .Values.config.dnn }}"; dnn= "{{ .Values.config.dnn }}";
nssai_sst="{{ .Values.config.sst }}"; # _TO CHECK if double quote_ nssai_sst="{{ .Values.config.sst }}";
nssai_sd="{{ .Values.config.sd }}"; # _TO CHECK if double quote_ nssai_sd="{{ .Values.config.sd }}";
} }
---
{{- if .Values.multus.create }}
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: {{ .Chart.Name }}-net1
spec:
config: '{
"cniVersion": "0.3.1",
"type": "macvlan",
"master": {{- cat .Values.multus.hostInterface | nospace | quote }},
"mode": "bridge",
"ipam": {
"type": "static",
"addresses": [
{
"address": {{- cat .Values.multus.ipadd "/" .Values.multus.netmask | nospace | quote }}
}
]
}
}'
{{- end }}
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