diff --git a/charts/datahub/Chart.yaml b/charts/datahub/Chart.yaml index fb9aca619..722845e57 100644 --- a/charts/datahub/Chart.yaml +++ b/charts/datahub/Chart.yaml @@ -4,25 +4,25 @@ description: A Helm chart for LinkedIn DataHub 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. -version: 0.3.15 +version: 0.3.16 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: 0.11.0 dependencies: - name: datahub-gms - version: 0.2.156 + version: 0.2.157 repository: file://./subcharts/datahub-gms condition: datahub-gms.enabled - name: datahub-frontend - version: 0.2.148 + version: 0.2.149 repository: file://./subcharts/datahub-frontend condition: datahub-frontend.enabled - name: datahub-mae-consumer - version: 0.2.150 + version: 0.2.151 repository: file://./subcharts/datahub-mae-consumer condition: global.datahub_standalone_consumers_enabled - name: datahub-mce-consumer - version: 0.2.152 + version: 0.2.153 repository: file://./subcharts/datahub-mce-consumer condition: global.datahub_standalone_consumers_enabled - name: datahub-ingestion-cron @@ -30,7 +30,7 @@ dependencies: repository: file://./subcharts/datahub-ingestion-cron condition: datahub-ingestion-cron.enabled - name: acryl-datahub-actions - version: 0.2.139 + version: 0.2.140 repository: file://./subcharts/acryl-datahub-actions condition: acryl-datahub-actions.enabled maintainers: diff --git a/charts/datahub/subcharts/acryl-datahub-actions/Chart.yaml b/charts/datahub/subcharts/acryl-datahub-actions/Chart.yaml index 0cd44d803..fe545802c 100644 --- a/charts/datahub/subcharts/acryl-datahub-actions/Chart.yaml +++ b/charts/datahub/subcharts/acryl-datahub-actions/Chart.yaml @@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes 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. -version: 0.2.139 +version: 0.2.140 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: 0.0.11 diff --git a/charts/datahub/subcharts/acryl-datahub-actions/templates/deployment.yaml b/charts/datahub/subcharts/acryl-datahub-actions/templates/deployment.yaml index b688fb184..eced012f4 100644 --- a/charts/datahub/subcharts/acryl-datahub-actions/templates/deployment.yaml +++ b/charts/datahub/subcharts/acryl-datahub-actions/templates/deployment.yaml @@ -16,6 +16,8 @@ spec: metadata: {{- with .Values.podAnnotations }} annotations: + # Ensures resource is only deployed at GMS is deployed, since there is a dependency on GMS being up. + "helm.sh/hook-weight": "1" {{- toYaml . | nindent 8 }} {{- end }} labels: @@ -27,6 +29,7 @@ spec: {{ $key }}: {{ $value | quote }} {{- end }} spec: + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} @@ -69,9 +72,9 @@ spec: protocol: TCP env: - name: DATAHUB_GMS_HOST - value: {{ printf "%s-%s" .Release.Name "datahub-gms" }} + value: {{ (((.Values.datahub).gms).host | default ((.Values.global.datahub).gms).host) | default (printf "%s-%s" .Release.Name "datahub-gms") | trunc 63 | trimSuffix "-"}} - name: DATAHUB_GMS_PORT - value: "{{ .Values.global.datahub.gms.port }}" + value: "{{ ((.Values.datahub).gms).port | default .Values.global.datahub.gms.port }}" # Deprecated in favour of DATAHUB_* variables - name: GMS_HOST value: {{ printf "%s-%s" .Release.Name "datahub-gms" }} diff --git a/charts/datahub/subcharts/acryl-datahub-actions/values.yaml b/charts/datahub/subcharts/acryl-datahub-actions/values.yaml index 5cd6a735f..7b3fa91b1 100644 --- a/charts/datahub/subcharts/acryl-datahub-actions/values.yaml +++ b/charts/datahub/subcharts/acryl-datahub-actions/values.yaml @@ -12,6 +12,8 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +terminationGracePeriodSeconds: 150 + serviceAccount: # Specifies whether a service account should be created create: false diff --git a/charts/datahub/subcharts/datahub-frontend/Chart.yaml b/charts/datahub/subcharts/datahub-frontend/Chart.yaml index 926c9116e..4c62836d6 100644 --- a/charts/datahub/subcharts/datahub-frontend/Chart.yaml +++ b/charts/datahub/subcharts/datahub-frontend/Chart.yaml @@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes 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. -version: 0.2.148 +version: 0.2.149 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: v0.11.0 diff --git a/charts/datahub/subcharts/datahub-frontend/templates/deployment.yaml b/charts/datahub/subcharts/datahub-frontend/templates/deployment.yaml index 7371942ca..8bc60ebb5 100644 --- a/charts/datahub/subcharts/datahub-frontend/templates/deployment.yaml +++ b/charts/datahub/subcharts/datahub-frontend/templates/deployment.yaml @@ -31,6 +31,7 @@ spec: {{ $key }}: {{ $value | quote }} {{- end }} spec: + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} @@ -98,9 +99,9 @@ spec: value: "true" {{- end }} - name: DATAHUB_GMS_HOST - value: {{ printf "%s-%s" .Release.Name "datahub-gms" }} + value: {{ (((.Values.datahub).gms).host | default ((.Values.global.datahub).gms).host) | default (printf "%s-%s" .Release.Name "datahub-gms") | trunc 63 | trimSuffix "-"}} - name: DATAHUB_GMS_PORT - value: "{{ .Values.global.datahub.gms.port }}" + value: "{{ ((.Values.datahub).gms).port | default .Values.global.datahub.gms.port }}" - name: DATAHUB_SECRET valueFrom: {{- if .Values.existingGmsSecret }} diff --git a/charts/datahub/subcharts/datahub-frontend/values.yaml b/charts/datahub/subcharts/datahub-frontend/values.yaml index 0f99cf33b..7b212bf0f 100644 --- a/charts/datahub/subcharts/datahub-frontend/values.yaml +++ b/charts/datahub/subcharts/datahub-frontend/values.yaml @@ -15,6 +15,8 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +terminationGracePeriodSeconds: 150 + serviceAccount: # Specifies whether a service account should be created create: true diff --git a/charts/datahub/subcharts/datahub-gms/Chart.yaml b/charts/datahub/subcharts/datahub-gms/Chart.yaml index 40bfc7d5a..ae318fa55 100644 --- a/charts/datahub/subcharts/datahub-gms/Chart.yaml +++ b/charts/datahub/subcharts/datahub-gms/Chart.yaml @@ -12,7 +12,7 @@ description: A Helm chart for LinkedIn DataHub's datahub-gms component 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. -version: 0.2.156 +version: 0.2.157 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: v0.11.0 diff --git a/charts/datahub/subcharts/datahub-gms/templates/deployment.yaml b/charts/datahub/subcharts/datahub-gms/templates/deployment.yaml index 4c485a0ac..6c97f868d 100644 --- a/charts/datahub/subcharts/datahub-gms/templates/deployment.yaml +++ b/charts/datahub/subcharts/datahub-gms/templates/deployment.yaml @@ -32,6 +32,7 @@ spec: {{ $key }}: {{ $value | quote }} {{- end }} spec: + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- with .Values.global.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} diff --git a/charts/datahub/subcharts/datahub-gms/templates/hazelcastService.yaml b/charts/datahub/subcharts/datahub-gms/templates/hazelcastService.yaml index 76034ff18..9651798a0 100644 --- a/charts/datahub/subcharts/datahub-gms/templates/hazelcastService.yaml +++ b/charts/datahub/subcharts/datahub-gms/templates/hazelcastService.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ printf "%s-%s-%s" .Release.Name (regexReplaceAll "[^-a-z0-9]+" .Values.global.datahub.version "-") "hazelcast-svc" | trunc 63 | trimSuffix "-" }} + name: {{ printf "%s-%s-%s" .Release.Name (regexReplaceAll "\\W+" .Values.global.datahub.version "-") "hazelcast-svc" | trunc 63 | trimSuffix "-" }} spec: clusterIP: None ports: diff --git a/charts/datahub/subcharts/datahub-gms/values.yaml b/charts/datahub/subcharts/datahub-gms/values.yaml index cd2945145..ece6809c0 100644 --- a/charts/datahub/subcharts/datahub-gms/values.yaml +++ b/charts/datahub/subcharts/datahub-gms/values.yaml @@ -15,6 +15,8 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +terminationGracePeriodSeconds: 150 + serviceAccount: # Specifies whether a service account should be created create: true diff --git a/charts/datahub/subcharts/datahub-mae-consumer/Chart.yaml b/charts/datahub/subcharts/datahub-mae-consumer/Chart.yaml index 0e34e9092..e14c2c969 100644 --- a/charts/datahub/subcharts/datahub-mae-consumer/Chart.yaml +++ b/charts/datahub/subcharts/datahub-mae-consumer/Chart.yaml @@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes 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. -version: 0.2.150 +version: 0.2.151 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: v0.11.0 diff --git a/charts/datahub/subcharts/datahub-mae-consumer/templates/deployment.yaml b/charts/datahub/subcharts/datahub-mae-consumer/templates/deployment.yaml index aff01b24a..6e9bac576 100644 --- a/charts/datahub/subcharts/datahub-mae-consumer/templates/deployment.yaml +++ b/charts/datahub/subcharts/datahub-mae-consumer/templates/deployment.yaml @@ -28,6 +28,7 @@ spec: {{ $key }}: {{ $value | quote }} {{- end }} spec: + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- with .Values.global.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} @@ -109,9 +110,9 @@ spec: - name: ENTITY_REGISTRY_CONFIG_PATH value: /datahub/datahub-mae-consumer/resources/entity-registry.yml - name: DATAHUB_GMS_HOST - value: {{ printf "%s-%s" .Release.Name "datahub-gms" }} + value: {{ (((.Values.datahub).gms).host | default ((.Values.global.datahub).gms).host) | default (printf "%s-%s" .Release.Name "datahub-gms") | trunc 63 | trimSuffix "-"}} - name: DATAHUB_GMS_PORT - value: "{{ .Values.global.datahub.gms.port }}" + value: "{{ ((.Values.datahub).gms).port | default .Values.global.datahub.gms.port }}" - name: KAFKA_BOOTSTRAP_SERVER value: "{{ .Values.global.kafka.bootstrap.server }}" {{- with .Values.global.kafka.producer.compressionType }} diff --git a/charts/datahub/subcharts/datahub-mae-consumer/values.yaml b/charts/datahub/subcharts/datahub-mae-consumer/values.yaml index aadbea8cf..89efaf0ce 100644 --- a/charts/datahub/subcharts/datahub-mae-consumer/values.yaml +++ b/charts/datahub/subcharts/datahub-mae-consumer/values.yaml @@ -15,6 +15,8 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +terminationGracePeriodSeconds: 150 + serviceAccount: # Specifies whether a service account should be created create: true diff --git a/charts/datahub/subcharts/datahub-mce-consumer/Chart.yaml b/charts/datahub/subcharts/datahub-mce-consumer/Chart.yaml index 9177f820b..f3212a5b6 100644 --- a/charts/datahub/subcharts/datahub-mce-consumer/Chart.yaml +++ b/charts/datahub/subcharts/datahub-mce-consumer/Chart.yaml @@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes 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. -version: 0.2.152 +version: 0.2.153 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: v0.11.0 diff --git a/charts/datahub/subcharts/datahub-mce-consumer/templates/deployment.yaml b/charts/datahub/subcharts/datahub-mce-consumer/templates/deployment.yaml index 98c2636f8..daca75de9 100644 --- a/charts/datahub/subcharts/datahub-mce-consumer/templates/deployment.yaml +++ b/charts/datahub/subcharts/datahub-mce-consumer/templates/deployment.yaml @@ -32,6 +32,7 @@ spec: {{ $key }}: {{ $value | quote }} {{- end }} spec: + terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} {{- with .Values.global.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} diff --git a/charts/datahub/subcharts/datahub-mce-consumer/values.yaml b/charts/datahub/subcharts/datahub-mce-consumer/values.yaml index c8f1840b8..26ee4221c 100644 --- a/charts/datahub/subcharts/datahub-mce-consumer/values.yaml +++ b/charts/datahub/subcharts/datahub-mce-consumer/values.yaml @@ -15,6 +15,8 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +terminationGracePeriodSeconds: 150 + serviceAccount: # Specifies whether a service account should be created create: false diff --git a/charts/datahub/templates/datahub-upgrade/_upgrade.tpl b/charts/datahub/templates/datahub-upgrade/_upgrade.tpl index 39600aa50..e61501cce 100644 --- a/charts/datahub/templates/datahub-upgrade/_upgrade.tpl +++ b/charts/datahub/templates/datahub-upgrade/_upgrade.tpl @@ -6,9 +6,9 @@ Return the env variables for upgrade jobs - name: ENTITY_REGISTRY_CONFIG_PATH value: /datahub/datahub-gms/resources/entity-registry.yml - name: DATAHUB_GMS_HOST - value: {{ printf "%s-%s" .Release.Name "datahub-gms" }} + value: {{ (((.Values.datahub).gms).host | default ((.Values.global.datahub).gms).host) | default (printf "%s-%s" .Release.Name "datahub-gms") | trunc 63 | trimSuffix "-"}} - name: DATAHUB_GMS_PORT - value: "{{ .Values.global.datahub.gms.port }}" + value: "{{ ((.Values.datahub).gms).port | default .Values.global.datahub.gms.port }}" - name: DATAHUB_MAE_CONSUMER_HOST value: {{ printf "%s-%s" .Release.Name "datahub-mae-consumer" }} - name: DATAHUB_MAE_CONSUMER_PORT