Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker committed Jan 25, 2023
2 parents 5e490de + a8e2042 commit 4b55c8b
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/datahub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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.2.137
version: 0.2.139
# 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.9.6.1
Expand All @@ -14,7 +14,7 @@ dependencies:
repository: file://./subcharts/datahub-gms
condition: datahub-gms.enabled
- name: datahub-frontend
version: 0.2.131
version: 0.2.132
repository: file://./subcharts/datahub-frontend
condition: datahub-frontend.enabled
- name: datahub-mae-consumer
Expand Down
2 changes: 1 addition & 1 deletion charts/datahub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ helm install datahub datahub/datahub --values <<path-to-values-file>>
|-----|------|---------|-------------|
| datahub-frontend.enabled | bool | `true` | Enable Datahub Front-end |
| datahub-frontend.image.repository | string | `"linkedin/datahub-frontend-react"` | Image repository for datahub-frontend |
| datahub-frontend.image.tag | string | `".1"` | Image tag for datahub-frontend |
| datahub-frontend.image.tag | string | `"v0.9.6.1"` | Image tag for datahub-frontend |
| datahub-frontend.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy for datahub-frontend |
| datahub-gms.enabled | bool | `true` | Enable GMS |
| datahub-gms.image.repository | string | `"linkedin/datahub-gms"` | Image repository for datahub-gms |
Expand Down
2 changes: 1 addition & 1 deletion charts/datahub/subcharts/datahub-frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.131
version: 0.2.132
# 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.9.6.1
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ spec:
- name: AUTH_OIDC_DISCOVERY_URI
value: https://accounts.google.com/.well-known/openid-configuration
- name: AUTH_OIDC_SCOPE
value: "openid profile email"
value: {{ .scope | default "openid profile email" }}
- name: AUTH_OIDC_USER_NAME_CLAIM
value: email
- name: AUTH_OIDC_USER_NAME_CLAIM_REGEX
Expand All @@ -188,12 +188,12 @@ spec:
- name: AUTH_OIDC_DISCOVERY_URI
value: https://{{ .oktaDomain }}/.well-known/openid-configuration
- name: AUTH_OIDC_SCOPE
value: "openid profile email groups"
value: {{ .scope | default "openid profile email groups" }}
{{- else if eq .provider "azure" }}
- name: AUTH_OIDC_DISCOVERY_URI
value: https://login.microsoftonline.com/{{ .azureTenantId }}/v2.0/.well-known/openid-configuration
- name: AUTH_OIDC_SCOPE
value: "openid profile email"
value: {{ .scope | default "openid profile email" }}
{{- else }}
{{- fail (printf "unsupported .oidcAuthentication.provider value '%s'" .provider) }}
{{- end }}
Expand Down
5 changes: 4 additions & 1 deletion charts/datahub/subcharts/datahub-frontend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ ingress:
oidcAuthentication:
enabled: false
# provider: google/okta/azure <- choose only one

# clientId: your-client-id
# clientSecret: your-client-secret
# only needed if you would like to store the client secret in secret
Expand All @@ -81,8 +82,10 @@ oidcAuthentication:
# only needed if provider is `okta`
# oktaDomain: your-okta-domain.com

# only neede if provider is `azure`
# only needed if provider is `azure`
# azureTenantId: your-azure-tenant-id
# if needed, it should set meaningful defaults from provider
# scope: "openid profile email"

# Extra environment variables
# This will be appended to the current 'env:' key. You can use any of the kubernetes env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,24 @@ spec:
- "-a"
- "batchDelayMs={{ .Values.datahubUpgrade.batchDelayMs }}"
env:
- name: EBEAN_DATASOURCE_USERNAME
value: {{ (.Values.sql).datasource.username | default .Values.global.sql.datasource.username | quote }}
- name: EBEAN_DATASOURCE_PASSWORD
{{- $passwordValue := (.Values.sql).datasource.password.value | default .Values.global.sql.datasource.password.value }}
{{- if $passwordValue }}
value: {{ $passwordValue | quote }}
{{- else }}
valueFrom:
secretKeyRef:
name: "{{ (.Values.sql).datasource.password.secretRef | default .Values.global.sql.datasource.password.secretRef }}"
key: "{{ (.Values.sql).datasource.password.secretKey | default .Values.global.sql.datasource.password.secretKey }}"
{{- end }}
- name: EBEAN_DATASOURCE_HOST
value: "{{ .Values.global.sql.datasource.host }}"
- name: EBEAN_DATASOURCE_URL
value: "{{ .Values.global.sql.datasource.url }}"
- name: EBEAN_DATASOURCE_DRIVER
value: "{{ .Values.global.sql.datasource.driver }}"
{{- include "datahub.upgrade.env" . | nindent 16}}
{{- with .Values.datahubUpgrade.extraEnvs }}
{{- toYaml . | nindent 16 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/datahub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ datahub-frontend:
# tag: "v0.9.6.1" # # defaults to .global.datahub.version
resources:
limits:
memory: 512Mi
memory: 1400Mi
requests:
cpu: 100m
memory: 256Mi
memory: 512Mi
# Set up ingress to expose react front-end
ingress:
enabled: false
Expand Down

0 comments on commit 4b55c8b

Please sign in to comment.