Fix broken globalnet helm jobs

Signed-Off-by: Sridhar Gaddam <sgaddam@redhat.com>
This commit is contained in:
Sridhar Gaddam
2021-01-04 09:09:39 +01:00
committed by Stephen Kitt
parent 9946eeb071
commit 54b9fab7f0
+25 -25
View File
@@ -29,33 +29,33 @@ spec:
nodeSelector: nodeSelector:
submariner.io/gateway: 'true' submariner.io/gateway: 'true'
containers: containers:
- name: {{ template "submariner.fullname" . }}-globalnet - name: {{ template "submariner.fullname" . }}-globalnet
image: {{ .Values.globalnet.image.repository }}:{{ default .Chart.AppVersion .Values.globalnet.image.tag }} image: {{ .Values.globalnet.image.repository }}:{{ default .Chart.AppVersion .Values.globalnet.image.tag }}
imagePullPolicy: {{ .Values.globalnet.image.pullPolicy }} imagePullPolicy: {{ .Values.globalnet.image.pullPolicy }}
env: env:
- name: SUBMARINER_CLUSTERID - name: SUBMARINER_CLUSTERID
value: '{{ .Values.submariner.clusterId }}' value: '{{ .Values.submariner.clusterId }}'
- name: SUBMARINER_EXCLUDENS - name: SUBMARINER_EXCLUDENS
value: 'submariner-operator,kube-system,operators,openshift-monitoring,openshift-dns' value: 'submariner-operator,kube-system,operators,openshift-monitoring,openshift-dns'
- name: SUBMARINER_NAMESPACE - name: SUBMARINER_NAMESPACE
value: '{{ .Release.Namespace }}' value: '{{ .Release.Namespace }}'
- name: NODE_NAME - name: NODE_NAME
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: "spec.nodeName" fieldPath: "spec.nodeName"
securityContext: securityContext:
allowPrivilegeEscalation: true allowPrivilegeEscalation: true
capabilities: capabilities:
add: add:
- ALL - ALL
privileged: true privileged: true
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: false runAsNonRoot: false
volumeMounts: volumeMounts:
# Because we don't actually run iptables locally, but chroot in to the host # Because we don't actually run iptables locally, but chroot in to the host
- mountPath: /host - mountPath: /host
name: host-slash name: host-slash
readOnly: true readOnly: true
volumes: volumes:
- name: host-slash - name: host-slash
hostPath: hostPath: