diff --git a/charts/fhir-gateway/Chart.yaml b/charts/fhir-gateway/Chart.yaml index 29e5beec..ed6688fe 100644 --- a/charts/fhir-gateway/Chart.yaml +++ b/charts/fhir-gateway/Chart.yaml @@ -39,10 +39,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.3 +version: 0.0.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.0.1" +appVersion: "v0.1.40" diff --git a/charts/fhir-gateway/README.md b/charts/fhir-gateway/README.md index 487aff6a..db26c71f 100644 --- a/charts/fhir-gateway/README.md +++ b/charts/fhir-gateway/README.md @@ -94,6 +94,7 @@ and their default values. | `vpa.enabled` | | `false` | | `vpa.updatePolicy.updateMode` | | `"Off"` | | `vpa.resourcePolicy` | | `{}` | +| `applicationConfig` | | `null` | ## Overriding Configuration File On Pod Using ConfigMaps diff --git a/charts/fhir-gateway/templates/deployment.yaml b/charts/fhir-gateway/templates/deployment.yaml index 74221419..9155ab8d 100644 --- a/charts/fhir-gateway/templates/deployment.yaml +++ b/charts/fhir-gateway/templates/deployment.yaml @@ -57,6 +57,10 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} {{- if .Values.env }} env: + {{- if .Values.applicationConfig }} + - name: SPRING_APPLICATION_JSON + value: {{ .Values.applicationConfig | toJson | quote }} + {{- end }} {{- tpl (toYaml .Values.env) . | nindent 12 }} {{- end }} ports: diff --git a/charts/fhir-gateway/values.yaml b/charts/fhir-gateway/values.yaml index 0572283c..acdf7e68 100644 --- a/charts/fhir-gateway/values.yaml +++ b/charts/fhir-gateway/values.yaml @@ -24,7 +24,7 @@ image: repository: opensrp/fhir-gateway pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "latest" + tag: "v0.1.40" imagePullSecrets: [] nameOverride: "" @@ -153,6 +153,12 @@ pdb: minAvailable: "" maxUnavailable: 1 +# Add the spring configuration below check https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto.properties-and-configuration. +applicationConfig: +# server: +# max-http-header-size: 40KB +# spring: + vpa: enabled: false updatePolicy: