fix(backup): nats service check (#1625)

This commit is contained in:
aby913 2025-07-26 00:28:43 +08:00 committed by GitHub
parent d0351aed9c
commit 2b46e87baa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
{{ $backupVersion := "0.3.42" }}
{{ $backupVersion := "0.3.43" }}
{{ $backup_server_rootpath := printf "%s%s" .Values.rootPath "/rootfs/backup-server" }}
{{- $backup_nats_secret := (lookup "v1" "Secret" .Release.Namespace "backup-nats-secret") -}}
@ -63,6 +63,13 @@ spec:
hostPath:
path: '{{ .Values.rootPath }}/share'
serviceAccountName: os-internal
initContainers:
- args:
- -it
- nats.os-platform:4222
image: owncloudci/wait-for:latest
imagePullPolicy: IfNotPresent
name: check-nats
containers:
- name: api
image: beclab/backup-server:v{{ $backupVersion }}