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

Update jobs #80

Merged
merged 1 commit into from
Jul 18, 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
20 changes: 12 additions & 8 deletions kubernetes/glpi-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ spec:
- name: marketplace
persistentVolumeClaim:
claimName: glpi-marketplace
restartPolicy: Never
backoffLimit: 4
restartPolicy: OnFailure
parallelism: 1
completions: 1
status: {}


Expand Down Expand Up @@ -82,8 +83,9 @@ spec:
- name: marketplace
persistentVolumeClaim:
claimName: glpi-marketplace
restartPolicy: Never
backoffLimit: 4
restartPolicy: OnFailure
parallelism: 1
completions: 1
status: {}


Expand Down Expand Up @@ -126,8 +128,9 @@ spec:
- name: marketplace
persistentVolumeClaim:
claimName: glpi-marketplace
restartPolicy: Never
backoffLimit: 4
restartPolicy: OnFailure
parallelism: 1
completions: 1
status: {}


Expand Down Expand Up @@ -170,7 +173,8 @@ spec:
- name: marketplace
persistentVolumeClaim:
claimName: glpi-marketplace
restartPolicy: Never
backoffLimit: 4
restartPolicy: OnFailure
parallelism: 1
completions: 1
status: {}

10 changes: 5 additions & 5 deletions kubernetes/mariadb-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ spec:
template:
spec:
containers:
- image: mariadb:10.6
- image: mariadb:11.4
imagePullPolicy: IfNotPresent
name: base
command:
- sh
- -c
- "mysql --host=${MARIADB_HOST} -u root -p${MARIADB_ROOT_PASSWORD} -e \"GRANT SELECT ON mysql.time_zone_name TO 'glpi'@'%'; FLUSH PRIVILEGES;\""
- "mariadb --host=${MARIADB_HOST} -u root -p${MARIADB_ROOT_PASSWORD} -e \"GRANT SELECT ON mysql.time_zone_name TO 'glpi'@'%'; FLUSH PRIVILEGES;\""
envFrom:
- secretRef:
name: mariadb-glpi-secret
- configMapRef:
name: mariadb-glpi-config

restartPolicy: Never
backoffLimit: 5
restartPolicy: OnFailure
parallelism: 1
completions: 1
status: {}

2 changes: 1 addition & 1 deletion kubernetes/mariadb-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
topologyKey: kubernetes.io/hostname
weight: 1
containers:
- image: mariadb:10.6
- image: mariadb:11.4
name: mariadb
imagePullPolicy: IfNotPresent
envFrom:
Expand Down
Loading