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:
Elio Bischof
2021-04-28 11:00:56 +02:00
committed by GitHub
parent fd3ac0dbd6
commit fe4f6a963e
13 changed files with 95 additions and 127 deletions

View File

@@ -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
}

View File

@@ -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

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -42,6 +42,7 @@ func TakeoffCommand(getRv GetRootValues) *cobra.Command {
gitClient,
rv.Kubeconfig,
rv.Gitops,
true,
)
if err != nil {
return err

View File

@@ -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
}