Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get helm chart updated along with values and enable fits as a service #247

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/helm_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DEPLOY_TAG="${DEPLOY_TAG:-latest}"
WORKER_TAG="${WORKER_TAG:-$DEPLOY_TAG}"
echo $DEPLOY_TAG

CHART_VERSION="${CHART_VERSION:-2.0.0}"
CHART_VERSION="${CHART_VERSION:-3.5.1}"
helm pull --untar oci://ghcr.io/samvera/charts/hyrax --version $CHART_VERSION
helm repo update

Expand Down
2 changes: 1 addition & 1 deletion hyrax-webapp
Submodule hyrax-webapp updated 429 files
107 changes: 54 additions & 53 deletions ops/production-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,26 +60,40 @@ ingress:
- '*.hykuup.com'

extraEnvVars: &envVars
- name: BUNDLE_LOCAL__HYKU_KNAPSACK
value: /app/samvera
- name: BUNDLE_DISABLE_LOCAL_BRANCH_CHECK
value: "true"
# value: $GOOGLE_ANALYTICS_ID
# value: $GOOGLE_OAUTH_PRIVATE_KEY_SECRET
# value: $GOOGLE_OAUTH_PRIVATE_KEY_VALUE
# value: '1.0'
# value: atla-hyku-production
# value: [email protected]
# value: prod-cred.p12
# - name: GOOGLE_ANALYTICS_ID
# - name: GOOGLE_OAUTH_APP_NAME
# - name: GOOGLE_OAUTH_APP_VERSION
# - name: GOOGLE_OAUTH_CLIENT_EMAIL
# - name: GOOGLE_OAUTH_PRIVATE_KEY_PATH
# - name: GOOGLE_OAUTH_PRIVATE_KEY_SECRET
# - name: GOOGLE_OAUTH_PRIVATE_KEY_VALUE
- name: BUNDLE_BUNDLER_INJECT__GEM_PATH
value: /app/samvera/bundler.d
- name: BUNDLE_DISABLE_LOCAL_BRANCH_CHECK
value: "true"
- name: BUNDLE_LOCAL__HYKU_KNAPSACK
value: /app/samvera
- name: CONFDIR
value: "/app/samvera/hyrax-webapp/solr/conf"
- name: DB_ADAPTER
value: postgresql
- name: DB_ADVISORY_LOCKS
value: "false"
- name: DB_PREPARED_STATEMENTS
value: "false"
- name: DB_HOST
value: acid-postgres-cluster-delta.postgres.svc.cluster.local
- name: DB_NAME
value: hykuup_production
- name: DB_PASSWORD
value: $DB_PASSWORD
- name: DB_PREPARED_STATEMENTS
value: "false"
- name: DB_USER
value: hykuup_production
- name: DISABLE_SPRING
Expand All @@ -88,70 +102,54 @@ extraEnvVars: &envVars
value: /hykuup
- name: FCREPO_HOST
value: fcrepo.fcrepo.svc.cluster.local
- name: FCREPO_REST_PATH
value: rest
- name: FCREPO_PATH
value: /rest
- name: FCREPO_REST_PATH
value: rest
- name: FCREPO_URL
value: http://fcrepo.fcrepo.svc.cluster.local:8080/rest
- name: HYRAX_ANALYTICS
value: 'false'
# - name: GOOGLE_ANALYTICS_ID
# value: $GOOGLE_ANALYTICS_ID
# - name: GOOGLE_OAUTH_APP_NAME
# value: atla-hyku-production
# - name: GOOGLE_OAUTH_APP_VERSION
# value: '1.0'
# - name: GOOGLE_OAUTH_PRIVATE_KEY_SECRET
# value: $GOOGLE_OAUTH_PRIVATE_KEY_SECRET
# - name: GOOGLE_OAUTH_PRIVATE_KEY_PATH
# value: prod-cred.p12
# - name: GOOGLE_OAUTH_PRIVATE_KEY_VALUE
# value: $GOOGLE_OAUTH_PRIVATE_KEY_VALUE
# - name: GOOGLE_OAUTH_CLIENT_EMAIL
# value: [email protected]
- name: HYRAX_ACTIVE_JOB_QUEUE
value: sidekiq
- name: HYRAX_FITS_PATH
value: /app/fits/fits.sh
- name: HYRAX_VALKYRIE
value: "true"
- name: HYKU_ADMIN_HOST
value: admin.hykuup.com
- name: HYKU_ADMIN_ONLY_TENANT_CREATION
value: 'false'
- name: HYKU_ALLOW_SIGNUP
value: 'false'
- name: HYKU_BULKRAX_ENABLED
value: 'true'
- name: HYKU_BLOCK_VALKYRIE_REDIRECT
value: "false"
- name: HYKU_CONTACT_EMAIL
value: [email protected]
- name: HYKU_BULKRAX_ENABLED
value: "true"
- name: HYKU_CONTACT_EMAIL_TO
value: [email protected]
- name: HYKU_CONTACT_EMAIL
value: [email protected]
- name: HYKU_DEFAULT_HOST
value: "%{tenant}.hykuup.com"
- name: HYKU_ENABLED
value: "true"
- name: HYKU_FILE_ACL
value: "true"
- name: HYKU_MULTITENANT
value: "true"
- name: HYKU_ROOT_HOST
value: hykuup.com
- name: HYRAX_ACTIVE_JOB_QUEUE
value: sidekiq
- name: HYRAX_ANALYTICS
value: "false"
- name: HYRAX_FITS_PATH
value: /app/fits/fits.sh
- name: HYRAX_USE_SOLR_GRAPH_NESTING
value: "true"
- name: HYRAX_VALKYRIE
value: "true"
- name: INITIAL_ADMIN_EMAIL
value: [email protected]
- name: INITIAL_ADMIN_PASSWORD
value: testing123
- name: HYRAX_USE_SOLR_GRAPH_NESTING
value: "true"
- name: IN_DOCKER
value: "true"
- name: LD_LIBRARY_PATH
value: /app/fits/tools/mediainfo/linux
- name: PASSENGER_APP_ENV
value: production
- name: NEGATIVE_CAPTCHA_SECRET
value: $NEGATIVE_CAPTCHA_SECRET
- name: RAILS_CACHE_STORE_URL
value: redis://:$REDIS_PASSWORD@hykuup-knapsack-production-redis-master:6379/hykuup-hyku
- name: RAILS_ENV
Expand All @@ -164,10 +162,10 @@ extraEnvVars: &envVars
value: "true"
- name: REDIS_HOST
value: hykuup-knapsack-production-redis-master
- name: REDIS_PORT
value: '6379'
- name: REDIS_PASSWORD
value: $REDIS_PASSWORD
- name: REDIS_PORT
value: '6379'
- name: REDIS_URL
value: redis://:$REDIS_PASSWORD@hykuup-knapsack-production-redis-master:6379/hykuup-hyku
- name: SECRET_KEY_BASE
Expand Down Expand Up @@ -225,6 +223,9 @@ podSecurityContext: &podSecValues

worker:
replicaCount: 1
extraVolumeMounts: *volMounts
extraEnvVars: *envVars
podSecurityContext: *podSecValues
resources:
limits:
memory: "6Gi"
Expand All @@ -237,9 +238,6 @@ worker:
runAsGroup: 101
fsGroup: 101
fsGroupChangePolicy: "OnRootMismatch"
extraVolumeMounts: *volMounts
extraEnvVars: *envVars
podSecurityContext: *podSecValues

embargoRelease:
enabled: false
Expand All @@ -252,27 +250,30 @@ postgresql:
enabled: false

redis:
persistence:
enabled: true
storageClass: ebs
cluster:
enabled: false
password: $REDIS_PASSWORD

enabled: true
architecture: standalone
auth:
password: $REDIS_PASSWORD
solr:
enabled: false
fits:
enabled: true
servicePort: 8080
subPath: /fits

externalFcrepoHost: fcrepo.fcrepo.svc.cluster.local

externalPostgresql:
host: acid-postgres-cluster-delta.postgres.svc.cluster.local
username: hykuup_production
password: $DB_PASSWORD
database: hykuup_production

externalSolrPassword: $SOLR_ADMIN_PASSWORD

externalSolrHost: solr.solr.svc.cluster.local
externalSolrUser: admin
externalSolrCollection: "hykuup-hyku"
externalSolrPassword: $SOLR_ADMIN_PASSWORD

nginx:
enabled: false
Expand Down
Loading
Loading