Skip to content

Commit

Permalink
Add config for operator names
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Wilk <[email protected]>
  • Loading branch information
kliwniloc committed Oct 29, 2024
1 parent 3941bfe commit 58f0f8f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/helm_pr_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
--set application.versioncontrol.url="https://pr${{ github.event.pull_request.number }}.artemis-k8s.ase.cit.tum.de" \
--set application.userManagement.internalAdmin.username=admin \
--set application.userManagement.internalAdmin.password=${{ secrets.ADMIN_PW }} \
--set application.operator.name="Technical University of Munich" \
--set application.operator.admin_name="Stephan Krusche" \
--set artemisVersion=${{ github.sha }} \
--timeout 15m \
--wait
Expand Down
2 changes: 2 additions & 0 deletions helm/artemis/templates/configmaps/artemis-configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
data:
SPRING_DATASOURCE_URL: jdbc:mysql://artemis-mysql/artemis?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true
SPRING_PROFILES_ACTIVE: {{ include "artemis.springprofiles" .}}
INFO_OPERATORNAME: {{ .Values.application.operator.name }}
INFO_OPERATORADMINNAME: {{ .Values.application.operator.admin_name }}
artemis.file-upload-path: {{ .Values.artemis.volumes.mountPath }}/uploads
artemis.submission-export-path: {{ .Values.artemis.volumes.mountPath }}/exports
artemis.repo-clone-path: {{ .Values.artemis.volumes.mountPath }}/repos
Expand Down
4 changes: 4 additions & 0 deletions helm/artemis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ application:
allowedUsernamePattern: ''
# allowedUsernamePattern: '^([a-z]{2}\d{2}[a-z]{3})$'zs # example for a TUM identifier, e.g. ab12cde

operator:
name: "Example University Name" # FIXME: Set the name of your university
admin_name: "Max Mustermann" # FIXME: Set the name of the main admin

# Local Version Control configuration
versioncontrol:
provider: "localvc"
Expand Down

0 comments on commit 58f0f8f

Please sign in to comment.