Skip to content

Commit

Permalink
Merge pull request #2886 from alphagov/change-search-ac-flag
Browse files Browse the repository at this point in the history
Change disabling of search autocomplete
  • Loading branch information
csutter authored Jan 10, 2025
2 parents f5e3796 + 2711c36 commit cb7bfb8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions charts/app-config/templates/env-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ data:
GOVUK_APP_DOMAIN_EXTERNAL: {{ .Values.publishingDomainSuffix }}
GOVUK_ASSET_ROOT: https://{{ .Values.assetsDomain }}
GOVUK_CSP_REPORT_URI: {{ .Values.cspReportURI | quote }}
{{- if .Values.disableSearchAutocomplete }}
GOVUK_DISABLE_SEARCH_AUTOCOMPLETE: "1"
{{- end }}
GOVUK_ENVIRONMENT: {{ .Values.govukEnvironment }}
GOVUK_ENVIRONMENT_NAME: {{ .Values.govukEnvironment }}
# TODO: remove GOVUK_PROMETHEUS_EXPORTER once govuk_app_config >=9.10 is everywhere.
Expand Down
4 changes: 2 additions & 2 deletions charts/app-config/values-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ _alb-ingress-group-backend: &alb-ingress-group-backend
emergency-banner-redis:
- &emergency-banner-redis redis://whitehall-admin-redis/1

disableSearchAutocomplete: false

# Apps for Argo CD to deploy, along with any app-specific Helm values.

govukApplications:
Expand Down Expand Up @@ -2563,6 +2561,8 @@ govukApplications:
schedule: "09 9 * * *" # 09:09am daily
suspend: true # Too noisy for integration to run on schedule, but can be run manually.
extraEnv:
- name: ENABLE_AUTOCOMPLETE
value: "true"
# TODO: remove GOVUK_PROMETHEUS_EXPORTER once govuk_app_config >=9.10 is everywhere.
- name: GOVUK_PROMETHEUS_EXPORTER
value: force
Expand Down
4 changes: 2 additions & 2 deletions charts/app-config/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ _alb-ingress-group-backend: &alb-ingress-group-backend
emergency-banner-redis:
- &emergency-banner-redis redis://whitehall-admin-redis/1

disableSearchAutocomplete: false

# Apps for Argo CD to deploy, along with any app-specific Helm values.

govukApplications:
Expand Down Expand Up @@ -2583,6 +2581,8 @@ govukApplications:
task: "quality_monitoring:assert_invariants"
schedule: "09 8-17 * * *" # 9 minutes past the hour every day from 8am-5pm
extraEnv:
- name: ENABLE_AUTOCOMPLETE
value: "true"
# TODO: remove GOVUK_PROMETHEUS_EXPORTER once govuk_app_config >=9.10 is everywhere.
- name: GOVUK_PROMETHEUS_EXPORTER
value: force
Expand Down
4 changes: 2 additions & 2 deletions charts/app-config/values-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ _alb-ingress-group-backend: &alb-ingress-group-backend
emergency-banner-redis:
- &emergency-banner-redis redis://whitehall-admin-redis/1

disableSearchAutocomplete: false

# Apps for Argo CD to deploy, along with any app-specific Helm values.

govukApplications:
Expand Down Expand Up @@ -2589,6 +2587,8 @@ govukApplications:
schedule: "09 9 * * *" # 09:09am daily
suspend: true # Too noisy for staging to run on schedule, but can be run manually.
extraEnv:
- name: ENABLE_AUTOCOMPLETE
value: "true"
# TODO: remove GOVUK_PROMETHEUS_EXPORTER once govuk_app_config >=9.10 is everywhere.
- name: GOVUK_PROMETHEUS_EXPORTER
value: force
Expand Down

0 comments on commit cb7bfb8

Please sign in to comment.