mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 14:37:34 +00:00
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:
@@ -1,7 +1,7 @@
|
||||
package kubernetes
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/caos/zitadel/operator/common"
|
||||
|
||||
"gopkg.in/yaml.v3"
|
||||
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
|
||||
@@ -23,7 +23,7 @@ func EnsureZitadelOperatorArtifacts(
|
||||
version string,
|
||||
nodeselector map[string]string,
|
||||
tolerations []core.Toleration,
|
||||
imageRegistry string,
|
||||
customImageRegistry string,
|
||||
gitops bool,
|
||||
) error {
|
||||
|
||||
@@ -268,7 +268,7 @@ status:
|
||||
Containers: []core.Container{{
|
||||
Name: "zitadel",
|
||||
ImagePullPolicy: core.PullIfNotPresent,
|
||||
Image: fmt.Sprintf("%s/caos/zitadel-operator:%s", imageRegistry, version),
|
||||
Image: common.ZITADELOperatorImage.Reference(customImageRegistry, version),
|
||||
Command: cmd,
|
||||
Args: []string{},
|
||||
Ports: []core.ContainerPort{{
|
||||
@@ -329,7 +329,7 @@ func EnsureDatabaseArtifacts(
|
||||
version string,
|
||||
nodeselector map[string]string,
|
||||
tolerations []core.Toleration,
|
||||
imageRegistry string,
|
||||
customImageRegistry string,
|
||||
gitops bool) error {
|
||||
|
||||
monitor.WithFields(map[string]interface{}{
|
||||
@@ -566,7 +566,7 @@ status:
|
||||
Containers: []core.Container{{
|
||||
Name: "database",
|
||||
ImagePullPolicy: core.PullIfNotPresent,
|
||||
Image: fmt.Sprintf("%s/caos/zitadel-operator:%s", imageRegistry, version),
|
||||
Image: common.ZITADELOperatorImage.Reference(customImageRegistry, version),
|
||||
Command: cmd,
|
||||
Args: []string{},
|
||||
Ports: []core.ContainerPort{{
|
||||
|
Reference in New Issue
Block a user