Skip to content
Snippets Groups Projects
Commit f4610a97 authored by Marc Burnie [AWS]'s avatar Marc Burnie [AWS]
Browse files

moving some parameters to global values

parent 488805fc
No related branches found
No related tags found
No related merge requests found
{{ .Chart.Name }} deployed to {{ .Values.namespace }} namespace
{{ .Chart.Name }} deployed to {{ .Values.global.namespace }} namespace
Application URL available at path {{ .Values.service.apiPath }}
\ No newline at end of file
# Environment Config
accountID:
region:
resourcePrefix:
namespace: osdu-services
gatewayName: osdu-gateway
# Service Config
image: __CONTAINER__
imagePullPolicy: IfNotPresent
......@@ -14,18 +7,18 @@ service:
apiPath: /api/notification/v1/
readinessProbeHttpPath: /api/notification/v1/actuator/health
livenessProbeHttpPath: /api/notification/v1/actuator/health
logLevel: INFO
environmentVariables:
- name: APPLICATION_PORT
value: "{{ .Values.service.port }}"
- name: AWS_REGION
value: "{{ .Values.region }}"
value: "{{ .Values.global.region }}"
- name: RESOURCE_PREFIX
value: "{{ .Values.resourcePrefix }}"
value: "{{ .Values.global.resourcePrefix }}"
- name: JAVA_OPTS
value: "-Xms538M -Xmx900M"
- name: LOG_LEVEL
value: "{{ .Values.logLevel }}"
value: "{{ .Values.global.logLevel }}"
- name: SSM_ENABLED
value: "True"
- name: SSL_ENABLED
......@@ -52,7 +45,7 @@ autoscaling:
# targetMemoryUtilizationPercentage: 80
# Security Config
serviceAccountRole: arn:aws:iam::{{ .Values.accountID }}:role/osdu-{{ .Values.resourcePrefix }}-{{ include "common.name" . }}
serviceAccountRole: arn:aws:iam::{{ .Values.global.accountID }}:role/osdu-{{ .Values.global.resourcePrefix }}-{{ include "common.name" . }}
cors:
maxAge: "60m"
allowCredentials: true
......@@ -67,8 +60,6 @@ cors:
- Data-Partition-Id
- Correlation-Id
- Content-Type
allowOrigins:
- prefix: '*'
securityContext: {}
# capabilities:
# drop:
......
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