Skip to content

Commit

Permalink
Merge pull request #111 from Calcagiara/keystores
Browse files Browse the repository at this point in the history
Keystores
  • Loading branch information
ffais committed Aug 28, 2024
2 parents c4e9582 + 0c40d65 commit 31dae4d
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/aac/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: aac
description: A Helm chart for Kubernetes
type: application
version: 0.1.9
version: 0.1.10
appVersion: "5.0.0"
maintainers:
- name: ffais
Expand Down
2 changes: 1 addition & 1 deletion charts/aac/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ data:
APPLICATION_EXT_URL: {{ .Values.config.applicationExtUrl }}
APPLICATION_EMAIL: {{ .Values.config.mailSender }}
{{ if .Values.config.keystorePath -}}
JWK_KEYSTORE: {{ .Values.config.keystorePath }}
JWK_KEYSTORE: "/etc/keystore/{{ .Values.keystore.keyName }}"
{{ end -}}
14 changes: 12 additions & 2 deletions charts/aac/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,25 @@ spec:
protocol: TCP
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- if .Values.keystore.secretName }}
- name: keystore
mountPath: "/etc/keystore/{{ .Values.keystore.keyName }}"
subPath: {{ .Values.keystore.keyName }}
{{- end }}
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
envFrom:
- configMapRef:
name: {{ include "aac.fullname" . }}
{{- with .Values.volumes }}
volumes:
{{- if .Values.keystore.secretName }}
- name: keystore
secret:
secretName: {{ .Values.keystore.secretName }}
{{- end }}
{{- with .Values.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
Expand Down
5 changes: 4 additions & 1 deletion charts/aac/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ config:
mailSender: ""
mailDebug: "false"
applicationExtUrl: ""
keystorePath: ""

# Secrets

Expand Down Expand Up @@ -175,3 +174,7 @@ secrets:
annotations: {}
reflector:
enabled: false

keystore:
secretName: ""
keyName: ""
2 changes: 1 addition & 1 deletion charts/core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: core
description: Core backend application for DigitalHub.
type: application
version: 0.2.2
version: 0.2.3
appVersion: "0.7.0-beta3"
maintainers:
- name: ffais
Expand Down
2 changes: 1 addition & 1 deletion charts/core/templates/configmap-digitalhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data:
POSTGRES_SCHEMA: {{ .Values.postgres.schema }}
S3_BUCKET_NAME: {{ .Values.minio.bucket }}
KFP_ENDPOINT: {{ .Values.kfp.endpoint }}
DIGITALHUB_CORE_WORKFLOW_IMAGE: {{ .Values.runtime.kfp.image }}
DHCORE_WORKFLOW_IMAGE: {{ .Values.runtime.kfp.image }}
KFP_ENDPOINT: http://ml-pipeline:8888
MLRUN_DBPATH: http://mlrun-api:8080
DHCORE_ENDPOINT: "{{ include "core.endpoint" . }}"
Expand Down
1 change: 1 addition & 0 deletions charts/core/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ data:
{{- if .Values.profiles }}
K8S_TEMPLATES: {{ include "core.profiles" . | quote }}
{{- end }}
K8S_INIT_IMAGE: "{{ .Values.initImage.builderTool.image }}:{{ .Values.initImage.builderTool.tag }}"
9 changes: 7 additions & 2 deletions charts/core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,21 @@ kfp:
runtime:
dbt:
image: "ghcr.io/scc-digitalhub/digitalhub-sdk/wrapper-dbt"
tag: "0.7.0b2"
tag: "0.7.0b3"
kfp:
image: "ghcr.io/scc-digitalhub/digitalhub-sdk/wrapper-kfp"
tag: "0.7.0b2"
tag: "0.7.0b3"
python:
image: "ghcr.io/scc-digitalhub/digitalhub-serverless/python-runtime"
tag3_9: "3.9-0.7.0b2"
tag3_10: "3.10-0.7.0b2"
tag3_11: "3.11-0.7.0b2"

initImage:
builderTool:
image: "ghcr.io/scc-digitalhub/digitalhub-core-builder-tool"
tag: "latest"

authentication:
basic:
enabled: true
Expand Down

0 comments on commit 31dae4d

Please sign in to comment.