diff --git a/helm/capif/charts/ocf-register/templates/deployment.yaml b/helm/capif/charts/ocf-register/templates/deployment.yaml index 0009f19fd1e709ea12b9072ff0b7938c14f90692..3d249c522581f05d07e98c8ce51d40f0527ace96 100644 --- a/helm/capif/charts/ocf-register/templates/deployment.yaml +++ b/helm/capif/charts/ocf-register/templates/deployment.yaml @@ -30,6 +30,9 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: + {{- with .Values.extraConfigPod }} + {{- toYaml . | nindent 8 }} + {{- end }} - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} @@ -73,4 +76,4 @@ spec: {{- with .Values.tolerations }} tolerations: {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} \ No newline at end of file diff --git a/helm/capif/charts/ocf-register/values.yaml b/helm/capif/charts/ocf-register/values.yaml index ca8cfc3f43551526356ebf2250762c5f7c9c9d69..ffa5d501634a76eb02d80a6b4702b2d544f90c23 100644 --- a/helm/capif/charts/ocf-register/values.yaml +++ b/helm/capif/charts/ocf-register/values.yaml @@ -34,6 +34,12 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: "" +extraConfigPod: {} +# hostAliases: +# - hostnames: +# - "www.example.com" +# ip: "1.2.3.4" + podAnnotations: {} podLabels: {}