feat: enable running ZITADEL offline (#1894)

* feat: enable running ZITADEL offline

* refactor: move operator image to common images

* test: remove empty test
This commit is contained in:
Elio Bischof
2021-06-25 08:56:22 +00:00
committed by GitHub
parent c6c60d1d2a
commit b2b53ae9e1
44 changed files with 408 additions and 127 deletions
@@ -21,7 +21,6 @@ const (
backupNameEnv = "BACKUP_NAME"
cronJobNamePrefix = "backup-"
internalSecretName = "client-certs"
image = "ghcr.io/caos/zitadel-crbackup"
rootSecretName = "cockroachdb.client.root"
timeout = 15 * time.Minute
Normal = "backup"
@@ -43,7 +42,7 @@ func AdaptFunc(
nodeselector map[string]string,
tolerations []corev1.Toleration,
features []string,
version string,
image string,
) (
queryFunc operator.QueryFunc,
destroyFunc operator.DestroyFunc,
@@ -63,8 +62,8 @@ func AdaptFunc(
secretName,
secretKey,
backupName,
version,
command,
image,
)
destroyers := []operator.DestroyFunc{}