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

Release 1.30.0 #149

Merged
merged 9 commits into from
Jun 11, 2024
Merged
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 .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Get dependencies
run: |
helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
helm repo add keycloak https://codecentric.github.io/helm-charts
helm repo add keycloak https://charts.bitnami.com/bitnami
helm repo add ncsa https://opensource.ncsa.illinois.edu/charts
helm dep build

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.30.0 - 2024-06-12
- IN-CORE release 5.4.0
- Custom theme to Keycloak login page
- Upgraded Keycloak to 24.0.4
- Added Google Analytics information

## 1.29.0 - 2024-05-01
- IN-CORE release 5.3.1

Expand Down
8 changes: 4 additions & 4 deletions Chart.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies:
- name: keycloak
repository: https://codecentric.github.io/helm-charts
version: 18.4.3
repository: https://charts.bitnami.com/bitnami
version: 21.3.1
- name: postgresql
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 10.16.2
Expand All @@ -11,5 +11,5 @@ dependencies:
- name: datawolf
repository: https://opensource.ncsa.illinois.edu/charts
version: 1.0.1
digest: sha256:90fdbc158ade11459f9aaa49f450dcb01045108cefa9b785c752b79c9caa3b12
generated: "2023-10-03T15:08:15.24658-05:00"
digest: sha256:3ccaa4b1ebc8ce3acefe3f6d6ddca239220fc1bf4ae1f5024b0135db6bac4043
generated: "2024-06-03T11:11:49.1402651-05:00"
9 changes: 6 additions & 3 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ sources:
# dependencies for the helm chart, use helm dep install to the install them.
dependencies:
- name: keycloak
version: ~18
repository: https://codecentric.github.io/helm-charts
version: ~21
repository: https://charts.bitnami.com/bitnami
- name: postgresql
version: ~10
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
Expand All @@ -47,4 +47,7 @@ annotations:
- name: Helm Chart
url: https://github.com/IN-CORE/incore-helm
artifacthub.io/changes: |
- IN-CORE release 5.3.1
- IN-CORE release 5.4.0
- Custom theme to Keycloak login page
- Upgrade keycloak to 24.0.4
- Added Google Analytics information
4 changes: 4 additions & 0 deletions templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ metadata:
data:
quota.json: |
{{- .Values.quota | nindent 4 }}
ga_key.json: |
{
"GA_KEY": "{{- .Values.google_analytics }}"
}
8 changes: 8 additions & 0 deletions templates/doc-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
ports:
- containerPort: 80
name: http
volumeMounts:
- name: {{ include "incore.name" . }}-config
mountPath: /usr/share/nginx/html/doc/api/config/config.json
subPath: ga_key.json
livenessProbe:
httpGet:
path: /
Expand All @@ -39,6 +43,10 @@ spec:
port: http
resources:
{{- toYaml .Values.doc_api.resources | nindent 12 }}
volumes:
- name: {{ include "incore.name" . }}-config
configMap:
name: {{ include "incore.name" . }}
{{- with .Values.doc_api.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
8 changes: 8 additions & 0 deletions templates/doc-incore/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
ports:
- containerPort: 80
name: http
volumeMounts:
- name: {{ include "incore.name" . }}-config
mountPath: /usr/share/nginx/html/doc/incore/config/config.json
subPath: ga_key.json
livenessProbe:
httpGet:
path: /
Expand All @@ -39,6 +43,10 @@ spec:
port: http
resources:
{{- toYaml .Values.doc_incore.resources | nindent 12 }}
volumes:
- name: {{ include "incore.name" . }}-config
configMap:
name: {{ include "incore.name" . }}
{{- with .Values.doc_incore.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
8 changes: 8 additions & 0 deletions templates/doc-pyincore-data/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
ports:
- containerPort: 80
name: http
volumeMounts:
- name: {{ include "incore.name" . }}-config
mountPath: /usr/share/nginx/html/doc/pyincore_data/config/config.json
subPath: ga_key.json
livenessProbe:
httpGet:
path: /
Expand All @@ -39,6 +43,10 @@ spec:
port: http
resources:
{{- toYaml .Values.doc_pyincore_data.resources | nindent 12 }}
volumes:
- name: {{ include "incore.name" . }}-config
configMap:
name: {{ include "incore.name" . }}
{{- with .Values.doc_pyincore_data.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
8 changes: 8 additions & 0 deletions templates/doc-pyincore-viz/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
ports:
- containerPort: 80
name: http
volumeMounts:
- name: {{ include "incore.name" . }}-config
mountPath: /usr/share/nginx/html/doc/pyincore_viz/config/config.json
subPath: ga_key.json
livenessProbe:
httpGet:
path: /
Expand All @@ -39,6 +43,10 @@ spec:
port: http
resources:
{{- toYaml .Values.doc_pyincore_viz.resources | nindent 12 }}
volumes:
- name: {{ include "incore.name" . }}-config
configMap:
name: {{ include "incore.name" . }}
{{- with .Values.doc_pyincore_viz.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
8 changes: 8 additions & 0 deletions templates/doc-pyincore/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
ports:
- containerPort: 80
name: http
volumeMounts:
- name: {{ include "incore.name" . }}-config
mountPath: /usr/share/nginx/html/doc/pyincore/config/config.json
subPath: ga_key.json
livenessProbe:
httpGet:
path: /
Expand All @@ -39,6 +43,10 @@ spec:
port: http
resources:
{{- toYaml .Values.doc_pyincore.resources | nindent 12 }}
volumes:
- name: {{ include "incore.name" . }}-config
configMap:
name: {{ include "incore.name" . }}
{{- with .Values.doc_pyincore.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
6 changes: 6 additions & 0 deletions templates/frontend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
volumeMounts:
- name: {{ include "incore.name" . }}-frontend-tags
mountPath: /usr/share/nginx/html/tags
- name: {{ include "incore.name" . }}-config
mountPath: /usr/share/nginx/html/config/config.json
subPath: ga_key.json
livenessProbe:
httpGet:
path: /
Expand All @@ -46,6 +49,9 @@ spec:
- name: {{ include "incore.name" . }}-frontend-tags
persistentVolumeClaim:
claimName: {{ include "incore.name" . }}-frontend-tags
- name: {{ include "incore.name" . }}-config
configMap:
name: {{ include "incore.name" . }}
{{- with .Values.frontend.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
{{- include "incore.labels" . | nindent 4 }}
data:
KEYCLOAK_PASSWORD: {{ .Values.keycloak.password | b64enc | quote }}
KEYCLOAK_PASSWORD: {{ .Values.keycloak.auth.adminPassword | b64enc | quote }}
MAESTRO_USER_PASSWORD: {{ .Values.svc_maestro.password | b64enc | quote }}
DATA_MONGODB_URI: {{ include "incore.mongodb.uri" . | replace "@DB@" "datadb" | b64enc | quote }}
DFR3_MONGODB_URI: {{ include "incore.mongodb.uri" . | replace "@DB@" "dfr3db" | b64enc | quote }}
Expand Down
90 changes: 54 additions & 36 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ quota: |
}
}

# the following information is for embedding google analytics into IN-CORE sites
# it WILL NOT impact the operation of the site if this is NOT set up
# it is used to track usage of the site and to help improve the site
# to set up Google Analytics, you need to create a Google Analytics account
# and get the tracking id, which is a string that looks like "G-AB12CDEFGH"
# you can then set the GA_KEY to this value
google_analytics: "GA-1234"

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
Expand Down Expand Up @@ -134,7 +142,7 @@ frontend:
replicas: 1
image:
repository: frontend
tag: 1.11.0
tag: 1.12.0
service:
type: ClusterIP
port: 80
Expand Down Expand Up @@ -171,7 +179,7 @@ doc_incore:
replicas: 1
image:
repository: doc/incore
tag: 4.11.0
tag: 4.12.0
service:
type: ClusterIP
port: 80
Expand All @@ -183,7 +191,7 @@ doc_pyincore:
replicas: 1
image:
repository: doc/pyincore
tag: 1.18.1
tag: 1.19.0
service:
type: ClusterIP
port: 80
Expand All @@ -195,7 +203,7 @@ doc_pyincore_viz:
replicas: 1
image:
repository: doc/pyincore-viz
tag: 1.10.0
tag: 1.10.1
service:
type: ClusterIP
port: 80
Expand All @@ -207,7 +215,7 @@ doc_pyincore_data:
replicas: 1
image:
repository: doc/pyincore-data
tag: 0.6.2
tag: 0.6.3
service:
type: ClusterIP
port: 80
Expand All @@ -219,7 +227,7 @@ doc_api:
replicas: 1
image:
repository: doc/api
tag: v4.11.0
tag: v4.12.0
service:
type: ClusterIP
port: 80
Expand Down Expand Up @@ -539,38 +547,48 @@ postgresql:
# KEYCLOAK
# ----------------------------------------------------------------------
keycloak:
user: keycloak
password: keycloak
postgresql:
enabled: false
httpRelativePath: /auth/
auth:
adminUser: admin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not today, but we should start to use external secrets for all of this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see

adminPassword: admin
proxy: edge
ingress:
tls: []
enabled: true
tls: []
servicePort: http
hosts:
- incore.example.com
hostname: incore.example.com
rules:
- host: incore.example.com
paths:
- path: /auth/
pathType: ImplementationSpecific
extraEnv: |
- name: PROXY_ADDRESS_FORWARDING
value: "true"
- name: KEYCLOAK_USER
value: keycloak
- name: KEYCLOAK_PASSWORD
value: keycloak
- name: DB_VENDOR
value: postgres
- name: DB_ADDR
value: incore-postgresql
- name: DB_PORT
value: "5432"
- name: DB_DATABASE
value: keycloak
- name: DB_USER
value: keycloak
- name: DB_PASSWORD
value: keycloak

http:
paths:
- path: /auth/
pathType: ImplementationSpecific
service:
type: ClusterIP
postgresql:
enabled: false
externalDatabase:
host: incore-postgresql # if the chart name is changed this needs to change as well
user: keycloak # if the chart name is changed this needs to change as well
password: keycloak
database: keycloak
port: 5432
initContainers: |
- name: theme-provider
image: incorencsa/keycloak-theme:1.0.0
command:
- sh
args:
- -c
- |
echo "Copying theme..."
cp -R /app/keycloak_theme/* /theme
volumeMounts:
- name: incore-theme
mountPath: /theme
extraVolumes: |
- name: incore-theme
emptyDir: {}
extraVolumeMounts: |
- name: incore-theme
mountPath: /opt/bitnami/keycloak/themes/incore-theme
Loading