Skip to content

Commit

Permalink
Update charts to include search and browse env variable flags (#337)
Browse files Browse the repository at this point in the history
* Update charts to include search and browse env variable flags
  • Loading branch information
chriscollins3456 authored Jun 29, 2023
1 parent 3a454ee commit 9e1b66a
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 7 deletions.
8 changes: 4 additions & 4 deletions charts/datahub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.177
version: 0.2.178
# 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.10.4
dependencies:
- name: datahub-gms
version: 0.2.149
version: 0.2.150
repository: file://./subcharts/datahub-gms
condition: datahub-gms.enabled
- name: datahub-frontend
version: 0.2.139
repository: file://./subcharts/datahub-frontend
condition: datahub-frontend.enabled
- name: datahub-mae-consumer
version: 0.2.145
version: 0.2.146
repository: file://./subcharts/datahub-mae-consumer
condition: global.datahub_standalone_consumers_enabled
- name: datahub-mce-consumer
version: 0.2.147
version: 0.2.149
repository: file://./subcharts/datahub-mce-consumer
condition: global.datahub_standalone_consumers_enabled
- name: datahub-ingestion-cron
Expand Down
2 changes: 1 addition & 1 deletion charts/datahub/subcharts/datahub-gms/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.149
version: 0.2.150
# 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.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ spec:
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
env:
- name: SHOW_SEARCH_FILTERS_V2
value: {{ .Values.global.datahub.search_and_browse.show_search_v2 | quote }}
- name: SHOW_BROWSE_V2
value: {{ .Values.global.datahub.search_and_browse.show_browse_v2 | quote }}
- name: BACKFILL_BROWSE_PATHS_V2
value: {{ .Values.global.datahub.search_and_browse.backfill_browse_v2 | quote }}
{{- if .Values.global.elasticsearch.search.custom.enabled }}
- name: ELASTICSEARCH_QUERY_CUSTOM_CONFIG_ENABLED
value: "true"
Expand Down
2 changes: 1 addition & 1 deletion charts/datahub/subcharts/datahub-mae-consumer/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.145
version: 0.2.146
# 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.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ spec:
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
env:
- name: SHOW_SEARCH_FILTERS_V2
value: {{ .Values.global.datahub.search_and_browse.show_search_v2 | quote }}
- name: SHOW_BROWSE_V2
value: {{ .Values.global.datahub.search_and_browse.show_browse_v2 | quote }}
- name: BACKFILL_BROWSE_PATHS_V2
value: {{ .Values.global.datahub.search_and_browse.backfill_browse_v2 | quote }}
{{- if .Values.global.datahub.systemUpdate.enabled }}
- name: DATAHUB_UPGRADE_HISTORY_KAFKA_CONSUMER_GROUP_ID
value: {{ printf "%s-%s" .Release.Name "duhe-consumer-job-client-mcl" }}
Expand Down
2 changes: 1 addition & 1 deletion charts/datahub/subcharts/datahub-mce-consumer/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.147
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.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ spec:
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
env:
- name: SHOW_SEARCH_FILTERS_V2
value: {{ .Values.global.datahub.search_and_browse.show_search_v2 | quote }}
- name: SHOW_BROWSE_V2
value: {{ .Values.global.datahub.search_and_browse.show_browse_v2 | quote }}
- name: BACKFILL_BROWSE_PATHS_V2
value: {{ .Values.global.datahub.search_and_browse.backfill_browse_v2 | quote }}
{{- if .Values.global.datahub.systemUpdate.enabled }}
- name: DATAHUB_UPGRADE_HISTORY_KAFKA_CONSUMER_GROUP_ID
value: {{ printf "%s-%s" .Release.Name "duhe-consumer-job-client-mcp" }}
Expand Down
6 changes: 6 additions & 0 deletions charts/datahub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,12 @@ global:
## Enables diff mode for graph writes, uses a different code path that produces a diff from previous to next to write relationships instead of wholesale deleting edges and reading
enableGraphDiffMode: true

## Values specific to the unified search and browse feature.
search_and_browse:
show_search_v2: true # If on, show the new search filters experience as of v0.10.5
show_browse_v2: true # If on, show the new browse experience as of v0.10.5
backfill_browse_v2: true # If on, run the backfill upgrade job that generates default browse paths for relevant entities

# hostAliases:
# - ip: "192.168.0.104"
# hostnames:
Expand Down

0 comments on commit 9e1b66a

Please sign in to comment.