mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:47:32 +00:00
feat(operator): enable specifying custom acme authority for subdomains (#1634)
* feat: enable specifying custom acme authority for subdomains * test: none authority * chore: use latest ORBOS * chore: use latest ORBOS * test: host tls secret is unmanaged if not provided * chore: use latest ORBOS * chore: use latest ORBOS * fix: default acme authority to "none" * chore: use latest ORBOS * chore: compile with latest ORBOS
This commit is contained in:
@@ -42,7 +42,7 @@ func BackupCommand(getRv GetRootValues) *cobra.Command {
|
||||
return errors.New("backup command is only supported with the --gitops flag yet")
|
||||
}
|
||||
|
||||
k8sClient, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops)
|
||||
k8sClient, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops, true)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
@@ -48,7 +48,7 @@ func ConfigCommand(getRv GetRootValues, ghClientID, ghClientSecret string) *cobr
|
||||
return err
|
||||
}
|
||||
|
||||
k8sClient, err := cli.Client(rv.Monitor, rv.OrbConfig, rv.GitClient, rv.Kubeconfig, rv.Gitops)
|
||||
k8sClient, err := cli.Client(rv.Monitor, rv.OrbConfig, rv.GitClient, rv.Kubeconfig, rv.Gitops, false)
|
||||
if err != nil {
|
||||
rv.Monitor.WithField("reason", err.Error()).Info("Continuing without having a Kubernetes connection")
|
||||
err = nil
|
||||
|
@@ -36,7 +36,7 @@ func ReadSecretCommand(getRv GetRootValues) *cobra.Command {
|
||||
path = args[0]
|
||||
}
|
||||
|
||||
k8sClient, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops)
|
||||
k8sClient, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops, true)
|
||||
if err != nil && !rv.Gitops {
|
||||
return err
|
||||
}
|
||||
|
@@ -43,7 +43,7 @@ func RestoreCommand(getRv GetRootValues) *cobra.Command {
|
||||
return errors.New("restore command is only supported with the --gitops flag yet")
|
||||
}
|
||||
|
||||
k8sClient, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops)
|
||||
k8sClient, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops, true)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
@@ -42,6 +42,7 @@ func TakeoffCommand(getRv GetRootValues) *cobra.Command {
|
||||
gitClient,
|
||||
rv.Kubeconfig,
|
||||
rv.Gitops,
|
||||
true,
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
|
@@ -59,7 +59,7 @@ cat ~/googlecloudstoragesa.json | zitadelctl writesecret database.bucket.service
|
||||
path = args[0]
|
||||
}
|
||||
|
||||
k8sClient, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops)
|
||||
k8sClient, err := cli.Client(monitor, orbConfig, gitClient, rv.Kubeconfig, rv.Gitops, true)
|
||||
if err != nil && !rv.Gitops {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user