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

upgrade dibbs charts to 1.6.4 #52

Draft
wants to merge 3 commits 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 charts/ecr-viewer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: ecr-viewer
description: A Helm chart for the DIBBs eCR Viewer
type: application
version: 0.2.0
version: 0.2.1
15 changes: 15 additions & 0 deletions charts/ecr-viewer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,18 @@ spec:
secretKeyRef:
name: "{{.Release.Name}}-{{.Values.secretName}}"
key: source
- name: APP_ENV
valueFrom:
secretKeyRef:
name: "{{.Release.Name}}-{{.Values.secretName}}"
key: app-env
- name: NODE_ENV
valueFrom:
secretKeyRef:
name: "{{.Release.Name}}-{{.Values.secretName}}"
key: node-env
- name: NEXT_PUBLIC_BASEPATH
valueFrom:
secretKeyRef:
name: "{{.Release.Name}}-{{.Values.secretName}}"
key: next-public-basepath
3 changes: 3 additions & 0 deletions charts/ecr-viewer/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ stringData:
nbs-pub-key: {{.Values.nbsPubKey | quote }}
ecr-bucket-name: {{.Values.ecrBucketName | quote }}
source: {{.Values.source | quote }}
app-env: {{.Values.appEnv | quote }}
node-env: {{.Values.nodeEnv | quote }}
next-public-basepath: {{.Values.nextPublicBasepath | quote }}
2 changes: 1 addition & 1 deletion charts/ecr-viewer/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ spec:
image: busybox
command: ['wget']
args: [
"{{.Release.Name}}-{{.Values.serviceName}}:{{ .Values.service.port}}"
"{{.Release.Name}}-{{.Values.serviceName}}:{{ .Values.service.port}}/ecr-viewer"
]
restartPolicy: Never
5 changes: 4 additions & 1 deletion charts/ecr-viewer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ replicaCount: 1
image:
repository: ghcr.io/cdcgov/phdi/ecr-viewer
pullPolicy: IfNotPresent
tag: v1.2.1
tag: v1.6.4

service:
port: 3000
Expand All @@ -21,3 +21,6 @@ ecrViewerS3RoleArn: placeholder-arn
nbsPubKey: placeholder-key
ecrBucketName: placeholder-bucket
source: placeholder-source
appEnv: test
nodeEnv: production
nextPublicBasepath: /ecr-viewer
2 changes: 1 addition & 1 deletion charts/fhir-converter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: v2
name: fhir-converter
description: A Helm chart for Kubernetes
type: application
version: 0.2.0
version: 0.3.0
2 changes: 1 addition & 1 deletion charts/fhir-converter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ replicaCount: 1
image:
repository: ghcr.io/cdcgov/phdi/fhir-converter
pullPolicy: IfNotPresent
tag: v1.2.1
tag: v1.6.4

service:
port: 8080
Expand Down
2 changes: 1 addition & 1 deletion charts/ingestion/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: v2
name: ingestion
description: A Helm chart for the DIBBs ingestion service
type: application
version: 0.2.0
version: 0.2.1
2 changes: 1 addition & 1 deletion charts/ingestion/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ replicaCount: 1
image:
repository: ghcr.io/cdcgov/phdi/ingestion
pullPolicy: IfNotPresent
tag: v1.2.1
tag: v1.6.4

service:
port: 8080
Expand Down
2 changes: 1 addition & 1 deletion charts/message-parser/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: v2
name: message-parser
description: A Helm chart for Kubernetes
type: application
version: 0.2.0
version: 0.2.1
2 changes: 1 addition & 1 deletion charts/message-parser/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ replicaCount: 1
image:
repository: ghcr.io/cdcgov/phdi/message-parser
pullPolicy: IfNotPresent
tag: v1.2.1
tag: v1.6.4

service:
port: 8080
Expand Down
2 changes: 1 addition & 1 deletion charts/orchestration/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: v2
name: orchestration
description: A Helm chart for Kubernetes
type: application
version: 0.2.0
version: 0.2.1
2 changes: 1 addition & 1 deletion charts/orchestration/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ replicaCount: 1
image:
repository: ghcr.io/cdcgov/phdi/orchestration
pullPolicy: IfNotPresent
tag: v1.2.1
tag: v1.6.4

service:
port: 8080
Expand Down
2 changes: 1 addition & 1 deletion charts/tefca-viewer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: v2
name: tefca-viewer
description: A Helm chart for Kubernetes
type: application
version: 0.3.0
version: 0.4.20
11 changes: 10 additions & 1 deletion charts/tefca-viewer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
imagePullSecrets:
containers:
- name: {{.Chart.Name}}
image: ghcr.io/cdcgov/phdi/{{.Values.name}}:{{ .Values.image.tag }}
image: ghcr.io/cdcgov/phdi/{{.Values.name}}:{{.Values.image.tag}}
imagePullPolicy: {{.Values.image.pullPolicy}}
ports:
- name: {{.Chart.Name | trunc 15}}
Expand All @@ -28,3 +28,12 @@ spec:
value: {{.Values.fhirUrl}}
- name: cred_manager
value: {{.Values.credManager}}
- name: DATABASE_URL
value: {{.Values.databaseConnectionString}}
command: ["/bin/sh"]
args: ["-c", "echo DATABASE_URL={{.Values.databaseConnectionString}} > containers/tefca-viewer/tefca.env && node containers/tefca-viewer/server.js"]
# initContainers:
# - name: flyway
# image: ghcr.io/cdcgov/phdi/{{.Values.name}}-flyway:v1.6.6
# imagePullPolicy: {{.Values.image.pullPolicy}}
# args: ["-schemas=public", "-connectRetries=10", "-url={{.Values.jdbcDatabaseUrl}}", "-user={{.Values.jdbcDatabaseUser}}", "-password={{.Values.jdbcDatabasePassword}}", "-locations=filesystem:/flyway/sql", "migrate"]
6 changes: 6 additions & 0 deletions charts/tefca-viewer/templates/serviceAccount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{.Values.name}}
annotations:
eks.amazonaws.com/role-arn: {{.Values.tefcaViewerDBRoleArn}}
14 changes: 13 additions & 1 deletion charts/tefca-viewer/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ spec:
image: busybox
command: ["wget"]
args: [
"{{.Release.Name}}-{{.Values.serviceName}}:{{ .Values.service.port}}/tefca-viewer"
"{{.Release.Name}}-{{.Values.serviceName}}:{{.Values.service.port}}/tefca-viewer"
]
# initContainers:
# - name: db
# image: postgres:alpine
# ports:
# - containerPort: 5432
# env:
# - name: POSTGRES_DB
# value: tefca_db
# - name: POSTGRES_USER
# value: postgres
# - name: POSTGRES_PASSWORD
# value: pw
restartPolicy: Never
9 changes: 8 additions & 1 deletion charts/tefca-viewer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@ replicaCount: 1
image:
repository: ghcr.io/cdcgov/phdi/tefca-viewer
pullPolicy: Always
tag: dev
tag: v1.6.3

service:
port: 3000

name: tefca-viewer
appName: tefca-viewer-app
serviceName: tefca-viewer-service
tefcaViewerDBRoleArn: placeholder-arn
jdbcDatabaseUrl: jdbc-placeholder-string
jdbcDatabaseUser: postgres
jdbcDatabasePassword: pw
#jdbc:postgresql://db:5432/tefca_db?user=postgres&password=pw&ssl=true
databaseConnectionString: jdbc-placeholder-string
#postgres://postgres:pw@db:5432/tefca_db
2 changes: 1 addition & 1 deletion charts/trigger-code-reference/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: v2
name: trigger-code-reference
description: A Helm chart for Kubernetes
type: application
version: 0.2.0
version: 0.2.1
2 changes: 1 addition & 1 deletion charts/trigger-code-reference/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ replicaCount: 1
image:
repository: ghcr.io/cdcgov/phdi/trigger-code-reference
pullPolicy: IfNotPresent
tag: v1.4.1
tag: v1.6.4

service:
port: 8080
Expand Down
2 changes: 1 addition & 1 deletion charts/validation/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ apiVersion: v2
name: validation
description: A Helm chart for the DIBBs Validation Service
type: application
version: 0.2.0
version: 0.2.1
icon: https://commons.wikimedia.org/wiki/File:US_CDC_logo.svg
2 changes: 1 addition & 1 deletion charts/validation/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replicaCount: 1
image:
repository: ghcr.io/cdcgov/phdi/validation
pullPolicy: IfNotPresent
tag: v1.2.1
tag: v1.6.4

service:
port: 80
Expand Down
Loading