Skip to content

Commit

Permalink
Add emtdata chart (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock authored May 13, 2024
1 parent 819c929 commit ff24d62
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/config/namespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ metadata:
name: chatsqc
labels:
osc.edu/role: webservice
---
apiVersion: v1
kind: Namespace
metadata:
name: emtdata
labels:
osc.edu/role: webservice
1 change: 1 addition & 0 deletions .github/workflows/test-private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- webmo
- emthub
- chatsqc
- emtdata
name: Test Install Helm Chart ${{ matrix.chart }}
steps:
- name: Checkout
Expand Down
24 changes: 24 additions & 0 deletions charts-private/emtdata/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
*.gpg
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
13 changes: 13 additions & 0 deletions charts-private/emtdata/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v2
name: emtdata
description: OSC emtdata web service
type: application
version: 0.1.0
appVersion: v0.1.0
maintainers:
- name: treydock
dependencies:
- name: webservice
version: 0.34.1
repository: https://osc.github.io/osc-helm-charts/
# repository: file://../../charts/webservice
14 changes: 14 additions & 0 deletions charts-private/emtdata/ci/test-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
global:
environment: dev
imagePullSecret:
password: IMAGE-PULL-PASSWORD
nodeSelectorRole: test
webservice:
mounts:
rwDir:
project: null
auth:
oidcIssuerURL: http://keycloak.keycloak.svc.cluster.local/realms/master
cookieSecret: KMdIWJeLDNssdLoaXxiLBw==
ingress:
host: test.local
55 changes: 55 additions & 0 deletions charts-private/emtdata/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
global:
environment: ""
imageTag: v0.1.0
oscServiceAccount: emthub
env:
production:
replicas: 2
image:
tag: '{{ .Values.global.imageTag }}'
test:
replicas: 2
image:
tag: '{{ .Values.global.imageTag }}'
dev:
replicas: 1
image:
tag: latest
podResources:
limits:
cpu: 2
memory: 2Gi
requests:
cpu: 500m
memory: 265Mi
maintenance:
groups:
- wiagstf
webservice:
appType: rshiny
containers:
- name: web
startCommand: 'R --no-save --slave -f /app/entrypoint_web.R --args $$PORT'
ingressPath: /
- name: api
startCommand: 'R --no-save --slave -f /app/entrypoint_api.R --args $$PORT'
ingressPath: /api
auth:
enable: true
skipAuthRoute: "/api/*"
idpHost: EXTERNAL-DATA
clientSecret: EXTERNAL-SECRET
cookieSecret: EXTERNAL-SECRET
workingDir: /app
image:
repository: docker-registry.osc.edu/webservices/emt-api
env:
- name: DB_LOCATION
value: '/fs/ess/PAS2531/emthub/API/users_db/{{ include "osc.common.environment" . }}/users_db_{{ include "osc.common.environment" . }}.db'
mounts:
rwDir:
project: /fs/ess/PAS2531
alert:
receiver: emthub
debugGroups:
- wiagstf

0 comments on commit ff24d62

Please sign in to comment.