Skip to content

Commit

Permalink
update-staging-ingress-with-s2-domain (#149)
Browse files Browse the repository at this point in the history
Adds the s2 domain to the staging deployment for client request
  • Loading branch information
aprilrieger authored Apr 17, 2024
2 parents 768a435 + eb346f8 commit 906a32a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 234 deletions.
221 changes: 0 additions & 221 deletions ops/dev-deploy.tmpl.yaml

This file was deleted.

25 changes: 12 additions & 13 deletions ops/staging-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,20 @@ extraVolumeMounts: &volMounts
ingress:
enabled: true
hosts:
- host: adventist-knapsack-staging.notch8.cloud
- host: s2.adventistdigitallibrary.org
paths:
- path: /
- host: "*.adventist-knapsack-staging.notch8.cloud"
- host: "*.s2.adventistdigitallibrary.org"
paths:
- path: /
annotations: {
kubernetes.io/ingress.class: "nginx",
nginx.ingress.kubernetes.io/proxy-body-size: "0",
cert-manager.io/cluster-issuer: letsencrypt-production-dns
}
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
cert-manager.io/cluster-issuer: "letsencrypt-production-dns"
tls:
- hosts:
- adventist-knapsack-staging.notch8.cloud
- "*.adventist-knapsack-staging.notch8.cloud"
- '*.s2.adventistdigitallibrary.org'
- s2.adventistdigitallibrary.org
secretName: adventist-staging-wild-tls

extraEnvVars: &envVars
Expand Down Expand Up @@ -124,15 +123,15 @@ extraEnvVars: &envVars
# - name: GOOGLE_OAUTH_PRIVATE_KEY_VALUE
# value: $GOOGLE_OAUTH_PRIVATE_KEY_VALUE
# - name: GOOGLE_OAUTH_CLIENT_EMAIL
# value: hyku-demo@adventist-knapsack-staging.notch8.cloud
# value: hyku-demo@s2.adventistdigitallibrary.org
- name: GOOD_JOB_CLEANUP_DISCARDED_JOBS
value: "false"
- name: GOOD_JOB_CLEANUP_PRESERVED_JOBS_BEFORE_SECONDS_AGO
value: "604800"
- name: GOOD_JOB_CLEANUP_INTERVAL_SECONDS
value: "86400"
- name: HYKU_ADMIN_HOST
value: "adventist-knapsack-staging.notch8.cloud"
value: "s2.adventistdigitallibrary.org"
- name: HYKU_ADMIN_ONLY_TENANT_CREATION
value: "false"
- name: HYKU_ALLOW_SIGNUP
Expand All @@ -142,15 +141,15 @@ extraEnvVars: &envVars
- name: HYKU_CONTACT_EMAIL
value: 'changeme@example.com'
- name: HYKU_DEFAULT_HOST
value: "%{tenant}.adventist-knapsack-staging.notch8.cloud"
value: "%{tenant}.s2.adventistdigitallibrary.org"
- name: HYKU_FILE_ACL
value: "false"
- name: HYKU_GEONAMES_USERNAME
value: 'scientist'
- name: HYKU_MULTITENANT
value: "true"
- name: HYKU_ROOT_HOST
value: adventist-knapsack-staging.notch8.cloud
value: s2.adventistdigitallibrary.org
- name: HYRAX_ACTIVE_JOB_QUEUE
value: good_job
- name: HYRAX_ANALYTICS
Expand Down

0 comments on commit 906a32a

Please sign in to comment.