Skip to content

Commit

Permalink
First pass at adding the correct staging values for the atla cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilrieger committed Jan 16, 2024
1 parent 10cd626 commit 9cc6e14
Showing 1 changed file with 37 additions and 17 deletions.
54 changes: 37 additions & 17 deletions ops/staging-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ readinessProbe:
enabled: false

brandingVolume:
storageClass: aws-efs
storageClass: efs-sc
derivativesVolume:
storageClass: aws-efs
storageClass: efs-sc
uploadsVolume:
storageClass: aws-efs
storageClass: efs-sc

securityContext: &secValues
# capabilities:
Expand Down Expand Up @@ -64,7 +64,14 @@ ingress:
- host: dl-staging.atla.com
paths:
- path: /

annotations: {
kubernetes.io/ingress.class: "nginx",
nginx.ingress.kubernetes.io/proxy-body-size: "0"
}
tls:
- hosts:
- atla-staging.notch8.cloud
secretName: notch8cloud

extraEnvVars: &envVars
- name: CONFDIR
Expand All @@ -79,14 +86,22 @@ extraEnvVars: &envVars
value: $DATABASE_PASSWORD
- name: DATABASE_USER
value: hydra_user
- name: DB_HOST
value: hyrax20181216.cn4nhxyoxlnu.us-west-2.rds.amazonaws.com
- name: DB_PORT
value: '5432'
- name: DB_USERNAME
value: hydra_user
- name: FCREPO_BASE_PATH
value: /staging
- name: FCREPO_HOST
value: fcrepo.default
value: fcrepo.fcrepo.svc.cluster.local
- name: FCREPO_REST_PATH
value: rest
- name: FCREPO_PORT
value: '8080'
- name: FEDORA_URL
value: http://fcrepo.default:8080/rest
value: http://fcrepo.fcrepo.svc.cluster.local:8080/rest
- name: INITIAL_ADMIN_EMAIL
value: [email protected]
- name: INITIAL_ADMIN_PASSWORD
Expand All @@ -108,37 +123,41 @@ extraEnvVars: &envVars
- name: HYRAX_FITS_PATH
value: /app/fits/fits.sh
- name: SMTP_ADDRESS
value: smtp.mailtrap.io
value: email-smtp.us-east-1.amazonaws.com
- name: SMTP_DOMAIN
value: smtp.mailtrap.io
value: atlamail.org
- name: SMTP_ENABLED
value: "true"
- name: SMTP_PASSWORD
value: $SMTP_PASSWORD
- name: SMTP_PORT
value: "2525"
value: "587"
- name: SMTP_TYPE
value: cram_md5
value: login
- name: SMTP_USER_NAME
value: 857d9918238540
value: AKIAY76XOZG5JJWFTFV5
- name: SMTP_STARTTLS
value: "true"
- name: SOLR_ADMIN_USER
value: admin
- name: SOLR_ADMIN_PASSWORD
value: $SOLR_ADMIN_PASSWORD
- name: SOLR_COLLECTION_NAME
value: hyrax-staging
- name: SOLR_CONFIGSET_NAME
value: hyrax
- name: SOLR_HOST
value: solr.default
value: solr.solr.svc.cluster.local
- name: SOLR_PORT
value: "8983"
- name: SOLR_URL
value: http://admin:$SOLR_ADMIN_PASSWORD@solr.default:8983/solr/hyrax-staging
value: http://admin:$SOLR_ADMIN_PASSWORD@solr.solr.svc.cluster.local:8983/solr/hyrax-staging
- name: RAILS_CACHE_STORE_URL
value: redis://:$REDIS_PASSWORD@staging-redis-master:6379/hyrax
- name: REDIS_PASSWORD
value: $REDIS_PASSWORD
- name: REDIS_HOST
value: staging-redis-master
value: production-redis-master
- name: REDIS_URL
value: redis://:$REDIS_PASSWORD@staging-redis-master
- name: SECRET_KEY_BASE
Expand All @@ -147,6 +166,8 @@ extraEnvVars: &envVars
value: https://[email protected]/6745022
- name: DISABLE_SPRING
value: "1"
# - name: WORKER_COUNT
# value: "5"

worker:
replicaCount: 1
Expand Down Expand Up @@ -188,15 +209,14 @@ redis:
enabled: false
password: $REDIS_PASSWORD

externalFcrepoHost: fcrepo.default.svc.cluster.local
externalFcrepoHost: fcrepo.fcrepo.svc.cluster.local
externalPostgresql:
host: hyrax20181216.cn4nhxyoxlnu.us-west-2.rds.amazonaws.com
username: hydra_user
password: $DATABASE_PASSWORD
database: hydra_staging


externalSolrHost: solr.default.svc.cluster.local
externalSolrHost: solr.solr.svc.cluster.local
externalSolrUser: admin
externalSolrCollection: "hyrax-staging"
externalSolrPassword: $SOLR_ADMIN_PASSWORD

0 comments on commit 9cc6e14

Please sign in to comment.