diff --git a/charts/fornix/templates/deployment.yaml b/charts/fornix/templates/deployment.yaml index 0ff2da0d..6101ff72 100644 --- a/charts/fornix/templates/deployment.yaml +++ b/charts/fornix/templates/deployment.yaml @@ -44,6 +44,11 @@ spec: - name: http containerPort: {{ .Values.service.port }} protocol: TCP + env: + - name: DRUPAL_URL + value: {{ .Values.drupalUrl }} + - name: BASE_URL + value: {{ .Values.baseUrl }} {{- with .Values.livenessProbe }} livenessProbe: {{- toYaml . | nindent 12 }} diff --git a/charts/fornix/values.yaml b/charts/fornix/values.yaml index fdcd905f..00a7b2e5 100644 --- a/charts/fornix/values.yaml +++ b/charts/fornix/values.yaml @@ -2,6 +2,9 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. +drupalUrl: http://drupal +baseUrl: https://oceanbox.io + # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ replicaCount: 1 # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/