Skip to content

Commit

Permalink
Merge pull request #80 from eftechcombr/patch-20240718
Browse files Browse the repository at this point in the history
Update jobs
  • Loading branch information
eduardofraga authored Jul 18, 2024
2 parents 9ca49ad + a8bdb11 commit e2704fd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
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

0 comments on commit e2704fd

Please sign in to comment.