Skip to content

Commit

Permalink
dbildungs-iam-server
Browse files Browse the repository at this point in the history
  • Loading branch information
dbildungs-iam-server-gha committed Nov 25, 2024
1 parent 0330a50 commit d42ea83
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion automation/dbildungs-iam-server/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
version: 20.3.0
digest: sha256:a42635c8459b26a7c01fd2cfeeba7cbb250bef345be41c70b8bfcd0025379057
generated: "2024-11-25T15:54:05.745668625Z"
generated: "2024-11-25T16:12:20.270642604Z"
4 changes: 2 additions & 2 deletions automation/dbildungs-iam-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: DBP-0000
appVersion: 0.9.1
dependencies:
- condition: redis.enabled
name: redis
Expand All @@ -8,4 +8,4 @@ dependencies:
description: dBildungs-IAM-server
name: dbildungs-iam-server
type: application
version: 0.0.0-dbp-0000-20241125-1554
version: 0.9.1
13 changes: 8 additions & 5 deletions automation/dbildungs-iam-server/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ spec:
image: "{{ $.Values.cronjobs.image.repository }}:{{ $.Values.cronjobs.image.tag }}"
imagePullPolicy: {{ $.Values.cronjobs.image.pullPolicy | default "Always"}}
securityContext:
privileged: false
runAsUser: 1000
runAsNonRoot: true
# not yet possible since we need to install some tools
# privileged: false
# runAsUser: 1000
# runAsNonRoot: true
capabilities:
drop:
- ALL
Expand All @@ -51,6 +52,9 @@ spec:
- "sh"
- "-c"
- |
mkdir /scripts &&
cp /scripts_tmp/*.sh /scripts/ &&
chmod +x /scripts/*.sh &&
touch /var/log/cron.log &&
chmod 644 /var/log/cron.log &&
cd {{ $.Values.cronjobs.scriptDir }} &&
Expand All @@ -61,8 +65,7 @@ spec:
subPath: jwks.json
readOnly: true
- name: script-volume
mountPath: /scripts
defaultMode: 0555
mountPath: /scripts_tmp
readOnly: false
ports:
- containerPort: {{ $.Values.cronjobs.port }}
Expand Down
2 changes: 1 addition & 1 deletion automation/dbildungs-iam-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ status:
cronjobs:
enabled: true
image:
tag: '1.1.0'
tag: DBP-1083-latest
repository: ghcr.io/hpi-schul-cloud/cron-tools
pullPolicy: IfNotPresent
port: 5656
Expand Down

0 comments on commit d42ea83

Please sign in to comment.