Skip to content
Snippets Groups Projects
Commit 98f41be4 authored by turletti's avatar turletti
Browse files

add explicit ip forwarding on upf pod and put back standard upf image pull

parent 804873c1
No related branches found
No related tags found
No related merge requests found
...@@ -113,10 +113,10 @@ oai-upf: ...@@ -113,10 +113,10 @@ oai-upf:
enabled: true enabled: true
kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes kubernetesType: Vanilla #Openshift/Vanilla Vanilla for Upstream Kubernetes
nfimage: # image name either locally present or in a public/private repository nfimage: # image name either locally present or in a public/private repository
repository: docker.io/r2labuser/oai-upf ## The image will be pulled from dockerhub #repository: docker.io/r2labuser/oai-upf ## The image will be pulled from dockerhub
version: v2.0.0 ## The branch to be used to pull from dockerhub
#repository: docker.io/oaisoftwarealliance/oai-upf ## The image will be pulled from dockerhub
#version: v2.0.0 ## The branch to be used to pull from dockerhub #version: v2.0.0 ## The branch to be used to pull from dockerhub
repository: docker.io/oaisoftwarealliance/oai-upf ## The image will be pulled from dockerhub
version: v2.0.0 ## The branch to be used to pull from dockerhub
# pullPolicy: IfNotPresent or Never or Always # pullPolicy: IfNotPresent or Never or Always
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
start: start:
......
...@@ -125,6 +125,10 @@ spec: ...@@ -125,6 +125,10 @@ spec:
initialDelaySeconds: 2 initialDelaySeconds: 2
periodSeconds: 3 periodSeconds: 3
{{- end}} {{- end}}
lifecycle:
postStart:
exec:
command: ["/sbin/sysctl", "-w", "net.ipv4.ip_forward=1"]
{{- if .Values.livenessProbe}} {{- if .Values.livenessProbe}}
livenessProbe: livenessProbe:
exec: exec:
......
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