diff --git a/.changes/unreleased/operator-Added-20251001-165206.yaml b/.changes/unreleased/operator-Added-20251001-165206.yaml new file mode 100644 index 000000000..2041dff30 --- /dev/null +++ b/.changes/unreleased/operator-Added-20251001-165206.yaml @@ -0,0 +1,4 @@ +project: operator +kind: Added +body: Added a new `Console` CRD for managing a [Redpanda Console](https://github.com/redpanda-data/console/) deployments. For examples, see [`acceptance/features/console.feature`](../acceptance/features/console.feature). +time: 2025-10-01T16:52:06.679323-04:00 diff --git a/.changes/unreleased/operator-Deprecated-20251001-170958.yaml b/.changes/unreleased/operator-Deprecated-20251001-170958.yaml new file mode 100644 index 000000000..283218259 --- /dev/null +++ b/.changes/unreleased/operator-Deprecated-20251001-170958.yaml @@ -0,0 +1,4 @@ +project: operator +kind: Deprecated +body: The Redpanda console stanza (`.spec.clusterSpec.console`) is now deprecated in favor of the stand-alone Console CRD. +time: 2025-10-01T17:09:58.327552-04:00 diff --git a/acceptance/features/console.feature b/acceptance/features/console.feature new file mode 100644 index 000000000..5365683a1 --- /dev/null +++ b/acceptance/features/console.feature @@ -0,0 +1,80 @@ +@cluster:basic +Feature: Console CRDs + Background: Cluster available + Given cluster "basic" is available + + Scenario: Using clusterRef + When I apply Kubernetes manifest: + ```yaml + --- + apiVersion: cluster.redpanda.com/v1alpha2 + kind: Console + metadata: + name: console + spec: + cluster: + clusterRef: + name: basic + ``` + Then Console "console" will be healthy + # These steps demonstrate that console is correctly connected to Redpanda (Kafka, Schema Registry, and Admin API). + And I exec "curl localhost:8080/api/schema-registry/mode" in a Pod matching "app.kubernetes.io/instance=console", it will output: + ``` + {"mode":"READWRITE"} + ``` + And I exec "curl localhost:8080/api/topics" in a Pod matching "app.kubernetes.io/instance=console", it will output: + ``` + {"topics":[{"topicName":"_schemas","isInternal":false,"partitionCount":1,"replicationFactor":1,"cleanupPolicy":"compact","documentation":"NOT_CONFIGURED","logDirSummary":{"totalSizeBytes":117}}]} + ``` + And I exec "curl localhost:8080/api/console/endpoints | grep -o '{[^{}]*DebugBundleService[^{}]*}'" in a Pod matching "app.kubernetes.io/instance=console", it will output: + ``` + {"endpoint":"redpanda.api.console.v1alpha1.DebugBundleService","method":"POST","isSupported":true} + ``` + + Scenario: Using staticConfig + When I apply Kubernetes manifest: + ```yaml + --- + apiVersion: cluster.redpanda.com/v1alpha2 + kind: Console + metadata: + name: console + spec: + cluster: + staticConfiguration: + kafka: + brokers: + - basic-0.basic.${NAMESPACE}.svc.cluster.local.:9093 + tls: + caCertSecretRef: + name: "basic-default-cert" + key: "ca.crt" + admin: + urls: + - https://basic-0.basic.${NAMESPACE}.svc.cluster.local.:9644 + tls: + caCertSecretRef: + name: "basic-default-cert" + key: "ca.crt" + schemaRegistry: + urls: + - https://basic-0.basic.${NAMESPACE}.svc.cluster.local.:8081 + tls: + caCertSecretRef: + name: "basic-default-cert" + key: "ca.crt" + ``` + Then Console "console" will be healthy + # These steps demonstrate that console is correctly connected to Redpanda (Kafka, Schema Registry, and Admin API). + And I exec "curl localhost:8080/api/schema-registry/mode" in a Pod matching "app.kubernetes.io/instance=console", it will output: + ``` + {"mode":"READWRITE"} + ``` + And I exec "curl localhost:8080/api/topics" in a Pod matching "app.kubernetes.io/instance=console", it will output: + ``` + {"topics":[{"topicName":"_schemas","isInternal":false,"partitionCount":1,"replicationFactor":1,"cleanupPolicy":"compact","documentation":"NOT_CONFIGURED","logDirSummary":{"totalSizeBytes":117}}]} + ``` + And I exec "curl localhost:8080/api/console/endpoints | grep -o '{[^{}]*DebugBundleService[^{}]*}'" in a Pod matching "app.kubernetes.io/instance=console", it will output: + ``` + {"endpoint":"redpanda.api.console.v1alpha1.DebugBundleService","method":"POST","isSupported":true} + ``` diff --git a/acceptance/main_test.go b/acceptance/main_test.go index 19814c1ae..62d414e60 100644 --- a/acceptance/main_test.go +++ b/acceptance/main_test.go @@ -75,6 +75,14 @@ var setupSuite = sync.OnceValues(func() (*framework.Suite, error) { CreateNamespace: true, Values: map[string]any{ "installCRDs": true, + "global": map[string]any{ + // Make leader election more aggressive as cert-manager appears to + // not release it when uninstalled. + "leaderElection": map[string]any{ + "renewDeadline": "10s", + "retryPeriod": "5s", + }, + }, }, }). OnFeature(func(ctx context.Context, t framework.TestingT, tags ...framework.ParsedTag) { diff --git a/acceptance/steps/console.go b/acceptance/steps/console.go new file mode 100644 index 000000000..d5e361372 --- /dev/null +++ b/acceptance/steps/console.go @@ -0,0 +1,35 @@ +// Copyright 2025 Redpanda Data, Inc. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.md +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0 + +package steps + +import ( + "context" + "time" + + "github.com/stretchr/testify/require" + + framework "github.com/redpanda-data/redpanda-operator/harpoon" + redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" +) + +func consoleIsHealthy(ctx context.Context, t framework.TestingT, name string) { + key := t.ResourceKey(name) + + t.Logf("Checking console %q is healthy", name) + require.Eventually(t, func() bool { + var console redpandav1alpha2.Console + require.NoError(t, t.Get(ctx, key, &console)) + + upToDate := console.Generation == console.Status.ObservedGeneration + hasHealthyReplicas := console.Status.ReadyReplicas == console.Status.Replicas + + return upToDate && hasHealthyReplicas + }, time.Minute, 10*time.Second) +} diff --git a/acceptance/steps/k8s.go b/acceptance/steps/k8s.go index 4cb32fc40..640d43f3e 100644 --- a/acceptance/steps/k8s.go +++ b/acceptance/steps/k8s.go @@ -10,19 +10,25 @@ package steps import ( + "bytes" "context" "fmt" "reflect" "strings" "time" + "github.com/cucumber/godog" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/util/jsonpath" "sigs.k8s.io/controller-runtime/pkg/client" framework "github.com/redpanda-data/redpanda-operator/harpoon" redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" + "github.com/redpanda-data/redpanda-operator/pkg/kube" ) // this is a nasty hack due to the fact that we can't disable the linter for typecheck @@ -156,3 +162,30 @@ func execJSONPath(ctx context.Context, t framework.TestingT, jsonPath, groupVers } return nil } + +func iExecInPodMatching( + ctx context.Context, + t framework.TestingT, + cmd, + selectorStr string, + expected *godog.DocString, +) { + selector, err := labels.Parse(selectorStr) + require.NoError(t, err) + + ctl, err := kube.FromRESTConfig(t.RestConfig()) + require.NoError(t, err) + + pods, err := kube.List[corev1.PodList](ctx, ctl, t.Namespace(), client.MatchingLabelsSelector{Selector: selector}) + require.NoError(t, err) + + require.True(t, len(pods.Items) > 0, "selector %q found no Pods", selector.String()) + + var stdout bytes.Buffer + require.NoError(t, ctl.Exec(ctx, &pods.Items[0], kube.ExecOptions{ + Command: []string{"sh", "-c", cmd}, + Stdout: &stdout, + })) + + assert.Equal(t, strings.TrimSpace(expected.Content), strings.TrimSpace(stdout.String())) +} diff --git a/acceptance/steps/manifest.go b/acceptance/steps/manifest.go index b88fcac20..94bf52d26 100644 --- a/acceptance/steps/manifest.go +++ b/acceptance/steps/manifest.go @@ -26,7 +26,9 @@ func iApplyKubernetesManifest(ctx context.Context, t framework.TestingT, manifes file, err := os.CreateTemp("", "manifest-*.yaml") require.NoError(t, err) - _, err = file.Write(normalizeContent(t, manifest.Content)) + content := PatchManifest(t, manifest.Content) + + _, err = file.Write(normalizeContent(t, content)) require.NoError(t, err) require.NoError(t, file.Close()) @@ -97,6 +99,8 @@ func PatchManifest(t framework.TestingT, content string) string { return DefaultRedpandaRepo case "DEFAULT_REDPANDA_TAG": return DefaultRedpandaTag + case "NAMESPACE": + return t.Namespace() } t.Fatalf("unhandled expansion: %s", key) diff --git a/acceptance/steps/register.go b/acceptance/steps/register.go index 2e7c84b19..1798ad4ac 100644 --- a/acceptance/steps/register.go +++ b/acceptance/steps/register.go @@ -15,6 +15,8 @@ func init() { // General scenario steps framework.RegisterStep(`^(vectorized )?cluster "([^"]*)" is available$`, checkClusterAvailability) framework.RegisterStep(`^I apply Kubernetes manifest:$`, iApplyKubernetesManifest) + framework.RegisterStep(`^I exec "([^"]+)" in a Pod matching "([^"]+)", it will output:$`, iExecInPodMatching) + framework.RegisterStep(`^I store "([^"]*)" of Kubernetes object with type "([^"]*)" and name "([^"]*)" as "([^"]*)"$`, recordVariable) framework.RegisterStep(`^the recorded value "([^"]*)" has the same value as "([^"]*)" of the Kubernetes object with type "([^"]*)" and name "([^"]*)"$`, assertVariableValue) framework.RegisterStep(`^the recorded value "([^"]*)" is one less than "([^"]*)" of the Kubernetes object with type "([^"]*)" and name "([^"]*)"$`, assertVariableValueIncremented) @@ -98,4 +100,7 @@ func init() { framework.RegisterStep(`^I can upgrade to the latest operator with the values:$`, iCanUpgradeToTheLatestOperatorWithTheValues) framework.RegisterStep(`^I install redpanda helm chart version "([^"]*)" with the values:$`, iInstallRedpandaHelmChartVersionWithTheValues) framework.RegisterStep(`^I install local CRDs from "([^"]*)"`, iInstallLocalCRDs) + + // Console scenario steps + framework.RegisterStep(`^Console "([^"]+)" will be healthy`, consoleIsHealthy) } diff --git a/charts/console/chart/chart.go b/charts/console/chart/chart.go index 4211efd55..2cefab0c7 100644 --- a/charts/console/chart/chart.go +++ b/charts/console/chart/chart.go @@ -56,6 +56,10 @@ func DotToState(dot *helmette.Dot) *console.RenderState { values := helmette.Unwrap[Values](dot.Values) templater := &templater{Dot: dot, FauxDot: newFauxDot(dot)} + if values.RenderValues.Secret.Authentication.JWTSigningKey == "" { + values.RenderValues.Secret.Authentication.JWTSigningKey = helmette.RandAlphaNum(32) + } + return &console.RenderState{ ReleaseName: dot.Release.Name, Namespace: dot.Release.Namespace, diff --git a/charts/console/chart/templates/_chart.chart.tpl b/charts/console/chart/templates/_chart.chart.tpl index 4a61fa970..9fe6723ec 100644 --- a/charts/console/chart/templates/_chart.chart.tpl +++ b/charts/console/chart/templates/_chart.chart.tpl @@ -18,6 +18,9 @@ {{- $_is_returning := false -}} {{- $values := $dot.Values.AsMap -}} {{- $templater := (mustMergeOverwrite (dict "Dot" (coalesce nil) "FauxDot" (coalesce nil)) (dict "Dot" $dot "FauxDot" (get (fromJson (include "chart.newFauxDot" (dict "a" (list $dot)))) "r"))) -}} +{{- if (eq $values.secret.authentication.jwtSigningKey "") -}} +{{- $_ := (set $values.secret.authentication "jwtSigningKey" (randAlphaNum (32 | int))) -}} +{{- end -}} {{- $_is_returning = true -}} {{- (dict "r" (mustMergeOverwrite (dict "ReleaseName" "" "Namespace" "" "Template" (coalesce nil) "CommonLabels" (coalesce nil) "Values" (dict "replicaCount" 0 "nameOverride" "" "commonLabels" (coalesce nil) "fullnameOverride" "" "image" (dict "registry" "" "repository" "" "pullPolicy" "" "tag" "") "imagePullSecrets" (coalesce nil) "automountServiceAccountToken" false "serviceAccount" (dict "create" false "automountServiceAccountToken" false "annotations" (coalesce nil) "name" "") "annotations" (coalesce nil) "podAnnotations" (coalesce nil) "podLabels" (coalesce nil) "podSecurityContext" (dict) "securityContext" (dict) "service" (dict "type" "" "port" 0 "annotations" (coalesce nil)) "ingress" (dict "enabled" false "annotations" (coalesce nil) "hosts" (coalesce nil) "tls" (coalesce nil)) "resources" (dict) "autoscaling" (dict "enabled" false "minReplicas" 0 "maxReplicas" 0 "targetCPUUtilizationPercentage" (coalesce nil)) "nodeSelector" (coalesce nil) "tolerations" (coalesce nil) "affinity" (dict) "topologySpreadConstraints" (coalesce nil) "priorityClassName" "" "config" (coalesce nil) "extraEnv" (coalesce nil) "extraEnvFrom" (coalesce nil) "extraVolumes" (coalesce nil) "extraVolumeMounts" (coalesce nil) "extraContainers" (coalesce nil) "initContainers" (dict "extraInitContainers" (coalesce nil)) "secretMounts" (coalesce nil) "secret" (dict "create" false "kafka" (dict) "authentication" (dict "jwtSigningKey" "" "oidc" (dict)) "license" "" "redpanda" (dict "adminApi" (dict)) "serde" (dict) "schemaRegistry" (dict)) "livenessProbe" (dict) "readinessProbe" (dict) "configmap" (dict "create" false) "deployment" (dict "create" false) "strategy" (dict))) (dict "ReleaseName" $dot.Release.Name "Namespace" $dot.Release.Namespace "Values" $values "Template" (list "chart.templater.Template" $templater) "CommonLabels" (dict "helm.sh/chart" (get (fromJson (include "chart.ChartLabel" (dict "a" (list $dot)))) "r") "app.kubernetes.io/managed-by" $dot.Release.Service "app.kubernetes.io/version" $dot.Chart.AppVersion)))) | toJson -}} {{- break -}} diff --git a/charts/console/chart/templates/_console.render.tpl b/charts/console/chart/templates/_console.render.tpl index 4c0077969..96c6b1f92 100644 --- a/charts/console/chart/templates/_console.render.tpl +++ b/charts/console/chart/templates/_console.render.tpl @@ -87,6 +87,15 @@ {{- end -}} {{- end -}} +{{- define "console.Types" -}} +{{- range $_ := (list 1) -}} +{{- $_is_returning := false -}} +{{- $_is_returning = true -}} +{{- (dict "r" (list (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil))) (dict)) (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil))) (dict)) (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil))) (dict)) (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil)) "spec" (dict) "status" (dict "loadBalancer" (dict))) (dict)) (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil)) "spec" (dict) "status" (dict "loadBalancer" (dict))) (dict)) (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil)) "spec" (dict "selector" (coalesce nil) "template" (dict "metadata" (dict "creationTimestamp" (coalesce nil)) "spec" (dict "containers" (coalesce nil))) "strategy" (dict)) "status" (dict)) (dict)) (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil)) "spec" (dict "scaleTargetRef" (dict "kind" "" "name" "") "maxReplicas" 0) "status" (dict "desiredReplicas" 0 "currentMetrics" (coalesce nil))) (dict)))) | toJson -}} +{{- break -}} +{{- end -}} +{{- end -}} + {{- define "console.cleanForK8s" -}} {{- $s := (index .a 0) -}} {{- range $_ := (list 1) -}} diff --git a/charts/console/chart/templates/_console.secret.tpl b/charts/console/chart/templates/_console.secret.tpl index fa387f159..92ba03636 100644 --- a/charts/console/chart/templates/_console.secret.tpl +++ b/charts/console/chart/templates/_console.secret.tpl @@ -10,12 +10,8 @@ {{- (dict "r" (coalesce nil)) | toJson -}} {{- break -}} {{- end -}} -{{- $jwtSigningKey := $state.Values.secret.authentication.jwtSigningKey -}} -{{- if (eq $jwtSigningKey "") -}} -{{- $jwtSigningKey = (randAlphaNum (32 | int)) -}} -{{- end -}} {{- $_is_returning = true -}} -{{- (dict "r" (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil))) (mustMergeOverwrite (dict) (dict "apiVersion" "v1" "kind" "Secret")) (dict "metadata" (mustMergeOverwrite (dict "creationTimestamp" (coalesce nil)) (dict "name" (get (fromJson (include "console.RenderState.FullName" (dict "a" (list $state)))) "r") "labels" (get (fromJson (include "console.RenderState.Labels" (dict "a" (list $state (coalesce nil))))) "r") "namespace" $state.Namespace)) "type" "Opaque" "stringData" (dict "kafka-sasl-password" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.saslPassword "")))) "r") "kafka-sasl-aws-msk-iam-secret-key" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.awsMskIamSecretKey "")))) "r") "kafka-tls-ca" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.tlsCa "")))) "r") "kafka-tls-cert" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.tlsCert "")))) "r") "kafka-tls-key" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.tlsKey "")))) "r") "schema-registry-bearertoken" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.bearerToken "")))) "r") "schema-registry-password" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.password "")))) "r") "schemaregistry-tls-ca" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.tlsCa "")))) "r") "schemaregistry-tls-cert" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.tlsCert "")))) "r") "schemaregistry-tls-key" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.tlsKey "")))) "r") "authentication-jwt-signingkey" $jwtSigningKey "authentication-oidc-client-secret" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.authentication.oidc.clientSecret "")))) "r") "license" $state.Values.secret.license "redpanda-admin-api-password" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.redpanda.adminApi.password "")))) "r") "redpanda-admin-api-tls-ca" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.redpanda.adminApi.tlsCa "")))) "r") "redpanda-admin-api-tls-cert" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.redpanda.adminApi.tlsCert "")))) "r") "redpanda-admin-api-tls-key" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.redpanda.adminApi.tlsKey "")))) "r") "serde-protobuf-git-basicauth-password" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.serde.protobufGitBasicAuthPassword "")))) "r"))))) | toJson -}} +{{- (dict "r" (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil))) (mustMergeOverwrite (dict) (dict "apiVersion" "v1" "kind" "Secret")) (dict "metadata" (mustMergeOverwrite (dict "creationTimestamp" (coalesce nil)) (dict "name" (get (fromJson (include "console.RenderState.FullName" (dict "a" (list $state)))) "r") "labels" (get (fromJson (include "console.RenderState.Labels" (dict "a" (list $state (coalesce nil))))) "r") "namespace" $state.Namespace)) "type" "Opaque" "stringData" (dict "kafka-sasl-password" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.saslPassword "")))) "r") "kafka-sasl-aws-msk-iam-secret-key" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.awsMskIamSecretKey "")))) "r") "kafka-tls-ca" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.tlsCa "")))) "r") "kafka-tls-cert" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.tlsCert "")))) "r") "kafka-tls-key" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.kafka.tlsKey "")))) "r") "schema-registry-bearertoken" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.bearerToken "")))) "r") "schema-registry-password" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.password "")))) "r") "schemaregistry-tls-ca" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.tlsCa "")))) "r") "schemaregistry-tls-cert" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.tlsCert "")))) "r") "schemaregistry-tls-key" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.schemaRegistry.tlsKey "")))) "r") "authentication-jwt-signingkey" $state.Values.secret.authentication.jwtSigningKey "authentication-oidc-client-secret" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.authentication.oidc.clientSecret "")))) "r") "license" $state.Values.secret.license "redpanda-admin-api-password" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.redpanda.adminApi.password "")))) "r") "redpanda-admin-api-tls-ca" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.redpanda.adminApi.tlsCa "")))) "r") "redpanda-admin-api-tls-cert" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.redpanda.adminApi.tlsCert "")))) "r") "redpanda-admin-api-tls-key" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.redpanda.adminApi.tlsKey "")))) "r") "serde-protobuf-git-basicauth-password" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $state.Values.secret.serde.protobufGitBasicAuthPassword "")))) "r"))))) | toJson -}} {{- break -}} {{- end -}} {{- end -}} diff --git a/charts/console/chart/values.go b/charts/console/chart/values.go index 23e9eaba7..96c78bee4 100644 --- a/charts/console/chart/values.go +++ b/charts/console/chart/values.go @@ -17,12 +17,10 @@ import ( type Values struct { console.RenderValues `json:",inline"` - Globals map[string]any `json:"global,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - CommonLabels map[string]string `json:"commonLabels"` - NameOverride string `json:"nameOverride"` - FullnameOverride string `json:"fullnameOverride"` - Tests Enableable `json:"tests"` + Globals map[string]any `json:"global,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + CommonLabels map[string]string `json:"commonLabels"` + Tests Enableable `json:"tests"` } type Enableable struct { diff --git a/charts/console/chart/values_partial.gen.go b/charts/console/chart/values_partial.gen.go index 1be79f6a1..d63b5bc09 100644 --- a/charts/console/chart/values_partial.gen.go +++ b/charts/console/chart/values_partial.gen.go @@ -22,8 +22,6 @@ type PartialValues struct { Globals map[string]any "json:\"global,omitempty\"" Enabled *bool "json:\"enabled,omitempty\"" CommonLabels map[string]string "json:\"commonLabels,omitempty\"" - NameOverride *string "json:\"nameOverride,omitempty\"" - FullnameOverride *string "json:\"fullnameOverride,omitempty\"" Tests *PartialEnableable "json:\"tests,omitempty\"" } diff --git a/charts/console/go.mod b/charts/console/go.mod index 31a5ded8c..ba0b0ef84 100644 --- a/charts/console/go.mod +++ b/charts/console/go.mod @@ -4,6 +4,7 @@ go 1.24.3 require ( github.com/cloudhut/common v0.11.0 + github.com/cockroachdb/errors v1.11.3 github.com/google/gofuzz v1.2.0 github.com/redpanda-data/console/backend v0.0.0-20250915195818-3cd9fabec94b github.com/redpanda-data/redpanda-operator/gotohelm v1.2.1-0.20250909192010-c59ff494d04a @@ -37,7 +38,6 @@ require ( github.com/blang/semver/v4 v4.0.0 // indirect github.com/buger/jsonparser v1.1.1 // indirect github.com/chai2010/gettext-go v1.0.2 // indirect - github.com/cockroachdb/errors v1.11.3 // indirect github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/containerd/containerd v1.7.27 // indirect diff --git a/charts/console/render.go b/charts/console/render.go index f00f705bd..7d32c2ab6 100644 --- a/charts/console/render.go +++ b/charts/console/render.go @@ -11,16 +11,27 @@ package console import ( + _ "embed" + "encoding/json" "fmt" "strings" + "github.com/cockroachdb/errors" + appsv1 "k8s.io/api/apps/v1" + autoscalingv2 "k8s.io/api/autoscaling/v2" + corev1 "k8s.io/api/core/v1" + networkingv1 "k8s.io/api/networking/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/kubernetes/scheme" + "sigs.k8s.io/yaml" "github.com/redpanda-data/redpanda-operator/gotohelm/helmette" "github.com/redpanda-data/redpanda-operator/pkg/kube" ) +//go:embed chart/values.yaml +var defaultValuesYAML []byte + // Scheme is a [runtime.Scheme] with the appropriate extensions to load all // objects produced by the console chart. var Scheme = runtime.NewScheme() @@ -51,6 +62,38 @@ type RenderState struct { Values RenderValues } +// +gotohelm:ignore=true +func NewRenderState(namespace, name string, labels map[string]string, values PartialRenderValues) (*RenderState, error) { + var rv RenderValues + if err := yaml.Unmarshal(defaultValuesYAML, &rv); err != nil { + return nil, errors.WithStack(err) + } + + // Converting from PartialRenderValues to RenderValues is easiest to do + // with JSON marshalling / unmarshalling as it lets us side step the type + // system. Given that partial's serialize to fragments / partial, + // unmarshaling into a full struct is nearly identical to helm's values + // merging behavior. + // Possible divergences may occur if slices are merged together but there's + // no case for that with console's default values. + out, err := json.Marshal(values) + if err != nil { + return nil, errors.WithStack(err) + } + + if err := json.Unmarshal(out, &rv); err != nil { + return nil, errors.WithStack(err) + } + + return &RenderState{ + Namespace: namespace, + ReleaseName: name, + Values: rv, + CommonLabels: labels, + Template: func(s string) string { return s }, + }, nil +} + // ChartName returns the name of this "chart", respecting any overrides. // // Previously known as "console.Name" @@ -132,6 +175,18 @@ func Render(state *RenderState) []kube.Object { return manifests } +func Types() []kube.Object { + return []kube.Object{ + &corev1.ServiceAccount{}, + &corev1.Secret{}, + &corev1.ConfigMap{}, + &corev1.Service{}, + &networkingv1.Ingress{}, + &appsv1.Deployment{}, + &autoscalingv2.HorizontalPodAutoscaler{}, + } +} + func cleanForK8s(s string) string { return helmette.TrimSuffix("-", helmette.Trunc(63, s)) } diff --git a/charts/console/render_test.go b/charts/console/render_test.go index b6e84010b..b5d8e5fdf 100644 --- a/charts/console/render_test.go +++ b/charts/console/render_test.go @@ -12,9 +12,12 @@ package console import ( "fmt" "os/exec" + "reflect" "testing" "github.com/stretchr/testify/require" + networkingv1 "k8s.io/api/networking/v1" + "k8s.io/utils/ptr" ) // TestAppVersion asserts that the AppVersion const is inline with the version @@ -35,3 +38,103 @@ func TestAppVersion(t *testing.T) { require.Equal(t, string(gitOut), string(goOut), ".AppVersion and go.mod should refer to the same version of console:\nAppVersion: %s\ngo.mod: %sgit: %s", AppVersion, goOut, gitOut) } + +func TestTypes(t *testing.T) { + // Build a map of allowed types from Types() function + allowableTypes := map[reflect.Type]struct{}{} + for _, typ := range Types() { + allowableTypes[reflect.TypeOf(typ)] = struct{}{} + } + + testCases := []struct { + name string + values PartialRenderValues + }{ + { + name: "minimal config", + values: PartialRenderValues{}, + }, + { + name: "all features enabled", + values: PartialRenderValues{ + ServiceAccount: &PartialServiceAccountConfig{ + Create: ptr.To(true), + }, + Secret: &PartialSecretConfig{ + Create: ptr.To(true), + }, + ConfigMap: &PartialCreatable{ + Create: ptr.To(true), + }, + Deployment: &PartialDeploymentConfig{ + Create: ptr.To(true), + }, + Ingress: &PartialIngressConfig{ + Enabled: ptr.To(true), + Hosts: []PartialIngressHost{ + { + Host: ptr.To("console.example.com"), + Paths: []PartialIngressPath{ + { + Path: ptr.To("/"), + PathType: ptr.To(networkingv1.PathTypePrefix), + }, + }, + }, + }, + }, + Autoscaling: &PartialAutoScaling{ + Enabled: ptr.To(true), + MinReplicas: ptr.To(int32(1)), + MaxReplicas: ptr.To(int32(3)), + }, + }, + }, + { + name: "service account disabled", + values: PartialRenderValues{ + ServiceAccount: &PartialServiceAccountConfig{ + Create: ptr.To(false), + }, + ConfigMap: &PartialCreatable{ + Create: ptr.To(true), + }, + }, + }, + { + name: "ingress disabled", + values: PartialRenderValues{ + Ingress: &PartialIngressConfig{ + Enabled: ptr.To(false), + }, + ConfigMap: &PartialCreatable{ + Create: ptr.To(true), + }, + }, + }, + { + name: "autoscaling disabled", + values: PartialRenderValues{ + Autoscaling: &PartialAutoScaling{ + Enabled: ptr.To(false), + }, + ConfigMap: &PartialCreatable{ + Create: ptr.To(true), + }, + }, + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + state, err := NewRenderState("test-namespace", "test-release", nil, tc.values) + require.NoError(t, err) + + for _, obj := range Render(state) { + objType := reflect.TypeOf(obj) + _, ok := allowableTypes[objType] + require.True(t, ok, "%T is not an allowable type. Did you forget to update `console.Types`?", obj) + } + }) + } +} diff --git a/charts/console/secret.go b/charts/console/secret.go index 6a24be436..3ecefd171 100644 --- a/charts/console/secret.go +++ b/charts/console/secret.go @@ -13,8 +13,6 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/ptr" - - "github.com/redpanda-data/redpanda-operator/gotohelm/helmette" ) func Secret(state *RenderState) *corev1.Secret { @@ -22,11 +20,6 @@ func Secret(state *RenderState) *corev1.Secret { return nil } - jwtSigningKey := state.Values.Secret.Authentication.JWTSigningKey - if jwtSigningKey == "" { - jwtSigningKey = helmette.RandAlphaNum(32) - } - return &corev1.Secret{ TypeMeta: metav1.TypeMeta{ APIVersion: "v1", @@ -57,7 +50,7 @@ func Secret(state *RenderState) *corev1.Secret { "schemaregistry-tls-key": ptr.Deref(state.Values.Secret.SchemaRegistry.TLSKey, ""), // Authentication - "authentication-jwt-signingkey": jwtSigningKey, + "authentication-jwt-signingkey": state.Values.Secret.Authentication.JWTSigningKey, "authentication-oidc-client-secret": ptr.Deref(state.Values.Secret.Authentication.OIDC.ClientSecret, ""), // License diff --git a/charts/redpanda/chart/templates/_chartutil.chartutil.tpl b/charts/redpanda/chart/templates/_chartutil.chartutil.tpl new file mode 100644 index 000000000..55a5efaf7 --- /dev/null +++ b/charts/redpanda/chart/templates/_chartutil.chartutil.tpl @@ -0,0 +1,39 @@ +{{- /* GENERATED FILE DO NOT EDIT */ -}} +{{- /* Transpiled by gotohelm from "github.com/redpanda-data/redpanda-operator/pkg/chartutil/chartutil.go" */ -}} + +{{- define "chartutil.ParseFlags" -}} +{{- $args := (index .a 0) -}} +{{- range $_ := (list 1) -}} +{{- $_is_returning := false -}} +{{- $parsed := (dict) -}} +{{- $i := -1 -}} +{{- range $_, $_ := $args -}} +{{- $i = ((add $i (1 | int)) | int) -}} +{{- if (ge $i ((get (fromJson (include "_shims.len" (dict "a" (list $args)))) "r") | int)) -}} +{{- break -}} +{{- end -}} +{{- if (not (hasPrefix "-" (index $args $i))) -}} +{{- continue -}} +{{- end -}} +{{- $flag := (index $args $i) -}} +{{- $spl := (mustRegexSplit " |=" $flag (2 | int)) -}} +{{- if (eq ((get (fromJson (include "_shims.len" (dict "a" (list $spl)))) "r") | int) (2 | int)) -}} +{{- $_ := (set $parsed (index $spl (0 | int)) (index $spl (1 | int))) -}} +{{- continue -}} +{{- end -}} +{{- if (and (lt ((add $i (1 | int)) | int) ((get (fromJson (include "_shims.len" (dict "a" (list $args)))) "r") | int)) (not (hasPrefix "-" (index $args ((add $i (1 | int)) | int))))) -}} +{{- $_ := (set $parsed $flag (index $args ((add $i (1 | int)) | int))) -}} +{{- $i = ((add $i (1 | int)) | int) -}} +{{- continue -}} +{{- end -}} +{{- $_ := (set $parsed $flag "") -}} +{{- end -}} +{{- if $_is_returning -}} +{{- break -}} +{{- end -}} +{{- $_is_returning = true -}} +{{- (dict "r" $parsed) | toJson -}} +{{- break -}} +{{- end -}} +{{- end -}} + diff --git a/charts/redpanda/chart/templates/_configmap.go.tpl b/charts/redpanda/chart/templates/_configmap.go.tpl index 42134a94a..fbed43119 100644 --- a/charts/redpanda/chart/templates/_configmap.go.tpl +++ b/charts/redpanda/chart/templates/_configmap.go.tpl @@ -23,9 +23,9 @@ {{- $pool := (index .a 1) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} -{{- $_35_bootstrap_fixups := (get (fromJson (include "redpanda.BootstrapFile" (dict "a" (list $state $pool)))) "r") -}} -{{- $bootstrap := (index $_35_bootstrap_fixups 0) -}} -{{- $fixups := (index $_35_bootstrap_fixups 1) -}} +{{- $_36_bootstrap_fixups := (get (fromJson (include "redpanda.BootstrapFile" (dict "a" (list $state $pool)))) "r") -}} +{{- $bootstrap := (index $_36_bootstrap_fixups 0) -}} +{{- $fixups := (index $_36_bootstrap_fixups 1) -}} {{- $_is_returning = true -}} {{- (dict "r" (mustMergeOverwrite (dict "metadata" (dict "creationTimestamp" (coalesce nil))) (mustMergeOverwrite (dict) (dict "kind" "ConfigMap" "apiVersion" "v1")) (dict "metadata" (mustMergeOverwrite (dict "creationTimestamp" (coalesce nil)) (dict "name" (printf "%s%s" (get (fromJson (include "redpanda.Fullname" (dict "a" (list $state)))) "r") (get (fromJson (include "redpanda.Pool.Suffix" (dict "a" (list (deepCopy $pool))))) "r")) "namespace" $state.Release.Namespace "labels" (get (fromJson (include "redpanda.FullLabels" (dict "a" (list $state)))) "r"))) "data" (dict ".bootstrap.json.in" $bootstrap "bootstrap.yaml.fixups" $fixups "redpanda.yaml" (get (fromJson (include "redpanda.RedpandaConfigFile" (dict "a" (list $state true $pool)))) "r"))))) | toJson -}} {{- break -}} @@ -37,9 +37,9 @@ {{- $pool := (index .a 1) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} -{{- $_66_template_fixups := (get (fromJson (include "redpanda.BootstrapContents" (dict "a" (list $state $pool)))) "r") -}} -{{- $template := (index $_66_template_fixups 0) -}} -{{- $fixups := (index $_66_template_fixups 1) -}} +{{- $_67_template_fixups := (get (fromJson (include "redpanda.BootstrapContents" (dict "a" (list $state $pool)))) "r") -}} +{{- $template := (index $_67_template_fixups 0) -}} +{{- $fixups := (index $_67_template_fixups 1) -}} {{- $fixupStr := (toJson $fixups) -}} {{- if (eq ((get (fromJson (include "_shims.len" (dict "a" (list $fixups)))) "r") | int) (0 | int)) -}} {{- $fixupStr = `[]` -}} @@ -62,20 +62,20 @@ {{- $bootstrap = (merge (dict) $bootstrap (get (fromJson (include "redpanda.TunableConfig.Translate" (dict "a" (list $state.Values.config.tunable)))) "r")) -}} {{- $bootstrap = (merge (dict) $bootstrap (get (fromJson (include "redpanda.ClusterConfig.Translate" (dict "a" (list $state.Values.config.cluster)))) "r")) -}} {{- $bootstrap = (merge (dict) $bootstrap (get (fromJson (include "redpanda.Auth.Translate" (dict "a" (list $state.Values.auth (get (fromJson (include "redpanda.Auth.IsSASLEnabled" (dict "a" (list $state.Values.auth)))) "r"))))) "r")) -}} -{{- $_90_attrs_fixes := (get (fromJson (include "redpanda.TieredStorageConfig.Translate" (dict "a" (list (deepCopy (get (fromJson (include "redpanda.Storage.GetTieredStorageConfig" (dict "a" (list $state.Values.storage)))) "r")) $state.Values.storage.tiered.credentialsSecretRef)))) "r") -}} -{{- $attrs := (index $_90_attrs_fixes 0) -}} -{{- $fixes := (index $_90_attrs_fixes 1) -}} +{{- $_91_attrs_fixes := (get (fromJson (include "redpanda.TieredStorageConfig.Translate" (dict "a" (list (deepCopy (get (fromJson (include "redpanda.Storage.GetTieredStorageConfig" (dict "a" (list $state.Values.storage)))) "r")) $state.Values.storage.tiered.credentialsSecretRef)))) "r") -}} +{{- $attrs := (index $_91_attrs_fixes 0) -}} +{{- $fixes := (index $_91_attrs_fixes 1) -}} {{- $bootstrap = (merge (dict) $bootstrap $attrs) -}} {{- $fixups = (concat (default (list) $fixups) (default (list) $fixes)) -}} -{{- $_100___ok_1 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $state.Values.config.cluster "default_topic_replications" (coalesce nil))))) "r") -}} -{{- $_ := (index $_100___ok_1 0) -}} -{{- $ok_1 := (index $_100___ok_1 1) -}} +{{- $_101___ok_1 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $state.Values.config.cluster "default_topic_replications" (coalesce nil))))) "r") -}} +{{- $_ := (index $_101___ok_1 0) -}} +{{- $ok_1 := (index $_101___ok_1 1) -}} {{- if (and (not $ok_1) (ge ($pool.Statefulset.replicas | int) (3 | int))) -}} {{- $_ := (set $bootstrap "default_topic_replications" (3 | int)) -}} {{- end -}} -{{- $_105___ok_2 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $state.Values.config.cluster "storage_min_free_bytes" (coalesce nil))))) "r") -}} -{{- $_ := (index $_105___ok_2 0) -}} -{{- $ok_2 := (index $_105___ok_2 1) -}} +{{- $_106___ok_2 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $state.Values.config.cluster "storage_min_free_bytes" (coalesce nil))))) "r") -}} +{{- $_ := (index $_106___ok_2 0) -}} +{{- $ok_2 := (index $_106___ok_2 1) -}} {{- if (not $ok_2) -}} {{- $_ := (set $bootstrap "storage_min_free_bytes" ((get (fromJson (include "redpanda.Storage.StorageMinFreeBytes" (dict "a" (list $state.Values.storage)))) "r") | int64)) -}} {{- end -}} @@ -86,10 +86,10 @@ {{- if $_is_returning -}} {{- break -}} {{- end -}} -{{- $_116_extra_fixes__ := (get (fromJson (include "redpanda.ClusterConfiguration.Translate" (dict "a" (list (deepCopy $state.Values.config.extraClusterConfiguration))))) "r") -}} -{{- $extra := (index $_116_extra_fixes__ 0) -}} -{{- $fixes := (index $_116_extra_fixes__ 1) -}} -{{- $_ := (index $_116_extra_fixes__ 2) -}} +{{- $_117_extra_fixes__ := (get (fromJson (include "redpanda.ClusterConfiguration.Translate" (dict "a" (list (deepCopy $state.Values.config.extraClusterConfiguration))))) "r") -}} +{{- $extra := (index $_117_extra_fixes__ 0) -}} +{{- $fixes := (index $_117_extra_fixes__ 1) -}} +{{- $_ := (index $_117_extra_fixes__ 2) -}} {{- $template = (merge (dict) $template $extra) -}} {{- $fixups = (concat (default (list) $fixups) (default (list) $fixes)) -}} {{- $_is_returning = true -}} @@ -173,23 +173,23 @@ {{- break -}} {{- end -}} {{- $kafkaTLS := (get (fromJson (include "redpanda.rpkKafkaClientTLSConfiguration" (dict "a" (list $state)))) "r") -}} -{{- $_205___ok_3 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $kafkaTLS "ca_file" (coalesce nil))))) "r") -}} -{{- $_ := (index $_205___ok_3 0) -}} -{{- $ok_3 := (index $_205___ok_3 1) -}} +{{- $_206___ok_3 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $kafkaTLS "ca_file" (coalesce nil))))) "r") -}} +{{- $_ := (index $_206___ok_3 0) -}} +{{- $ok_3 := (index $_206___ok_3 1) -}} {{- if $ok_3 -}} {{- $_ := (set $kafkaTLS "ca_file" "ca.crt") -}} {{- end -}} {{- $adminTLS := (get (fromJson (include "redpanda.rpkAdminAPIClientTLSConfiguration" (dict "a" (list $state)))) "r") -}} -{{- $_211___ok_4 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $adminTLS "ca_file" (coalesce nil))))) "r") -}} -{{- $_ := (index $_211___ok_4 0) -}} -{{- $ok_4 := (index $_211___ok_4 1) -}} +{{- $_212___ok_4 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $adminTLS "ca_file" (coalesce nil))))) "r") -}} +{{- $_ := (index $_212___ok_4 0) -}} +{{- $ok_4 := (index $_212___ok_4 1) -}} {{- if $ok_4 -}} {{- $_ := (set $adminTLS "ca_file" "ca.crt") -}} {{- end -}} {{- $schemaTLS := (get (fromJson (include "redpanda.rpkSchemaRegistryClientTLSConfiguration" (dict "a" (list $state)))) "r") -}} -{{- $_217___ok_5 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $schemaTLS "ca_file" (coalesce nil))))) "r") -}} -{{- $_ := (index $_217___ok_5 0) -}} -{{- $ok_5 := (index $_217___ok_5 1) -}} +{{- $_218___ok_5 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $schemaTLS "ca_file" (coalesce nil))))) "r") -}} +{{- $_ := (index $_218___ok_5 0) -}} +{{- $ok_5 := (index $_218___ok_5 1) -}} {{- if $ok_5 -}} {{- $_ := (set $schemaTLS "ca_file" "ca.crt") -}} {{- end -}} @@ -387,10 +387,10 @@ {{- if (gt ((get (fromJson (include "_shims.len" (dict "a" (list $tls_8)))) "r") | int) (0 | int)) -}} {{- $schemaRegistryTLS = $tls_8 -}} {{- end -}} -{{- $_404_lockMemory_overprovisioned_flags := (get (fromJson (include "redpanda.RedpandaAdditionalStartFlags" (dict "a" (list $state.Values $pool)))) "r") -}} -{{- $lockMemory := (index $_404_lockMemory_overprovisioned_flags 0) -}} -{{- $overprovisioned := (index $_404_lockMemory_overprovisioned_flags 1) -}} -{{- $flags := (index $_404_lockMemory_overprovisioned_flags 2) -}} +{{- $_405_lockMemory_overprovisioned_flags := (get (fromJson (include "redpanda.RedpandaAdditionalStartFlags" (dict "a" (list $state.Values $pool)))) "r") -}} +{{- $lockMemory := (index $_405_lockMemory_overprovisioned_flags 0) -}} +{{- $overprovisioned := (index $_405_lockMemory_overprovisioned_flags 1) -}} +{{- $flags := (index $_405_lockMemory_overprovisioned_flags 2) -}} {{- $result := (dict "additional_start_flags" $flags "enable_memory_locking" $lockMemory "overprovisioned" $overprovisioned "kafka_api" (dict "brokers" $brokerList "tls" $brokerTLS) "admin_api" (dict "addresses" (get (fromJson (include "redpanda.BrokerList" (dict "a" (list $state ($state.Values.listeners.admin.port | int))))) "r") "tls" $adminTLS) "schema_registry" (dict "addresses" (get (fromJson (include "redpanda.BrokerList" (dict "a" (list $state ($state.Values.listeners.schemaRegistry.port | int))))) "r") "tls" $schemaRegistryTLS)) -}} {{- $result = (merge (dict) $result (get (fromJson (include "redpanda.Tuning.Translate" (dict "a" (list $state.Values.tuning)))) "r")) -}} {{- $result = (merge (dict) $result (get (fromJson (include "redpanda.Config.CreateRPKConfiguration" (dict "a" (list $state.Values.config)))) "r")) -}} @@ -615,7 +615,7 @@ {{- if (eq (index $values.config.node "developer_mode") true) -}} {{- $_ := (unset $flags "--reserve-memory") -}} {{- end -}} -{{- range $key, $value := (get (fromJson (include "redpanda.ParseCLIArgs" (dict "a" (list $pool.Statefulset.additionalRedpandaCmdFlags)))) "r") -}} +{{- range $key, $value := (get (fromJson (include "chartutil.ParseFlags" (dict "a" (list $pool.Statefulset.additionalRedpandaCmdFlags)))) "r") -}} {{- $_ := (set $flags $key $value) -}} {{- end -}} {{- if $_is_returning -}} @@ -623,17 +623,17 @@ {{- end -}} {{- $enabledOptions := (dict "true" true "1" true "" true) -}} {{- $lockMemory := false -}} -{{- $_670_value_14_ok_15 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $flags "--lock-memory" "")))) "r") -}} -{{- $value_14 := (index $_670_value_14_ok_15 0) -}} -{{- $ok_15 := (index $_670_value_14_ok_15 1) -}} +{{- $_671_value_14_ok_15 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $flags "--lock-memory" "")))) "r") -}} +{{- $value_14 := (index $_671_value_14_ok_15 0) -}} +{{- $ok_15 := (index $_671_value_14_ok_15 1) -}} {{- if $ok_15 -}} {{- $lockMemory = (ternary (index $enabledOptions $value_14) false (hasKey $enabledOptions $value_14)) -}} {{- $_ := (unset $flags "--lock-memory") -}} {{- end -}} {{- $overprovisioned := false -}} -{{- $_677_value_16_ok_17 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $flags "--overprovisioned" "")))) "r") -}} -{{- $value_16 := (index $_677_value_16_ok_17 0) -}} -{{- $ok_17 := (index $_677_value_16_ok_17 1) -}} +{{- $_678_value_16_ok_17 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $flags "--overprovisioned" "")))) "r") -}} +{{- $value_16 := (index $_678_value_16_ok_17 0) -}} +{{- $ok_17 := (index $_678_value_16_ok_17 1) -}} {{- if $ok_17 -}} {{- $overprovisioned = (ternary (index $enabledOptions $value_16) false (hasKey $enabledOptions $value_16)) -}} {{- $_ := (unset $flags "--overprovisioned") -}} diff --git a/charts/redpanda/chart/templates/_console.go.tpl b/charts/redpanda/chart/templates/_console.go.tpl index f05dc0d83..02c09ef1c 100644 --- a/charts/redpanda/chart/templates/_console.go.tpl +++ b/charts/redpanda/chart/templates/_console.go.tpl @@ -11,7 +11,7 @@ {{- break -}} {{- end -}} {{- $consoleState := (get (fromJson (include "chart.DotToState" (dict "a" (list (index $state.Dot.Subcharts "console"))))) "r") -}} -{{- $staticCfg := (get (fromJson (include "redpanda.toStaticConfig" (dict "a" (list $state)))) "r") -}} +{{- $staticCfg := (get (fromJson (include "redpanda.RenderState.AsStaticConfigSource" (dict "a" (list $state)))) "r") -}} {{- $overlay := (get (fromJson (include "console.StaticConfigurationSourceToPartialRenderValues" (dict "a" (list $staticCfg)))) "r") -}} {{- $_ := (set $consoleState.Values.configmap "create" true) -}} {{- $_ := (set $consoleState.Values.deployment "create" true) -}} @@ -33,57 +33,3 @@ {{- end -}} {{- end -}} -{{- define "redpanda.toStaticConfig" -}} -{{- $state := (index .a 0) -}} -{{- range $_ := (list 1) -}} -{{- $_is_returning := false -}} -{{- $username := (get (fromJson (include "redpanda.BootstrapUser.Username" (dict "a" (list $state.Values.auth.sasl.bootstrapUser)))) "r") -}} -{{- $passwordRef := (get (fromJson (include "redpanda.BootstrapUser.SecretKeySelector" (dict "a" (list $state.Values.auth.sasl.bootstrapUser (get (fromJson (include "redpanda.Fullname" (dict "a" (list $state)))) "r"))))) "r") -}} -{{- $kafkaSpec := (mustMergeOverwrite (dict "brokers" (coalesce nil)) (dict "brokers" (get (fromJson (include "redpanda.BrokerList" (dict "a" (list $state ($state.Values.listeners.kafka.port | int))))) "r"))) -}} -{{- if (get (fromJson (include "redpanda.InternalTLS.IsEnabled" (dict "a" (list $state.Values.listeners.kafka.tls $state.Values.tls)))) "r") -}} -{{- $_ := (set $kafkaSpec "tls" (get (fromJson (include "redpanda.InternalTLS.ToCommonTLS" (dict "a" (list $state.Values.listeners.kafka.tls $state $state.Values.tls)))) "r")) -}} -{{- end -}} -{{- if (get (fromJson (include "redpanda.Auth.IsSASLEnabled" (dict "a" (list $state.Values.auth)))) "r") -}} -{{- $_ := (set $kafkaSpec "sasl" (mustMergeOverwrite (dict "passwordSecretRef" (dict "name" "") "mechanism" "" "oauth" (dict "tokenSecretRef" (dict "name" "")) "gssapi" (dict "authType" "" "keyTabPath" "" "kerberosConfigPath" "" "serviceName" "" "username" "" "passwordSecretRef" (dict "name" "") "realm" "" "enableFast" false) "awsMskIam" (dict "accessKey" "" "secretKeySecretRef" (dict "name" "") "sessionTokenSecretRef" (dict "name" "") "userAgent" "")) (dict "username" $username "passwordSecretRef" (mustMergeOverwrite (dict "name" "") (dict "namespace" $state.Release.Namespace "name" $passwordRef.name "key" $passwordRef.key)) "mechanism" (toString (get (fromJson (include "redpanda.BootstrapUser.GetMechanism" (dict "a" (list $state.Values.auth.sasl.bootstrapUser)))) "r"))))) -}} -{{- end -}} -{{- $adminTLS := (coalesce nil) -}} -{{- $adminSchema := "http" -}} -{{- if (get (fromJson (include "redpanda.InternalTLS.IsEnabled" (dict "a" (list $state.Values.listeners.admin.tls $state.Values.tls)))) "r") -}} -{{- $adminSchema = "https" -}} -{{- $adminTLS = (get (fromJson (include "redpanda.InternalTLS.ToCommonTLS" (dict "a" (list $state.Values.listeners.admin.tls $state $state.Values.tls)))) "r") -}} -{{- end -}} -{{- $adminAuth := (coalesce nil) -}} -{{- $_103_adminAuthEnabled__ := (get (fromJson (include "_shims.typetest" (dict "a" (list "bool" (index $state.Values.config.cluster "admin_api_require_auth") false)))) "r") -}} -{{- $adminAuthEnabled := (index $_103_adminAuthEnabled__ 0) -}} -{{- $_ := (index $_103_adminAuthEnabled__ 1) -}} -{{- if $adminAuthEnabled -}} -{{- $adminAuth = (mustMergeOverwrite (dict "passwordSecretRef" (dict "name" "")) (dict "username" $username "passwordSecretRef" (mustMergeOverwrite (dict "name" "") (dict "namespace" $state.Release.Namespace "name" $passwordRef.name "key" $passwordRef.key)))) -}} -{{- end -}} -{{- $adminSpec := (mustMergeOverwrite (dict "urls" (coalesce nil)) (dict "tls" $adminTLS "sasl" $adminAuth "urls" (list (printf "%s://%s:%d" $adminSchema (get (fromJson (include "redpanda.InternalDomain" (dict "a" (list $state)))) "r") ($state.Values.listeners.admin.port | int))))) -}} -{{- $schemaRegistrySpec := (coalesce nil) -}} -{{- if $state.Values.listeners.schemaRegistry.enabled -}} -{{- $schemaTLS := (coalesce nil) -}} -{{- $schemaSchema := "http" -}} -{{- if (get (fromJson (include "redpanda.InternalTLS.IsEnabled" (dict "a" (list $state.Values.listeners.schemaRegistry.tls $state.Values.tls)))) "r") -}} -{{- $schemaSchema = "https" -}} -{{- $schemaTLS = (get (fromJson (include "redpanda.InternalTLS.ToCommonTLS" (dict "a" (list $state.Values.listeners.schemaRegistry.tls $state $state.Values.tls)))) "r") -}} -{{- end -}} -{{- $schemaURLs := (coalesce nil) -}} -{{- $brokers := (get (fromJson (include "redpanda.BrokerList" (dict "a" (list $state ($state.Values.listeners.schemaRegistry.port | int))))) "r") -}} -{{- range $_, $broker := $brokers -}} -{{- $schemaURLs = (concat (default (list) $schemaURLs) (list (printf "%s://%s" $schemaSchema $broker))) -}} -{{- end -}} -{{- if $_is_returning -}} -{{- break -}} -{{- end -}} -{{- $schemaRegistrySpec = (mustMergeOverwrite (dict "urls" (coalesce nil)) (dict "urls" $schemaURLs "tls" $schemaTLS)) -}} -{{- if (get (fromJson (include "redpanda.Auth.IsSASLEnabled" (dict "a" (list $state.Values.auth)))) "r") -}} -{{- $_ := (set $schemaRegistrySpec "sasl" (mustMergeOverwrite (dict "passwordSecretRef" (dict "name" "") "token" (dict "name" "")) (dict "username" $username "passwordSecretRef" (mustMergeOverwrite (dict "name" "") (dict "namespace" $state.Release.Namespace "name" $passwordRef.name "key" $passwordRef.key))))) -}} -{{- end -}} -{{- end -}} -{{- $_is_returning = true -}} -{{- (dict "r" (mustMergeOverwrite (dict) (dict "kafka" $kafkaSpec "admin" $adminSpec "schemaRegistry" $schemaRegistrySpec))) | toJson -}} -{{- break -}} -{{- end -}} -{{- end -}} - diff --git a/charts/redpanda/chart/templates/_helpers.go.tpl b/charts/redpanda/chart/templates/_helpers.go.tpl index 16f9820f8..c35fdb97f 100644 --- a/charts/redpanda/chart/templates/_helpers.go.tpl +++ b/charts/redpanda/chart/templates/_helpers.go.tpl @@ -512,39 +512,3 @@ {{- end -}} {{- end -}} -{{- define "redpanda.ParseCLIArgs" -}} -{{- $args := (index .a 0) -}} -{{- range $_ := (list 1) -}} -{{- $_is_returning := false -}} -{{- $parsed := (dict) -}} -{{- $i := -1 -}} -{{- range $_, $_ := $args -}} -{{- $i = ((add $i (1 | int)) | int) -}} -{{- if (ge $i ((get (fromJson (include "_shims.len" (dict "a" (list $args)))) "r") | int)) -}} -{{- break -}} -{{- end -}} -{{- if (not (hasPrefix "-" (index $args $i))) -}} -{{- continue -}} -{{- end -}} -{{- $flag := (index $args $i) -}} -{{- $spl := (mustRegexSplit " |=" $flag (2 | int)) -}} -{{- if (eq ((get (fromJson (include "_shims.len" (dict "a" (list $spl)))) "r") | int) (2 | int)) -}} -{{- $_ := (set $parsed (index $spl (0 | int)) (index $spl (1 | int))) -}} -{{- continue -}} -{{- end -}} -{{- if (and (lt ((add $i (1 | int)) | int) ((get (fromJson (include "_shims.len" (dict "a" (list $args)))) "r") | int)) (not (hasPrefix "-" (index $args ((add $i (1 | int)) | int))))) -}} -{{- $_ := (set $parsed $flag (index $args ((add $i (1 | int)) | int))) -}} -{{- $i = ((add $i (1 | int)) | int) -}} -{{- continue -}} -{{- end -}} -{{- $_ := (set $parsed $flag "") -}} -{{- end -}} -{{- if $_is_returning -}} -{{- break -}} -{{- end -}} -{{- $_is_returning = true -}} -{{- (dict "r" $parsed) | toJson -}} -{{- break -}} -{{- end -}} -{{- end -}} - diff --git a/charts/redpanda/chart/templates/_render_state.go.tpl b/charts/redpanda/chart/templates/_render_state.go.tpl index 575a8e04a..b7babf7f0 100644 --- a/charts/redpanda/chart/templates/_render_state.go.tpl +++ b/charts/redpanda/chart/templates/_render_state.go.tpl @@ -11,16 +11,16 @@ {{- break -}} {{- end -}} {{- $secretName := (printf "%s-bootstrap-user" (get (fromJson (include "redpanda.Fullname" (dict "a" (list $r)))) "r")) -}} -{{- $_63_existing_1_ok_2 := (get (fromJson (include "_shims.lookup" (dict "a" (list "v1" "Secret" $r.Release.Namespace $secretName)))) "r") -}} -{{- $existing_1 := (index $_63_existing_1_ok_2 0) -}} -{{- $ok_2 := (index $_63_existing_1_ok_2 1) -}} +{{- $_64_existing_1_ok_2 := (get (fromJson (include "_shims.lookup" (dict "a" (list "v1" "Secret" $r.Release.Namespace $secretName)))) "r") -}} +{{- $existing_1 := (index $_64_existing_1_ok_2 0) -}} +{{- $ok_2 := (index $_64_existing_1_ok_2 1) -}} {{- if $ok_2 -}} {{- $_ := (set $existing_1 "immutable" true) -}} {{- $_ := (set $r "BootstrapUserSecret" $existing_1) -}} {{- $selector := (get (fromJson (include "redpanda.BootstrapUser.SecretKeySelector" (dict "a" (list $r.Values.auth.sasl.bootstrapUser (get (fromJson (include "redpanda.Fullname" (dict "a" (list $r)))) "r"))))) "r") -}} -{{- $_80_data_3_found_4 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $existing_1.data $selector.key (coalesce nil))))) "r") -}} -{{- $data_3 := (index $_80_data_3_found_4 0) -}} -{{- $found_4 := (index $_80_data_3_found_4 1) -}} +{{- $_81_data_3_found_4 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $existing_1.data $selector.key (coalesce nil))))) "r") -}} +{{- $data_3 := (index $_81_data_3_found_4 0) -}} +{{- $found_4 := (index $_81_data_3_found_4 1) -}} {{- if $found_4 -}} {{- $_ := (set $r "BootstrapUserPassword" (toString $data_3)) -}} {{- end -}} @@ -33,9 +33,9 @@ {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} {{- if $r.Release.IsUpgrade -}} -{{- $_95_existing_5_ok_6 := (get (fromJson (include "_shims.lookup" (dict "a" (list "apps/v1" "StatefulSet" $r.Release.Namespace (get (fromJson (include "redpanda.Fullname" (dict "a" (list $r)))) "r"))))) "r") -}} -{{- $existing_5 := (index $_95_existing_5_ok_6 0) -}} -{{- $ok_6 := (index $_95_existing_5_ok_6 1) -}} +{{- $_96_existing_5_ok_6 := (get (fromJson (include "_shims.lookup" (dict "a" (list "apps/v1" "StatefulSet" $r.Release.Namespace (get (fromJson (include "redpanda.Fullname" (dict "a" (list $r)))) "r"))))) "r") -}} +{{- $existing_5 := (index $_96_existing_5_ok_6 0) -}} +{{- $ok_6 := (index $_96_existing_5_ok_6 1) -}} {{- if (and $ok_6 (gt ((get (fromJson (include "_shims.len" (dict "a" (list $existing_5.spec.template.metadata.labels)))) "r") | int) (0 | int))) -}} {{- $_ := (set $r "StatefulSetPodLabels" $existing_5.spec.template.metadata.labels) -}} {{- $_ := (set $r "StatefulSetSelector" $existing_5.spec.selector.matchLabels) -}} @@ -44,3 +44,57 @@ {{- end -}} {{- end -}} +{{- define "redpanda.RenderState.AsStaticConfigSource" -}} +{{- $r := (index .a 0) -}} +{{- range $_ := (list 1) -}} +{{- $_is_returning := false -}} +{{- $username := (get (fromJson (include "redpanda.BootstrapUser.Username" (dict "a" (list $r.Values.auth.sasl.bootstrapUser)))) "r") -}} +{{- $passwordRef := (get (fromJson (include "redpanda.BootstrapUser.SecretKeySelector" (dict "a" (list $r.Values.auth.sasl.bootstrapUser (get (fromJson (include "redpanda.Fullname" (dict "a" (list $r)))) "r"))))) "r") -}} +{{- $kafkaSpec := (mustMergeOverwrite (dict "brokers" (coalesce nil)) (dict "brokers" (get (fromJson (include "redpanda.BrokerList" (dict "a" (list $r ($r.Values.listeners.kafka.port | int))))) "r"))) -}} +{{- if (get (fromJson (include "redpanda.InternalTLS.IsEnabled" (dict "a" (list $r.Values.listeners.kafka.tls $r.Values.tls)))) "r") -}} +{{- $_ := (set $kafkaSpec "tls" (get (fromJson (include "redpanda.InternalTLS.ToCommonTLS" (dict "a" (list $r.Values.listeners.kafka.tls $r $r.Values.tls)))) "r")) -}} +{{- end -}} +{{- if (get (fromJson (include "redpanda.Auth.IsSASLEnabled" (dict "a" (list $r.Values.auth)))) "r") -}} +{{- $_ := (set $kafkaSpec "sasl" (mustMergeOverwrite (dict "passwordSecretRef" (dict "name" "") "mechanism" "" "oauth" (dict "tokenSecretRef" (dict "name" "")) "gssapi" (dict "authType" "" "keyTabPath" "" "kerberosConfigPath" "" "serviceName" "" "username" "" "passwordSecretRef" (dict "name" "") "realm" "" "enableFast" false) "awsMskIam" (dict "accessKey" "" "secretKeySecretRef" (dict "name" "") "sessionTokenSecretRef" (dict "name" "") "userAgent" "")) (dict "username" $username "passwordSecretRef" (mustMergeOverwrite (dict "name" "") (dict "namespace" $r.Release.Namespace "name" $passwordRef.name "key" $passwordRef.key)) "mechanism" (toString (get (fromJson (include "redpanda.BootstrapUser.GetMechanism" (dict "a" (list $r.Values.auth.sasl.bootstrapUser)))) "r"))))) -}} +{{- end -}} +{{- $adminTLS := (coalesce nil) -}} +{{- $adminSchema := "http" -}} +{{- if (get (fromJson (include "redpanda.InternalTLS.IsEnabled" (dict "a" (list $r.Values.listeners.admin.tls $r.Values.tls)))) "r") -}} +{{- $adminSchema = "https" -}} +{{- $adminTLS = (get (fromJson (include "redpanda.InternalTLS.ToCommonTLS" (dict "a" (list $r.Values.listeners.admin.tls $r $r.Values.tls)))) "r") -}} +{{- end -}} +{{- $adminAuth := (coalesce nil) -}} +{{- $_142_adminAuthEnabled__ := (get (fromJson (include "_shims.typetest" (dict "a" (list "bool" (index $r.Values.config.cluster "admin_api_require_auth") false)))) "r") -}} +{{- $adminAuthEnabled := (index $_142_adminAuthEnabled__ 0) -}} +{{- $_ := (index $_142_adminAuthEnabled__ 1) -}} +{{- if $adminAuthEnabled -}} +{{- $adminAuth = (mustMergeOverwrite (dict "passwordSecretRef" (dict "name" "")) (dict "username" $username "passwordSecretRef" (mustMergeOverwrite (dict "name" "") (dict "namespace" $r.Release.Namespace "name" $passwordRef.name "key" $passwordRef.key)))) -}} +{{- end -}} +{{- $adminSpec := (mustMergeOverwrite (dict "urls" (coalesce nil)) (dict "tls" $adminTLS "sasl" $adminAuth "urls" (list (printf "%s://%s:%d" $adminSchema (get (fromJson (include "redpanda.InternalDomain" (dict "a" (list $r)))) "r") ($r.Values.listeners.admin.port | int))))) -}} +{{- $schemaRegistrySpec := (coalesce nil) -}} +{{- if $r.Values.listeners.schemaRegistry.enabled -}} +{{- $schemaTLS := (coalesce nil) -}} +{{- $schemaSchema := "http" -}} +{{- if (get (fromJson (include "redpanda.InternalTLS.IsEnabled" (dict "a" (list $r.Values.listeners.schemaRegistry.tls $r.Values.tls)))) "r") -}} +{{- $schemaSchema = "https" -}} +{{- $schemaTLS = (get (fromJson (include "redpanda.InternalTLS.ToCommonTLS" (dict "a" (list $r.Values.listeners.schemaRegistry.tls $r $r.Values.tls)))) "r") -}} +{{- end -}} +{{- $schemaURLs := (coalesce nil) -}} +{{- $brokers := (get (fromJson (include "redpanda.BrokerList" (dict "a" (list $r ($r.Values.listeners.schemaRegistry.port | int))))) "r") -}} +{{- range $_, $broker := $brokers -}} +{{- $schemaURLs = (concat (default (list) $schemaURLs) (list (printf "%s://%s" $schemaSchema $broker))) -}} +{{- end -}} +{{- if $_is_returning -}} +{{- break -}} +{{- end -}} +{{- $schemaRegistrySpec = (mustMergeOverwrite (dict "urls" (coalesce nil)) (dict "urls" $schemaURLs "tls" $schemaTLS)) -}} +{{- if (get (fromJson (include "redpanda.Auth.IsSASLEnabled" (dict "a" (list $r.Values.auth)))) "r") -}} +{{- $_ := (set $schemaRegistrySpec "sasl" (mustMergeOverwrite (dict "passwordSecretRef" (dict "name" "") "token" (dict "name" "")) (dict "username" $username "passwordSecretRef" (mustMergeOverwrite (dict "name" "") (dict "namespace" $r.Release.Namespace "name" $passwordRef.name "key" $passwordRef.key))))) -}} +{{- end -}} +{{- end -}} +{{- $_is_returning = true -}} +{{- (dict "r" (mustMergeOverwrite (dict) (dict "kafka" $kafkaSpec "admin" $adminSpec "schemaRegistry" $schemaRegistrySpec))) | toJson -}} +{{- break -}} +{{- end -}} +{{- end -}} + diff --git a/charts/redpanda/configmap.tpl.go b/charts/redpanda/configmap.tpl.go index b49060e91..880617e50 100644 --- a/charts/redpanda/configmap.tpl.go +++ b/charts/redpanda/configmap.tpl.go @@ -18,6 +18,7 @@ import ( "k8s.io/utils/ptr" "github.com/redpanda-data/redpanda-operator/gotohelm/helmette" + "github.com/redpanda-data/redpanda-operator/pkg/chartutil" "github.com/redpanda-data/redpanda-operator/pkg/clusterconfiguration" ) @@ -641,7 +642,7 @@ func RedpandaAdditionalStartFlags(values *Values, pool Pool) (bool, bool, []stri delete(flags, "--reserve-memory") } - for key, value := range helmette.SortedMap(ParseCLIArgs(pool.Statefulset.AdditionalRedpandaCmdFlags)) { + for key, value := range helmette.SortedMap(chartutil.ParseFlags(pool.Statefulset.AdditionalRedpandaCmdFlags)) { flags[key] = value } diff --git a/charts/redpanda/console.tpl.go b/charts/redpanda/console.tpl.go index 70b48c8c9..b5121ed59 100644 --- a/charts/redpanda/console.tpl.go +++ b/charts/redpanda/console.tpl.go @@ -11,14 +11,11 @@ package redpanda import ( - "fmt" - "k8s.io/utils/ptr" "github.com/redpanda-data/redpanda-operator/charts/console/v3" consolechart "github.com/redpanda-data/redpanda-operator/charts/console/v3/chart" "github.com/redpanda-data/redpanda-operator/gotohelm/helmette" - "github.com/redpanda-data/redpanda-operator/pkg/ir" "github.com/redpanda-data/redpanda-operator/pkg/kube" ) @@ -32,7 +29,7 @@ func consoleChartIntegration(state *RenderState) []kube.Object { consoleState := consolechart.DotToState(state.Dot.Subcharts["console"]) - staticCfg := toStaticConfig(state) + staticCfg := state.AsStaticConfigSource() overlay := console.StaticConfigurationSourceToPartialRenderValues(&staticCfg) consoleState.Values.ConfigMap.Create = true @@ -61,104 +58,3 @@ func consoleChartIntegration(state *RenderState) []kube.Object { console.Deployment(consoleState), } } - -func toStaticConfig(state *RenderState) ir.StaticConfigurationSource { - username := state.Values.Auth.SASL.BootstrapUser.Username() - passwordRef := state.Values.Auth.SASL.BootstrapUser.SecretKeySelector(Fullname(state)) - - // Kafka API configuration - kafkaSpec := &ir.KafkaAPISpec{ - Brokers: BrokerList(state, state.Values.Listeners.Kafka.Port), - } - - // Add TLS configuration for Kafka if enabled - if state.Values.Listeners.Kafka.TLS.IsEnabled(&state.Values.TLS) { - kafkaSpec.TLS = state.Values.Listeners.Kafka.TLS.ToCommonTLS(state, &state.Values.TLS) - } - - // TODO This check may need to be more complex. - // There's two cluster configs and then listener level configuration. - // Add SASL authentication using bootstrap user if enabled - if state.Values.Auth.IsSASLEnabled() { - kafkaSpec.SASL = &ir.KafkaSASL{ - Username: username, - Password: ir.SecretKeyRef{ - Namespace: state.Release.Namespace, - Name: passwordRef.Name, - Key: passwordRef.Key, - }, - Mechanism: ir.SASLMechanism(state.Values.Auth.SASL.BootstrapUser.GetMechanism()), - } - } - - // Admin API configuration - var adminTLS *ir.CommonTLS - adminSchema := "http" - if state.Values.Listeners.Admin.TLS.IsEnabled(&state.Values.TLS) { - adminSchema = "https" - adminTLS = state.Values.Listeners.Admin.TLS.ToCommonTLS(state, &state.Values.TLS) - } - - var adminAuth *ir.AdminAuth - adminAuthEnabled, _ := state.Values.Config.Cluster["admin_api_require_auth"].(bool) - if adminAuthEnabled { - adminAuth = &ir.AdminAuth{ - Username: username, - Password: ir.SecretKeyRef{ - Namespace: state.Release.Namespace, - Name: passwordRef.Name, - Key: passwordRef.Key, - }, - } - } - - adminSpec := &ir.AdminAPISpec{ - TLS: adminTLS, - Auth: adminAuth, - URLs: []string{ - // NB: Console uses SRV based service discovery and doesn't require a full list of addresses. - fmt.Sprintf("%s://%s:%d", adminSchema, InternalDomain(state), state.Values.Listeners.Admin.Port), - }, - } - - // Schema Registry configuration (if enabled) - var schemaRegistrySpec *ir.SchemaRegistrySpec - if state.Values.Listeners.SchemaRegistry.Enabled { - var schemaTLS *ir.CommonTLS - schemaSchema := "http" - if state.Values.Listeners.SchemaRegistry.TLS.IsEnabled(&state.Values.TLS) { - schemaSchema = "https" - schemaTLS = state.Values.Listeners.SchemaRegistry.TLS.ToCommonTLS(state, &state.Values.TLS) - } - - var schemaURLs []string - brokers := BrokerList(state, state.Values.Listeners.SchemaRegistry.Port) - for _, broker := range brokers { - schemaURLs = append(schemaURLs, fmt.Sprintf("%s://%s", schemaSchema, broker)) - } - - schemaRegistrySpec = &ir.SchemaRegistrySpec{ - URLs: schemaURLs, - TLS: schemaTLS, - } - - // TODO: This check is likely incorrect but it matches the historical - // behavior. - if state.Values.Auth.IsSASLEnabled() { - schemaRegistrySpec.SASL = &ir.SchemaRegistrySASL{ - Username: username, - Password: ir.SecretKeyRef{ - Namespace: state.Release.Namespace, - Name: passwordRef.Name, - Key: passwordRef.Key, - }, - } - } - } - - return ir.StaticConfigurationSource{ - Kafka: kafkaSpec, - Admin: adminSpec, - SchemaRegistry: schemaRegistrySpec, - } -} diff --git a/charts/redpanda/helpers.go b/charts/redpanda/helpers.go index dddafc318..87484e021 100644 --- a/charts/redpanda/helpers.go +++ b/charts/redpanda/helpers.go @@ -484,54 +484,3 @@ func PodNames(state *RenderState, pool Pool) []string { return pods } - -// ParseCLIArgs parses a slice of strings intended for rpk's -// `additional_start_flags` field into a map to allow merging slices of flags -// or introspection thereof. -// Flags without values are not differentiated between flags with values of an -// empty string. e.g. --value and --value=” are represented the same way. -func ParseCLIArgs(args []string) map[string]string { - parsed := map[string]string{} - - // NB: templates/gotohelm don't supported c style for loops (or ++) which - // is the ideal for this situation. The janky code you see is a rough - // equivalent for the following: - // for i := 0; i < len(args); i++ { - i := -1 // Start at -1 so our increment can be at the start of the loop. - for range args { // Range needs to range over something and we'll always have < len(args) iterations. - i = i + 1 - if i >= len(args) { - break - } - - // All flags should start with - or --. - // If not present, skip this value. - if !strings.HasPrefix(args[i], "-") { - continue - } - - flag := args[i] - - // Handle values like: `--flag value` or `--flag=value` - // There's no strings.Index in sprig, so RegexSplit is the next best - // option. - spl := helmette.RegexSplit(" |=", flag, 2) - if len(spl) == 2 { - parsed[spl[0]] = spl[1] - continue - } - - // If no ' ' or =, consume the next value if it's not formatted like a - // flag: `--flag`, `value` - if i+1 < len(args) && !strings.HasPrefix(args[i+1], "-") { - parsed[flag] = args[i+1] - i = i + 1 - continue - } - - // Otherwise, assume this is a bare flag and assign it an empty string. - parsed[flag] = "" - } - - return parsed -} diff --git a/charts/redpanda/helpers_test.go b/charts/redpanda/helpers_test.go index 0f1b10efe..f1393bcf1 100644 --- a/charts/redpanda/helpers_test.go +++ b/charts/redpanda/helpers_test.go @@ -318,58 +318,3 @@ func TestStrategicMergePatch_nopanic(t *testing.T) { }) }) } - -func TestParseCLIArgs(t *testing.T) { - testCases := []struct { - In []string - Out map[string]string - }{ - { - In: []string{}, - Out: map[string]string{}, - }, - { - In: []string{ - "-foo=bar", - "-baz 1", - "--help", "topic", - }, - Out: map[string]string{ - "-foo": "bar", - "-baz": "1", - "--help": "topic", - }, - }, - { - In: []string{ - "invalid", - "-valid=bar", - "--trailing spaces ", - "--bare=", - "ignored-perhaps-confusingly", - "--final", - }, - Out: map[string]string{ - "-valid": "bar", - "--trailing": "spaces ", - "--bare": "", - "--final": "", - }, - }, - } - - for _, tc := range testCases { - assert.Equal(t, tc.Out, redpanda.ParseCLIArgs(tc.In)) - } - - t.Run("NotPanics", rapid.MakeCheck(func(t *rapid.T) { - // We could certainly be more inventive with - // the inputs here but this is more of a - // fuzz test than a property test. - in := rapid.SliceOf(rapid.String()).Draw(t, "input") - - assert.NotPanics(t, func() { - redpanda.ParseCLIArgs(in) - }) - })) -} diff --git a/charts/redpanda/render_state.go b/charts/redpanda/render_state.go index dd25b27ff..d37e83f05 100644 --- a/charts/redpanda/render_state.go +++ b/charts/redpanda/render_state.go @@ -18,6 +18,7 @@ import ( "k8s.io/utils/ptr" "github.com/redpanda-data/redpanda-operator/gotohelm/helmette" + "github.com/redpanda-data/redpanda-operator/pkg/ir" ) // RenderState contains contextual information about the current rendering of @@ -94,3 +95,104 @@ func (r *RenderState) FetchStatefulSetPodSelector() { } } } + +func (r *RenderState) AsStaticConfigSource() ir.StaticConfigurationSource { + username := r.Values.Auth.SASL.BootstrapUser.Username() + passwordRef := r.Values.Auth.SASL.BootstrapUser.SecretKeySelector(Fullname(r)) + + // Kafka API configuration + kafkaSpec := &ir.KafkaAPISpec{ + Brokers: BrokerList(r, r.Values.Listeners.Kafka.Port), + } + + // Add TLS configuration for Kafka if enabled + if r.Values.Listeners.Kafka.TLS.IsEnabled(&r.Values.TLS) { + kafkaSpec.TLS = r.Values.Listeners.Kafka.TLS.ToCommonTLS(r, &r.Values.TLS) + } + + // TODO This check may need to be more complex. + // There's two cluster configs and then listener level configuration. + // Add SASL authentication using bootstrap user if enabled + if r.Values.Auth.IsSASLEnabled() { + kafkaSpec.SASL = &ir.KafkaSASL{ + Username: username, + Password: ir.SecretKeyRef{ + Namespace: r.Release.Namespace, + Name: passwordRef.Name, + Key: passwordRef.Key, + }, + Mechanism: ir.SASLMechanism(r.Values.Auth.SASL.BootstrapUser.GetMechanism()), + } + } + + // Admin API configuration + var adminTLS *ir.CommonTLS + adminSchema := "http" + if r.Values.Listeners.Admin.TLS.IsEnabled(&r.Values.TLS) { + adminSchema = "https" + adminTLS = r.Values.Listeners.Admin.TLS.ToCommonTLS(r, &r.Values.TLS) + } + + var adminAuth *ir.AdminAuth + adminAuthEnabled, _ := r.Values.Config.Cluster["admin_api_require_auth"].(bool) + if adminAuthEnabled { + adminAuth = &ir.AdminAuth{ + Username: username, + Password: ir.SecretKeyRef{ + Namespace: r.Release.Namespace, + Name: passwordRef.Name, + Key: passwordRef.Key, + }, + } + } + + adminSpec := &ir.AdminAPISpec{ + TLS: adminTLS, + Auth: adminAuth, + URLs: []string{ + // NB: Console uses SRV based service discovery and doesn't require a full list of addresses. + fmt.Sprintf("%s://%s:%d", adminSchema, InternalDomain(r), r.Values.Listeners.Admin.Port), + }, + } + + // Schema Registry configuration (if enabled) + var schemaRegistrySpec *ir.SchemaRegistrySpec + if r.Values.Listeners.SchemaRegistry.Enabled { + var schemaTLS *ir.CommonTLS + schemaSchema := "http" + if r.Values.Listeners.SchemaRegistry.TLS.IsEnabled(&r.Values.TLS) { + schemaSchema = "https" + schemaTLS = r.Values.Listeners.SchemaRegistry.TLS.ToCommonTLS(r, &r.Values.TLS) + } + + var schemaURLs []string + brokers := BrokerList(r, r.Values.Listeners.SchemaRegistry.Port) + for _, broker := range brokers { + schemaURLs = append(schemaURLs, fmt.Sprintf("%s://%s", schemaSchema, broker)) + } + + schemaRegistrySpec = &ir.SchemaRegistrySpec{ + URLs: schemaURLs, + TLS: schemaTLS, + } + + // TODO: This check is likely incorrect but it matches the historical + // behavior. + if r.Values.Auth.IsSASLEnabled() { + schemaRegistrySpec.SASL = &ir.SchemaRegistrySASL{ + Username: username, + Password: ir.SecretKeyRef{ + Namespace: r.Release.Namespace, + Name: passwordRef.Name, + Key: passwordRef.Key, + }, + } + } + } + + return ir.StaticConfigurationSource{ + Kafka: kafkaSpec, + Admin: adminSpec, + SchemaRegistry: schemaRegistrySpec, + } +} diff --git a/charts/redpanda/render_state_nogotohelm.go b/charts/redpanda/render_state_nogotohelm.go index d2fce0b15..46c0a9d43 100644 --- a/charts/redpanda/render_state_nogotohelm.go +++ b/charts/redpanda/render_state_nogotohelm.go @@ -29,7 +29,6 @@ import ( "k8s.io/utils/ptr" "github.com/redpanda-data/redpanda-operator/gotohelm/helmette" - "github.com/redpanda-data/redpanda-operator/pkg/ir" "github.com/redpanda-data/redpanda-operator/pkg/kube" ) @@ -237,10 +236,6 @@ func (r *RenderState) TLSConfig(listener InternalTLS) (*tls.Config, error) { return tlsConfig, nil } -func (r *RenderState) AsStaticConfigSource() ir.StaticConfigurationSource { - return toStaticConfig(r) -} - func certificatesFor(state *RenderState, name string) (certSecret, certKey, clientSecret string) { cert, ok := state.Values.TLS.Certs[name] if !ok || !ptr.Deref(cert.Enabled, true) { diff --git a/ci/goverter.nix b/ci/goverter.nix new file mode 100644 index 000000000..3745154d9 --- /dev/null +++ b/ci/goverter.nix @@ -0,0 +1,27 @@ +{ buildGoModule, lib, fetchFromGitHub }: + +buildGoModule rec { + pname = "goverter"; + version = "1.9.1"; + + src = fetchFromGitHub { + owner = "jmattheis"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-7uzkSI6ZqkCu+rhC2KMHU2i0geedy6gOKiLZwsFDExM="; + }; + + vendorHash = "sha256-wStuQhxrzd+LyHQi+k6ez6JT1xzZcPjJa09WqX70bys="; + + doCheck = false; + + subPackages = [ + "cmd/goverter" + ]; + + meta = with lib; { + description = "goverter is a tool for creating type-safe converters"; + homepage = "https://goverter.jmattheis.de/"; + license = licenses.mit; + }; +} diff --git a/ci/overlay.nix b/ci/overlay.nix index 395d73a24..f339bef4d 100644 --- a/ci/overlay.nix +++ b/ci/overlay.nix @@ -1,14 +1,15 @@ { pkgs }: (final: prev: { - code-generator = pkgs.callPackage ./code-generator.nix { }; backport = pkgs.callPackage ./backport.nix { }; + bk = pkgs.callPackage ./bk.nix { }; + code-generator = pkgs.callPackage ./code-generator.nix { }; controller-gen = pkgs.callPackage ./controller-gen.nix { }; crd-ref-docs = pkgs.callPackage ./crd-ref-docs.nix { }; docker-tag-list = pkgs.callPackage ./docker-tag-list.nix { }; go-licenses = pkgs.callPackage ./go-licenses.nix { inherit prev; }; + goverter = pkgs.callPackage ./goverter.nix { }; helm-3-10-3 = pkgs.callPackage ./helm.nix { }; kuttl = pkgs.callPackage ./kuttl.nix { }; setup-envtest = pkgs.callPackage ./setup-envtest.nix { }; vcluster = pkgs.callPackage ./vcluster.nix { }; - bk = pkgs.callPackage ./bk.nix { }; }) diff --git a/flake.nix b/flake.nix index d10d8a90a..21e191d2b 100644 --- a/flake.nix +++ b/flake.nix @@ -74,6 +74,7 @@ pkgs.gofumpt pkgs.golangci-lint pkgs.gotestsum + pkgs.goverter pkgs.helm-3-10-3 pkgs.helm-docs pkgs.jq diff --git a/go.work.sum b/go.work.sum index 043573cd2..e28f8ec5f 100644 --- a/go.work.sum +++ b/go.work.sum @@ -9,7 +9,6 @@ buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.34.2-2024071716455 buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.2-20241127180247-a33202765966.1/go.mod h1:JnMVLi3qrNYPODVpEKG7UjHLl/d2zR221e66YCSmP2Q= buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.5-20241127180247-a33202765966.1/go.mod h1:eOqrCVUfhh7SLo00urDe/XhJHljj0dWMZirS0aX7cmc= buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.6-20240920164238-5a7b106cbb87.1/go.mod h1:avRlCjnFzl98VPaeCtJ24RrV/wwHFzB8sWXhj26+n/U= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.6-20250307204501-0409229c3780.1/go.mod h1:avRlCjnFzl98VPaeCtJ24RrV/wwHFzB8sWXhj26+n/U= buf.build/gen/go/grpc-ecosystem/grpc-gateway/connectrpc/go v1.16.2-20221127060915-a1ecdc58eccd.1/go.mod h1:weK4p6hYJhrGOtmWuJbOCXvHS4VefJm3KA6hITJ3ItE= buf.build/gen/go/grpc-ecosystem/grpc-gateway/connectrpc/go v1.18.1-20221127060915-a1ecdc58eccd.1/go.mod h1:hV0ZN3k17kdwQlyE5eYuuhDWNqRn0cftK5N/bthqEDo= buf.build/gen/go/grpc-ecosystem/grpc-gateway/connectrpc/go v1.18.1-20240617172850-a48fcebcf8f1.1 h1:1N3nmOlexJlYNfdX8pNg+S+Q2Rv4MRDHUogHl5j+gjA= @@ -24,7 +23,6 @@ buf.build/gen/go/redpandadata/common/connectrpc/go v1.16.2-20240508150812-e0d0fb buf.build/gen/go/redpandadata/common/connectrpc/go v1.18.1-20240917150400-3f349e63f44a.1 h1:EPRfGAJDTnM3J3MPGMPEs+HBezpiE/8lTWB3kdlQTGI= buf.build/gen/go/redpandadata/common/connectrpc/go v1.18.1-20240917150400-3f349e63f44a.1/go.mod h1:ZNgPT3k1W0p+EkMibCzOqoHOhNDi1ym6RH7/kGEHeKE= buf.build/gen/go/redpandadata/common/protocolbuffers/go v1.34.2-20240715174743-9c0afe867874.2/go.mod h1:wThyg02xJx4K/DA5fg0QlKts8XVPyTT86JC8hPfEzno= -buf.build/gen/go/redpandadata/common/protocolbuffers/go v1.36.6-20240917150400-3f349e63f44a.1/go.mod h1:yA5Jg45dsAoOvAx1XHbDwwcWkkYW568MUeKJsa9bgrY= buf.build/gen/go/redpandadata/dataplane/connectrpc/go v1.16.2-20240620104934-3415ce922cfb.1/go.mod h1:R0DNyd3sxZqaTQrcjSgGaJqHndFCf3kKHBbXgKYzKDY= buf.build/gen/go/redpandadata/dataplane/protocolbuffers/go v1.34.2-20240620104934-3415ce922cfb.2/go.mod h1:AcLjVYZHtwlZvBrjuqyjtZtHv9BbDaHD6C92lO/gJFI= buf.build/gen/go/redpandadata/dataplane/protocolbuffers/go v1.36.2-20250404200318-65f29ddd7b29.1/go.mod h1:zTNjffbkXs9K5/sbSlagide7l0hSTs+Oa1j39yENO8M= @@ -36,11 +34,8 @@ cel.dev/expr v0.18.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= cel.dev/expr v0.19.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= cel.dev/expr v0.19.1/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= cel.dev/expr v0.19.2/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= -cel.dev/expr v0.20.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= cel.dev/expr v0.23.0/go.mod h1:hLPLo1W4QUmuYdA72RBX06QTs6MXw941piREPl3Yfiw= cel.dev/expr v0.23.1/go.mod h1:hLPLo1W4QUmuYdA72RBX06QTs6MXw941piREPl3Yfiw= -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= @@ -67,7 +62,6 @@ cloud.google.com/go v0.115.0/go.mod h1:8jIM5vVgoAEoiVxQ/O4BFTfHqulPZgs/ufEzMcFMd cloud.google.com/go v0.115.1/go.mod h1:DuujITeaufu3gL68/lOFIirVNJwQeyf5UXyi+Wbgknc= cloud.google.com/go v0.116.0/go.mod h1:cEPSRWPzZEswwdr9BxE6ChEn01dWlTaF05LiC2Xs70U= cloud.google.com/go v0.118.3/go.mod h1:Lhs3YLnBlwJ4KA6nuObNMZ/fCbOQBPuWKPoE0Wa/9Vc= -cloud.google.com/go v0.120.0/go.mod h1:/beW32s8/pGRuj4IILWQNd4uuebeT4dkOhKmkfit64Q= cloud.google.com/go v0.120.1/go.mod h1:56Vs7sf/i2jYM6ZL9NYlC82r04PThNcPS5YgFmb0rp8= cloud.google.com/go/accessapproval v1.8.1/go.mod h1:3HAtm2ertsWdwgjSGObyas6fj3ZC/3zwV2WVZXO53sU= cloud.google.com/go/accessapproval v1.8.5 h1:UbnYYyN78geC7YBIOv5w3Majk3NI2IxMQ1Rb+U4Tg2Y= @@ -125,11 +119,9 @@ cloud.google.com/go/auth v0.9.3/go.mod h1:7z6VY+7h3KUdRov5F1i8NDP5ZzWKYmEPO842Bg cloud.google.com/go/auth v0.12.1/go.mod h1:BFMu+TNpF3DmvfBO9ClqTR/SiqVIm7LukKF9mbendF4= cloud.google.com/go/auth v0.13.0/go.mod h1:COOjD9gwfKNKz+IIduatIhYJQIc0mG3H102r/EMxX6Q= cloud.google.com/go/auth v0.14.0/go.mod h1:CYsoRL1PdiDuqeQpZE0bP2pnPrGqFcOkI0nldEQis+A= -cloud.google.com/go/auth v0.15.0/go.mod h1:WJDGqZ1o9E9wKIL+IwStfyn/+s59zl4Bi+1KQNVXLZ8= cloud.google.com/go/auth v0.16.0/go.mod h1:1howDHJ5IETh/LwYs3ZxvlkXF48aSqqJUM+5o02dNOI= cloud.google.com/go/auth/oauth2adapt v0.2.2/go.mod h1:wcYjgpZI9+Yu7LyYBg4pqSiaRkfEK3GQcpb7C/uyF1Q= cloud.google.com/go/auth/oauth2adapt v0.2.6/go.mod h1:AlmsELtlEBnaNTL7jCj8VQFLy6mbZv0s4Q7NGBeQ5E8= -cloud.google.com/go/auth/oauth2adapt v0.2.7/go.mod h1:NTbTTzfvPl1Y3V1nPpOgl2w6d/FjO7NNUQaWSox6ZMc= cloud.google.com/go/automl v1.14.1/go.mod h1:BocG5mhT32cjmf5CXxVsdSM04VXzJW7chVT7CpSL2kk= cloud.google.com/go/automl v1.14.6 h1:xOFzfRhBZPkCQGeHuQyYTXQGr4eOfvWMML1POE98DJk= cloud.google.com/go/automl v1.14.6/go.mod h1:mEn1QHZmPTnmrq6zj33gyKX1K7L32izry14I6LQCO5M= @@ -330,7 +322,6 @@ cloud.google.com/go/iam v1.2.0/go.mod h1:zITGuWgsLZxd8OwAlX+eMFgZDXzBm7icj1PVTYG cloud.google.com/go/iam v1.2.2/go.mod h1:0Ys8ccaZHdI1dEUilwzqng/6ps2YB6vRsjIe00/+6JY= cloud.google.com/go/iam v1.4.0/go.mod h1:gMBgqPaERlriaOV0CUl//XUzDhSfXevn4OEUbg6VRs4= cloud.google.com/go/iam v1.4.1/go.mod h1:2vUEJpUG3Q9p2UdsyksaKpDzlwOrnMzS30isdReIcLM= -cloud.google.com/go/iam v1.5.0/go.mod h1:U+DOtKQltF/LxPEtcDLoobcsZMilSRwR7mgNL7knOpo= cloud.google.com/go/iap v1.10.1/go.mod h1:UKetCEzOZ4Zj7l9TSN/wzRNwbgIYzm4VM4bStaQ/tFc= cloud.google.com/go/iap v1.10.5 h1:V7ny65QJ9qUJLPCekmsfsAzjC1hWD+l+yz+2N4KU4eY= cloud.google.com/go/iap v1.10.5/go.mod h1:Sal3oNlcIiv9YWkXWLD9fYzbSCbnrqOD4Pm8JyaiZZY= @@ -490,7 +481,6 @@ cloud.google.com/go/scheduler v1.11.6 h1:2r/gWvKsyieINJBbunxNG7F0dYPyLGoU1klHyLN cloud.google.com/go/scheduler v1.11.6/go.mod h1:gb8qfU07hAyXXtwrKXs7nbc9ar/R8vNsaRHswZpgPyM= cloud.google.com/go/scheduler v1.11.7/go.mod h1:gqYs8ndLx2M5D0oMJh48aGS630YYvC432tHCnVWN13s= cloud.google.com/go/secretmanager v1.14.1/go.mod h1:L+gO+u2JA9CCyXpSR8gDH0o8EV7i/f0jdBOrUXcIV0U= -cloud.google.com/go/secretmanager v1.14.6/go.mod h1:0OWeM3qpJ2n71MGgNfKsgjC/9LfVTcUqXFUlGxo5PzY= cloud.google.com/go/security v1.18.1/go.mod h1:5P1q9rqwt0HuVeL9p61pTqQ6Lgio1c64jL2ZMWZV21Y= cloud.google.com/go/security v1.18.4 h1:vY/Z2D+bE9PqdZNiPpW+RLSzDNDVWkNDFKdCnqOeCis= cloud.google.com/go/security v1.18.4/go.mod h1:+oNVB34sloqG2K3IpoT2KUDgNAbAJ9A2uENjAUvgzRQ= @@ -602,6 +592,7 @@ connectrpc.com/otelconnect v0.7.0 h1:ZH55ZZtcJOTKWWLy3qmL4Pam4RzRWBJFOqTPyAqCXkY connectrpc.com/otelconnect v0.7.0/go.mod h1:Bt2ivBymHZHqxvo4HkJ0EwHuUzQN6k2l0oH+mp/8nwc= cuelang.org/go v0.13.1/go.mod h1:8MoQXu+RcXsa2s9mebJN1HJ1orVDc9aI9/yKi6Dzsi4= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= +dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= github.com/AdaLogics/go-fuzz-headers v0.0.0-20221103172237-443f56ff4ba8/go.mod h1:i9fr2JpcEcY/IHEvzCM3qXUZYOQHgR89dt4es1CgMhc= @@ -644,7 +635,6 @@ github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBp github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 h1:mFRzDkZVAjdal+s7s0MwaRv9igoPqLRdzOLzw/8Xvq8= github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU= github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0/go.mod h1:kgDmCTgBzIEPFElEF+FK0SdjAor06dRq2Go927dnQ6o= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= @@ -739,12 +729,7 @@ github.com/akamai/AkamaiOPEN-edgegrid-golang v1.2.2/go.mod h1:QlXr/TrICfQ/ANa76s github.com/akavel/rsrc v0.10.2/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c= github.com/alecthomas/kingpin/v2 v2.4.0 h1:f48lwail6p8zpO1bC4TxtqACaGqHYA22qkHjHpqDjYY= github.com/alecthomas/kingpin/v2 v2.4.0/go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= @@ -759,14 +744,10 @@ github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kd github.com/antlr/antlr4/runtime/Go/antlr v1.4.10/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df h1:7RFfzj4SSt6nnvCPbCqijJi1nWCd+TqAT3bYCStRC18= github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df/go.mod h1:pSwJ0fSY5KhvocuWSx4fz3BA8OrA1bQn+K1Eli3BRwM= -github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g= github.com/apache/arrow/go/v15 v15.0.2/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e h1:QEF07wC0T1rKkctt1RINW/+RMTVmiwxETico2l3gxJA= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da h1:8GUt8eRujhVEGZFFEjBj46YV4rDjvGrNxb0KMWYkL2I= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= @@ -780,30 +761,7 @@ github.com/aws/aws-sdk-go v1.55.3/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQ github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= github.com/aws/aws-sdk-go v1.55.6 h1:cSg4pvZ3m8dgYcgqB97MrcdjUmZ1BeMYKUxMMB89IPk= github.com/aws/aws-sdk-go v1.55.6/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= -github.com/aws/aws-sdk-go-v2 v1.9.2/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4= -github.com/aws/aws-sdk-go-v2 v1.32.3/go.mod h1:2SK5n0a2karNTv5tbP1SjsX0uhttou00v/HpXKM1ZUo= -github.com/aws/aws-sdk-go-v2/config v1.8.3/go.mod h1:4AEiLtAb8kLs7vgw2ZV3p2VZ1+hBavOc84hqxVNpCyw= -github.com/aws/aws-sdk-go-v2/config v1.28.1/go.mod h1:bRQcttQJiARbd5JZxw6wG0yIK3eLeSCPdg6uqmmlIiI= -github.com/aws/aws-sdk-go-v2/credentials v1.4.3/go.mod h1:FNNC6nQZQUuyhq5aE5c7ata8o9e4ECGmS4lAXC7o1mQ= -github.com/aws/aws-sdk-go-v2/credentials v1.17.42/go.mod h1:FwZBfU530dJ26rv9saAbxa9Ej3eF/AK0OAY86k13n4M= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.6.0/go.mod h1:gqlclDEZp4aqJOancXK6TN24aKhT0W0Ae9MHk3wzTMM= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.18/go.mod h1:Fjnn5jQVIo6VyedMc0/EhPpfNlPl7dHV916O6B+49aE= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.22/go.mod h1:Y/SmAyPcOTmpeVaWSzSKiILfXTVJwrGmYZhcRbhWuEY= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.22/go.mod h1:1RA1+aBEfn+CAB/Mh0MB6LsdCYCnjZm7tKXtnk499ZQ= -github.com/aws/aws-sdk-go-v2/internal/ini v1.2.4/go.mod h1:ZcBrrI3zBKlhGFNYWvju0I3TR93I7YIgAfy82Fh4lcQ= -github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1/go.mod h1:FbtygfRFze9usAadmnGJNc8KsP346kEe+y2/oyhGAGc= github.com/aws/aws-sdk-go-v2/service/appconfig v1.4.2 h1:5fez51yE//mtmaEkh9JTAcLl4xg60Ha86pE+FIqinGc= -github.com/aws/aws-sdk-go-v2/service/appconfig v1.4.2/go.mod h1:FZ3HkCe+b10uFZZkFdvf98LHW21k49W8o8J366lqVKY= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0/go.mod h1:0jp+ltwkf+SwG2fm/PKo8t4y8pJSgOCO4D8Lz3k0aHQ= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.2/go.mod h1:72HRZDLMtmVQiLG2tLfQcaWLCssELvGl+Zf2WVxMmR8= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.3/go.mod h1:cLSNEmI45soc+Ef8K/L+8sEA3A3pYFEYf5B5UI+6bH4= -github.com/aws/aws-sdk-go-v2/service/sso v1.4.2/go.mod h1:NBvT9R1MEF+Ud6ApJKM0G+IkPchKS7p7c2YPKwHmBOk= -github.com/aws/aws-sdk-go-v2/service/sso v1.24.3/go.mod h1:FZ9j3PFHHAR+w0BSEjK955w5YD2UwB/l/H0yAK3MJvI= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.3/go.mod h1:u19stRyNPxGhj6dRm+Cdgu6N75qnbW7+QN0q0dsAk58= -github.com/aws/aws-sdk-go-v2/service/sts v1.7.2/go.mod h1:8EzeIqfWt2wWT4rJVu3f21TfrhJ8AEMzVybRNSb/b4g= -github.com/aws/aws-sdk-go-v2/service/sts v1.32.3/go.mod h1:VZa9yTFyj4o10YGsmDO4gbQJUvvhY72fhumT8W4LqsE= -github.com/aws/smithy-go v1.8.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= -github.com/aws/smithy-go v1.22.0/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/basgys/goxml2json v1.1.0 h1:4ln5i4rseYfXNd86lGEB+Vi652IsIXIvggKM/BhUKVw= @@ -813,8 +771,6 @@ github.com/beevik/ntp v1.4.3 h1:PlbTvE5NNy4QHmA4Mg57n7mcFTmr1W1j3gcK7L1lqho= github.com/beevik/ntp v1.4.3/go.mod h1:Unr8Zg+2dRn7d8bHFuehIMSvvUYssHMxW3Q5Nx4RW5Q= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bitly/go-simplejson v0.5.0 h1:6IH+V8/tVMab511d5bn4M7EwGXZf9Hj6i2xSwkNEM+Y= @@ -849,14 +805,12 @@ github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInq github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.4.1 h1:iKLQ0xPNFxR/2hzXZMrBo8f1j86j5WHzznCCQxV/b8g= github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= @@ -879,7 +833,6 @@ github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2u github.com/cilium/ebpf v0.9.1 h1:64sn2K3UKw8NbP/blsixRpF3nXuyhz/VjRlRzvlBRu4= github.com/cilium/ebpf v0.9.1/go.mod h1:+OhNOIXx/Fnu1IE8bJz2dzOA+VSfyTfdNUVdlQnxUFY= github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/backoff v0.0.0-20161212185259-647f3cdfc87a/go.mod h1:rzgs2ZOiguV6/NpiDgADjRLPNyZlApIWxKpkT+X8SdY= github.com/cloudflare/cfssl v1.6.5 h1:46zpNkm6dlNkMZH/wMW22ejih6gIaJbzL2du6vD7ZeI= github.com/cloudflare/cfssl v1.6.5/go.mod h1:Bk1si7sq8h2+yVEDrFJiz3d7Aw+pfjjJSZVaD+Taky4= @@ -887,14 +840,11 @@ github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vc github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs= github.com/cloudflare/redoctober v0.0.0-20211013234631-6a74ccc611f6/go.mod h1:Ikt4Wfpln1YOrak+auA8BNxgiilj0Y2y7nO+aN2eMzk= -github.com/cloudhut/common v0.10.0/go.mod h1:qbvZg1TgR2mO11rS3d/NCGeUzUzzdEMHTivsSeFjO2A= github.com/cloudhut/connect-client v0.0.0-20240122153328-02a3103805d8 h1:/vAjE5Gvhj88G2+xziuqhrSRCPjmDeuDakTaBz3s7GI= github.com/cloudhut/connect-client v0.0.0-20240122153328-02a3103805d8/go.mod h1:khC9xPwJVKZQ02jtn3n64gEgOKtlVrcWuSOvmj5hSO4= github.com/cloudhut/connect-client v0.0.0-20240523140316-27c93e339567/go.mod h1:khC9xPwJVKZQ02jtn3n64gEgOKtlVrcWuSOvmj5hSO4= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403 h1:cqQfy1jclcSy/FwLjemeg3SR1yaINm74aQyupQ0Bl8M= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= @@ -981,6 +931,7 @@ github.com/containerd/continuity v0.4.2/go.mod h1:F6PTNCKepoxEaXLQp3wDAjygEnImnZ github.com/containerd/continuity v0.4.4 h1:/fNVfTJ7wIl/YPMHjf+5H32uFhl63JucB34PlCpMKII= github.com/containerd/continuity v0.4.4/go.mod h1:/lNJvtJKUQStBzpVQ1+rasXO1LAWtUQssk28EZvJ3nE= github.com/containerd/errdefs v0.1.0/go.mod h1:YgWiiHtLmSeBrvpw+UfPijzbLaB77mEG1WwJTDETIV0= +github.com/containerd/errdefs v0.3.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M= github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= @@ -1076,7 +1027,6 @@ github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHo github.com/coreos/go-oidc v2.3.0+incompatible h1:+5vEsrgprdLjjQ9FzIKAzQz1wwPD+83hQRfUIPh7rO0= github.com/coreos/go-oidc v2.3.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec= github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= @@ -1084,11 +1034,11 @@ github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7 github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpu/goacmedns v0.1.1 h1:DM3H2NiN2oam7QljgGY5ygy4yDXhK5Z4JUnqaugs2C4= github.com/cpu/goacmedns v0.1.1/go.mod h1:MuaouqEhPAHxsbqjgnck5zeghuwBP1dLnPoobeGqugQ= +github.com/cpuguy83/dockercfg v0.3.1/go.mod h1:sugsbF4//dDlL/i+S+rtpIWp+5h0BHJHfjj5/jFyUJc= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= @@ -1151,6 +1101,7 @@ github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05 github.com/docker/docker v24.0.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v25.0.6+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v27.1.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v27.5.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v28.0.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v28.2.2+incompatible h1:CjwRSksz8Yo4+RmQ339Dp/D2tGO5JxwYeqtMOEe0LDw= github.com/docker/docker v28.2.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= @@ -1170,7 +1121,6 @@ github.com/dop251/goja v0.0.0-20231027120936-b396bb4c349d h1:wi6jN5LVt/ljaBG4ue7 github.com/dop251/goja v0.0.0-20231027120936-b396bb4c349d/go.mod h1:QMWlm50DNe14hD7t24KEqZuUdC9sOTy8W6XbCU1mlw4= github.com/dop251/goja v0.0.0-20250531102226-cb187b08699c/go.mod h1:MxLav0peU43GgvwVgNbLAj1s/bSGboKkhuULvq/7hx4= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/ebitengine/purego v0.8.2/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ= @@ -1185,12 +1135,8 @@ github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRr github.com/emicklei/go-restful/v3 v3.12.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= @@ -1203,7 +1149,6 @@ github.com/envoyproxy/go-control-plane/envoy v1.32.4 h1:jb83lalDRZSpPWW2Z7Mck/8k github.com/envoyproxy/go-control-plane/envoy v1.32.4/go.mod h1:Gzjc5k8JcJswLjAx1Zm+wSYE20UrLtt7JZMWiWQXQEw= github.com/envoyproxy/go-control-plane/ratelimit v0.1.0 h1:/G9QYbddjL25KvtKTv3an9lx6VBE2cnb8wp1vEGNYGI= github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJPzVVHnPgRKdUdwW/KdbRt94AzgRee4= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= github.com/envoyproxy/protoc-gen-validate v1.1.0/go.mod h1:sXRDRVmzEbkM7CVcM06s9shE/m23dg3wzjl0UWqJ2q4= github.com/envoyproxy/protoc-gen-validate v1.2.1 h1:DEo3O99U8j4hBFwbJfrz9VtgcDfUKS7KJ7spH3d86P8= @@ -1216,8 +1161,6 @@ github.com/evanphx/json-patch v5.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi github.com/evanphx/json-patch/v5 v5.9.0/go.mod h1:VNkHZ/282BpEyt/tObQO8s5CMPmYYq14uClGH4abBuQ= github.com/fatih/camelcase v1.0.0 h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8= github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= @@ -1241,7 +1184,6 @@ github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHqu github.com/foxcpp/go-mockdns v0.0.0-20210729171921-fb145fc6f897/go.mod h1:lgRN6+KxQBawyIghpnl5CezHFGS9VLzvtVlwxvzXTQ4= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= @@ -1256,14 +1198,12 @@ github.com/getkin/kin-openapi v0.132.0/go.mod h1:3OlG51PCYNsPByuiMB0t4fjnNlIDnaE github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.8.1 h1:4+fr/el88TOO3ewCmQr8cx/CtZ/umlIRIs5M4NTNjf8= github.com/gin-gonic/gin v1.8.1/go.mod h1:ji8BvRH1azfM+SYow9zQ6SZMvR8qOMZHmsCuWR9tTTk= github.com/go-asn1-ber/asn1-ber v1.5.5 h1:MNHlNMBDgEKD4TcKr36vQN68BA00aDfjIt3/bD50WnA= github.com/go-asn1-ber/asn1-ber v1.5.5/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= -github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-chi/cors v1.2.1 h1:xEC8UT3Rlp2QuWNEr4Fs/c2EAGVKBwy/1vHx3bppil4= github.com/go-chi/cors v1.2.1/go.mod h1:sSbTewc+6wYHBBCW7ytsFSn836hqM7JxpglAy2Vzc58= github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= @@ -1285,20 +1225,13 @@ github.com/go-jose/go-jose/v3 v3.0.3/go.mod h1:5b+7YgP7ZICgJDBdfjZaIt+H/9L9T/YQr github.com/go-jose/go-jose/v4 v4.0.4 h1:VsjPI33J0SB9vQM6PLmNjoHqMQNGPiZ0rHL7Ni7Q6/E= github.com/go-jose/go-jose/v4 v4.0.4/go.mod h1:NKb5HO1EZccyMpiZNbdUw/14tiXNyUJh188dfnMCAfc= github.com/go-jose/go-jose/v4 v4.0.5/go.mod h1:s3P1lRrkT8igV8D9OjyL4WRyHvjB6a4JSllnOrmmBOA= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0 h1:wDJmvq38kDhkVxi50ni9ykkdUr1PKgqKOoi01fa0Mdk= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/log v0.1.0 h1:DGJh0Sm43HbOeYDNnVZFl8BvcYVvjD5bqYJvp0REbwQ= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-ldap/ldap v3.0.2+incompatible h1:kD5HQcAzlQ7yrhfn+h+MSABeAy/jAJhvIJ/QDllP44g= -github.com/go-ldap/ldap v3.0.2+incompatible/go.mod h1:qfd9rJvER9Q0/D/Sqn1DfHRoBp40uXYvFoEVrNEPqRc= github.com/go-ldap/ldap/v3 v3.4.6 h1:ert95MdbiG7aWo/oPYp9btL3KJlMPKnP58r09rI8T+A= github.com/go-ldap/ldap/v3 v3.4.6/go.mod h1:IGMQANNtxpsOzj7uUAMjpGBaOVTC4DYyIy8VsTdxmtc= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4= github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= @@ -1310,7 +1243,6 @@ github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab h1:xveKWz2iaueeTaUgdetzel+U7exyigDYBryyVfV/rZk= github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab/go.mod h1:/P9AEU963A2AYjv4d1V5eVL1CQbEJq6aCNHDDjibzu8= @@ -1349,11 +1281,9 @@ github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5Nq github.com/go-sourcemap/sourcemap v2.1.4+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31 h1:28FVBuwkwowZMjbA7M0wXsI6t3PYulRTMio3SO+eKCM= -github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/gobuffalo/flect v1.0.2 h1:eqjPGSo2WmjgY2XlpGwo2NXgL3RucAKo4k4qQMNA5sA= github.com/gobuffalo/flect v1.0.2/go.mod h1:A5msMlrHtLqh9umBSnvabjsMrCcCpAyzglnDvkbYKHs= github.com/gobuffalo/logger v1.0.6/go.mod h1:J31TBEHR1QLV2683OXTAItYIg8pv2JMHnF/quuAbMjs= @@ -1364,7 +1294,6 @@ github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblf github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= @@ -1382,7 +1311,6 @@ github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/ github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= github.com/gogo/googleapis v1.4.1 h1:1Yx4Myt7BxzvUr5ldGSbwYiZG6t9wGBZ+8/fX3Wvtq0= github.com/gogo/googleapis v1.4.1/go.mod h1:2lpHqI5OcWCtVElxXnPt+s8oJvMpySlOyM6xDCrzib4= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= @@ -1400,7 +1328,6 @@ github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVI github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.2.4 h1:CNNw5U8lSiiBk7druxtSHHTsRWcxKoac6kZKm2peBBc= github.com/golang/glog v1.2.4/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= @@ -1413,7 +1340,6 @@ github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= github.com/golang/mock v1.1.1 h1:G5FRp8JnTd7RQH5kemVNlMeyXQAztQ3mOWV95KxsXH8= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= @@ -1423,54 +1349,27 @@ github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71 github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/mock v1.7.0-rc.1/go.mod h1:s42URUywIqd+OcERslBJvOjepvNymP31m3q8d/GkuRs= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/gomodule/redigo v1.8.2/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/cel-go v0.22.0/go.mod h1:BuznPXXfQDpXKWQ9sPW3TzlAJN5zzFe+i9tIs0yC4s8= -github.com/google/cel-go v0.23.2/go.mod h1:52Pb6QsDbC5kvgxvZhiL9QX1oZEkcUF/ZqaPx1J5Wwo= github.com/google/certificate-transparency-go v1.1.7/go.mod h1:FSSBo8fyMVgqptbfF6j5p/XNdgQftAhSmXcIxV9iphE= github.com/google/flatbuffers v1.12.1/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/flatbuffers v23.5.26+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-containerregistry v0.17.0/go.mod h1:u0qB2l7mvtWVR5kNcbFIhFY1hLbf8eeGapA+vbFDCtQ= github.com/google/go-pkcs11 v0.3.0 h1:PVRnTgtArZ3QQqTGtbtjtnIkzl2iY2kt24yqbrf7td8= @@ -1497,13 +1396,11 @@ github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= -github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/s2a-go v0.1.8/go.mod h1:6iNWHTpQ+nfNRN5E00MSdfDwVesa8hhS32PhPO8deJA= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -1520,7 +1417,6 @@ github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38 github.com/googleapis/gax-go/v2 v2.12.3/go.mod h1:AKloxT6GtNbaLm8QTNSidHUVsHYcBHwWRvkNFJUQcS4= github.com/googleapis/gax-go/v2 v2.12.5/go.mod h1:BUDKcWo+RaKq5SC9vVYL0wLADa3VcfswbOMMRmB9H3E= github.com/googleapis/gax-go/v2 v2.14.0/go.mod h1:lhBCnjdLrWRaPvLWhmc8IS24m9mr07qSYnHncrgo+zk= -github.com/googleapis/gax-go/v2 v2.14.1/go.mod h1:Hb/NubMaVM88SrNkvl8X/o8XWwDJEPqouaLeN2IUxoA= github.com/googleapis/gnostic v0.4.1 h1:DLJCy1n/vrD4HPjOvYcT8aYQXpPIzoRZONaYwyycI+I= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= @@ -1564,81 +1460,50 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0/go.mod h1:igFoXX2ELCW06bol23DW github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0/go.mod h1:qztMSjm835F2bXf+5HKAPIS5qsmQDqZna/PgVt4rWtI= github.com/grpc-ecosystem/grpc-gateway/v2 v2.25.1/go.mod h1:RBRO7fro65R6tjKzYgLAFo0t1QEXY1Dp+i/bvpRiqiQ= github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1/go.mod h1:tIxuGz/9mpox++sgp9fJjHO0+q1X9/UOWd798aAm22M= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3/go.mod h1:ndYquD05frm2vACXE1nsccT4oJzjhw2arTS2cpUD1PI= github.com/hamba/avro/v2 v2.23.0/go.mod h1:7vDfy/2+kYCE8WUHoj2et59GTv0ap7ptktMXu0QHePI= github.com/hamba/avro/v2 v2.27.0 h1:IAM4lQ0VzUIKBuo4qlAiLKfqALSrFC+zi1iseTtbBKU= github.com/hamba/avro/v2 v2.27.0/go.mod h1:jN209lopfllfrz7IGoZErlDz+AyUJ3vrBePQFZwYf5I= github.com/hamba/avro/v2 v2.29.0/go.mod h1:Pk3T+x74uJoJOFmHrdJ8PRdgSEL/kEKteJ31NytCKxI= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.13.0 h1:2hnLQ0GjQvw7f3O61jMO8gbasZviZTrt9R8WzgiirHc= -github.com/hashicorp/consul/api v1.13.0/go.mod h1:ZlVrynguJKcYr54zGaDbaL3fOvKC9m72FhPvA8T35KQ= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/consul/sdk v0.8.0 h1:OJtKBtEjboEZvG6AOUdh4Z1Zbyu0WcxQ0qatRrZHTVU= -github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= -github.com/hashicorp/go-hclog v0.8.0/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.12.0 h1:d4QkX8FRTYaKaCZBoXYY8zJX2BXjWxurN/GA2tkrmZM= -github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-msgpack v0.5.3 h1:zKjpN5BK/P5lMYrLmBHdBULWbJ0XpYR+7NGzqkZzoD4= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= github.com/hashicorp/go-plugin v1.0.1 h1:4OtAfUGbnKC6yS48p0CtMX2oFYtzFZVv6rok3cRWgnE= -github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= -github.com/hashicorp/go-retryablehttp v0.5.4/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.7.5 h1:bJj+Pj19UZMIweq/iie+1u5YCdGrnxCT9yvm0e+Nd5M= github.com/hashicorp/go-retryablehttp v0.7.5/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-rootcerts v1.0.1/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 h1:iBt4Ew4XEGLfh6/bPk4rSYmuZJGizr6/x/AEizP0CQc= github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8/go.mod h1:aiJI+PIApBRQG7FZTEBx5GiiX+HbOHilUdNxUZi4eV0= github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 h1:kes8mmyCpxJsI7FTwtzRqEy9CdjCtrXrXGuOpxEA7Ts= github.com/hashicorp/go-secure-stdlib/strutil v0.1.2/go.mod h1:Gou2R9+il93BqX25LAKCLuM+y9U2T4hlwvT1yprcna4= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= github.com/hashicorp/go-sockaddr v1.0.6 h1:RSG8rKU28VTUTvEKghe5gIhIQpv8evvNpnDEyqO4u9I= github.com/hashicorp/go-sockaddr v1.0.6/go.mod h1:uoUUmtwU7n9Dv3O4SNLeFvg0SxQ3lyjsj6+CCykpaxI= github.com/hashicorp/go-syslog v1.0.0 h1:KaodqZuhUoZereWVIYmpUgZysurB1kBLX2j0MwMrUAE= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0 h1:bPIoEKD27tNdebFGGxxYwcL4nepeY4j1QP23PFRGzg0= -github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru/arc/v2 v2.0.5/go.mod h1:ny6zBSQZi2JxIeYcv7kt2sH2PXJtirBN7RDhRpxPkxU= github.com/hashicorp/golang-lru/v2 v2.0.5/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl v1.0.1-vault-5/go.mod h1:XYhtn6ijBSAj6n4YqAaf7RBPS4I06AItNorpy+MoQNM= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/mdns v1.0.4 h1:sY0CMhFmjIPDMlTB+HfymFHCaYLhgifZ0QhjaYKD/UQ= -github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/memberlist v0.3.0 h1:8+567mCcFDnS5ADl7lrpxPMWiFCElyUEeW0gtj34fMA= -github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/serf v0.9.6 h1:uuEX1kLR6aoda1TBttmJQKDLZE1Ob7KN0NPdE7EtCDc= -github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= -github.com/hashicorp/vault/api v1.0.4/go.mod h1:gDcqh3WGcR1cpF5AJz/B1UFheUEneMoIospckxBxk6Q= github.com/hashicorp/vault/api v1.10.0 h1:/US7sIjWN6Imp4o/Rj1Ce2Nr5bki/AXi9vAW3p2tOJQ= github.com/hashicorp/vault/api v1.10.0/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8= -github.com/hashicorp/vault/sdk v0.1.13/go.mod h1:B+hVj7TpuQY1Y/GPbCpffmgd+tSEwvhkWnjtSYCaS2M= github.com/hashicorp/vault/sdk v0.10.2 h1:0UEOLhFyoEMpb/r8H5qyOu58A/j35pncqiS/d+ORKYk= github.com/hashicorp/vault/sdk v0.10.2/go.mod h1:VxJIQgftEX7FCDM3i6TTLjrZszAeLhqPicNbCVNRg4I= -github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= -github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/hjson/hjson-go/v4 v4.0.0/go.mod h1:KaYt3bTw3zhBjYqnXkYywcYctk0A2nxeEFTse3rH13E= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= @@ -1683,15 +1548,12 @@ github.com/jhump/protoreflect v1.15.4/go.mod h1:2B+zwrnMY3TTIqEK01OG/d3pyUycQBfD github.com/jhump/protoreflect v1.17.0/go.mod h1:h9+vUUL38jiBzck8ck+6G/aeMX8Z4QUY/NiJPwPNi+8= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath v0.4.1-0.20220621161143-b0104c826a24 h1:liMMTbpW34dhU4az1GN0pTPADwNmvoRSeoZ6PItiqnY= github.com/jmespath/go-jmespath v0.4.1-0.20220621161143-b0104c826a24/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= -github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jmhodges/clock v1.2.0/go.mod h1:qKjhA7x7u/lQpPB1XAqX1b1lCI/w3/fNuYpI/ZjLynI= github.com/jmoiron/sqlx v1.3.5/go.mod h1:nRVWtLre0KfCLJvgxzCsLVMogSvQ1zNJtpYr2Ccp0mQ= github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= -github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= github.com/jonboulle/clockwork v0.4.0 h1:p4Cf1aMWXnXAUh8lVfewRBx1zaTSYKrKMF2g3ST4RZ4= @@ -1699,14 +1561,10 @@ github.com/jonboulle/clockwork v0.4.0/go.mod h1:xgRqUGwRcjKCO1vbZUEtSLrqKoPSsUpK github.com/josephspurrier/goversioninfo v1.4.0/go.mod h1:JWzv5rKQr+MmW+LvM412ToT/IkYDZjaclF2pKDss8IY= github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213/go.mod h1:vNUNkEQ1e29fT/6vq2aBdFsgNPmy8qMdSay1npru+Sw= @@ -1743,17 +1601,11 @@ github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90 github.com/klauspost/cpuid/v2 v2.0.4 h1:g0I61F2K2DjRHz1cnxlkNSBIaePVoJIjjnHui8QHbiw= github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= -github.com/knadh/koanf v1.5.0 h1:q2TSd/3Pyc/5yP9ldIrSdIz26MCcyNQzW0pEAugLPNs= -github.com/knadh/koanf v1.5.0/go.mod h1:Hgyjp4y8v44hpZtPzs7JZfRAW5AhN7KfZcwv1RYggDs= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pty v1.1.1 h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= @@ -1766,7 +1618,6 @@ github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= github.com/lestrrat-go/backoff/v2 v2.0.8 h1:oNb5E5isby2kiro9AgdHLv5N5tint1AnDVVf2E2un5A= github.com/lestrrat-go/backoff/v2 v2.0.8/go.mod h1:rHP/q/r9aT27n24JQLa7JhSQZCKBBOiM/uP402WwN8Y= -github.com/lestrrat-go/jwx v1.2.27 h1:cvnTnda/YzdyFuWdEAMkI6BsLtItSrASEVCI3C/IUEQ= github.com/lestrrat-go/jwx v1.2.27/go.mod h1:Stob9LjSqR3lOmNdxF0/TvZo60V3hUGv8Fr7Bwzla3k= github.com/lestrrat-go/jwx v1.2.28 h1:uadI6o0WpOVrBSf498tRXZIwPpEtLnR9CvqPFXeI5sA= github.com/lestrrat-go/jwx v1.2.28/go.mod h1:nF+91HEMh/MYFVwKPl5HHsBGMPscqbQb+8IDQdIazP8= @@ -1787,10 +1638,10 @@ github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z github.com/lorenzosaino/go-sysctl v0.3.1 h1:3phX80tdITw2fJjZlwbXQnDWs4S30beNcMbw0cn0HtY= github.com/lorenzosaino/go-sysctl v0.3.1/go.mod h1:5grcsBRpspKknNS1qzt1eIeRDLrhpKZAtz8Fcuvs1Rc= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= -github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed/go.mod h1:ilwx/Dta8jXAgpFYFvSWEMwxmbWXyiUHkd5FwyKhb5k= github.com/lyft/protoc-gen-star/v2 v2.0.4-0.20230330145011-496ad1ac90a4/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw= github.com/mailgun/raymond/v2 v2.0.48/go.mod h1:lsgvL50kgt1ylcFJYZiULi5fjPBkkhNfj4KA0W54Z18= github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= @@ -1806,16 +1657,9 @@ github.com/markbates/oncer v1.0.0/go.mod h1:Z59JA581E9GP6w96jai+TGqafHPW+cPfRxz2 github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= github.com/matoous/go-nanoid/v2 v2.1.0/go.mod h1:KlbGNQ+FhrUNIHUxZdL63t7tl4LaPkZNpUULS8H4uVM= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= @@ -1829,7 +1673,6 @@ github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebG github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/mattn/go-sqlite3 v1.14.19/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= @@ -1840,8 +1683,6 @@ github.com/microcosm-cc/bluemonday v1.0.23 h1:SMZe2IGa0NuHvnVNAZ+6B38gsTbi5e4sVi github.com/microcosm-cc/bluemonday v1.0.23/go.mod h1:mN70sk7UkkF8TUr2IGBpNN0jAgStuPzlK76QuruE/z4= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.25/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= -github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= -github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4= github.com/miekg/dns v1.1.57/go.mod h1:uqRjCRUuEAA6qsOiJvDd+CFo/vW+y5WR6SNmHE55hZk= github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= @@ -1852,27 +1693,19 @@ github.com/minio/sha256-simd v1.0.0/go.mod h1:OuYzVNI5vcoYIAmbIvHPl3N3jUzVedXbKy github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mistifyio/go-zfs/v3 v3.0.1 h1:YaoXgBePoMA12+S1u/ddkv+QqxcfiZK4prI6HPnkFiU= github.com/mistifyio/go-zfs/v3 v3.0.1/go.mod h1:CzVgeB0RvF2EGzQnytKVvVSDwmKJXxkOTUGbNrTja/k= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= github.com/mitchellh/cli v1.1.5 h1:OxRIeJXpAMztws/XHlN2vu6imG5Dpq+j61AzAX5fLng= github.com/mitchellh/cli v1.1.5/go.mod h1:v8+iFts2sPIKUV1ltktPXMCC8fumSKFItNcD2cLtRR4= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= -github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= -github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mndrix/tap-go v0.0.0-20171203230836-629fa407e90b/go.mod h1:pzzDgJWZ34fGzaAZGFW22KVZDfyrYW+QABMrWnJBnSs= github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg= github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= @@ -1882,6 +1715,7 @@ github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2J github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= github.com/moby/sys/reexec v0.1.0/go.mod h1:EqjBg8F3X7iZe5pU6nRZnYCMUTXoxsjiIfHup5wYIN8= +github.com/moby/sys/sequential v0.5.0/go.mod h1:tH2cOOs5V9MlPiXcQzRC+eEyab644PWKGRYaaV5ZZlo= github.com/moby/sys/signal v0.6.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg= github.com/moby/sys/signal v0.7.0 h1:25RW3d5TnQEoKvRbEKUGay6DCQ46IxAVTT9CUMgmsSI= github.com/moby/sys/signal v0.7.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg= @@ -1889,11 +1723,10 @@ github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGq github.com/moby/sys/symlink v0.2.0 h1:tk1rOM+Ljp0nFmfOIBtlV3rTDlWOwFRhjEeAhZB0nZc= github.com/moby/sys/symlink v0.2.0/go.mod h1:7uZVF2dqJjG/NsClqul95CqKOBRQyYSNnJ6BMgR/gFs= github.com/moby/sys/user v0.1.0/go.mod h1:fKJhFOnsCN6xZ5gSfbM6zaHGgDJMrqt9/reuj4T7MmU= +github.com/moby/sys/user v0.3.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs= github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= github.com/moby/term v0.5.0/go.mod h1:8FzsFHVUBGZdbDsJw/ot+X+d5HLUbvklYLJ9uGfcI3Y= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= github.com/montanaflynn/stats v0.7.0 h1:r3y12KyNxj/Sb/iOE46ws+3mS1+MZca1wlHQFPsY/JU= @@ -1902,7 +1735,6 @@ github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c/go.mod h1:BbKIizmSmc5 github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/mrunalp/fileutils v0.5.1/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= @@ -1911,7 +1743,6 @@ github.com/nelsam/hel/v2 v2.3.3/go.mod h1:1ZTGfU2PFTOd5mx22i5O0Lc2GY933lQ2wb/ggy github.com/networkplumbing/go-nft v0.2.0/go.mod h1:HnnM+tYvlGAsMU7yoYwXEVLLiDW9gdMmb5HoGcwpuQs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/npillmayer/nestext v0.1.3 h1:2dkbzJ5xMcyJW5b8wwrX+nnRNvf/Nn1KwGhIauGyE2E= -github.com/npillmayer/nestext v0.1.3/go.mod h1:h2lrijH8jpicr25dFY+oAJLyzlya6jhnuG+zWp9L0Uk= github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1/go.mod h1:mpRZBD8SJ55OIICQ3iWH0Yz3cjzA61JdqMLoWXeB2+8= github.com/nsf/termbox-go v1.1.1/go.mod h1:T0cTdVuOwf7pHQNtfhnEbzHbcNyCEcVU4YPpouCbVxo= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= @@ -1919,7 +1750,6 @@ github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037/go.mod h1:2bpvgLBZEtE github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90/go.mod h1:y5+oSEHCPT/DGrS++Wc/479ERge0zTFxaF8PbGKcg2o= github.com/ohler55/ojg v1.26.6/go.mod h1:/Y5dGWkekv9ocnUixuETqiL58f+5pAsUfg5P8e7Pa2o= github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= -github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/oklog/ulid/v2 v2.0.2/go.mod h1:mtBL0Qe/0HAx6/a4Z30qxVIAL1eQDweXq5lxOEiwQ68= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= @@ -1995,15 +1825,12 @@ github.com/opencontainers/selinux v1.10.1/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuh github.com/opencontainers/selinux v1.11.0 h1:+5Zbo97w3Lbmb3PeqQtpmTkMwsW5nRI3YaLpt7tQ7oU= github.com/opencontainers/selinux v1.11.0/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= -github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= github.com/pavlo-v-chernykh/keystore-go/v4 v4.5.0 h1:2nosf3P75OZv2/ZO/9Px5ZgZ5gbKrzA3joN1QMfOGMQ= github.com/pavlo-v-chernykh/keystore-go/v4 v4.5.0/go.mod h1:lAVhWwbNaveeJmxrxuSTxMgKpF6DjnuVpn6T8WiBwYQ= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= @@ -2012,7 +1839,6 @@ github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaF github.com/perimeterx/marshmallow v1.1.5 h1:a2LALqQ1BlHM8PZblsDdidgv1mWi1DgC2UmX50IvK2s= github.com/perimeterx/marshmallow v1.1.5/go.mod h1:dsXbUu8CRzfYP5a87xpp0xq9S3u0Vchtcl8we9tYaXw= github.com/peterh/liner v0.0.0-20170211195444-bf27d3ba8e1d/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= -github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.6.1+incompatible h1:9UY3+iC23yxF0UfGaYrGplQ+79Rg+h/q9FV9ix19jjM= github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4/v4 v4.1.19/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= @@ -2022,32 +1848,24 @@ github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFz github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e h1:aoZm08cpOy4WuID//EZDgcC4zIxODThtZNPirFr42+A= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pkg/sftp v1.13.6/go.mod h1:tz1ryNURKu77RL+GuCzmoJYxQczL3wLNNpPWagdg4Qk= github.com/pkg/sftp v1.13.7 h1:uv+I3nNJvlKZIQGSr8JVQLNHFU9YhhNpvC14Y6KgmSM= github.com/pkg/sftp v1.13.7/go.mod h1:KMKI0t3T6hfA+lTR/ssZdunHo+uwq7ghoN09/FSu3DY= github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= github.com/pquerna/cachecontrol v0.1.0 h1:yJMy84ti9h/+OEWa752kBTKv4XC30OtVVHYv/8cTqKc= github.com/pquerna/cachecontrol v0.1.0/go.mod h1:NrUG3Z7Rdu85UNR3vm7SOsl1nFIeSiQnrHV5K9mBcUI= github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= @@ -2056,19 +1874,12 @@ github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJL github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= @@ -2076,23 +1887,17 @@ github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8= github.com/prometheus/common v0.60.1/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I= -github.com/prometheus/common v0.64.0/go.mod h1:0gZns+BLRQ3V6NdaerOhMbwwRbNh9hkGINtQAsP5GS8= github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= -github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= @@ -2100,15 +1905,12 @@ github.com/redis/go-redis/v9 v9.0.5/go.mod h1:WqMKv5vnQbRuZstUwxQI195wHy+t4PuXDO github.com/redis/go-redis/v9 v9.6.1/go.mod h1:0C0c6ycQsdpVNQpxb1njEQIqkx5UcsM8FJCQLgE9+RA= github.com/redpanda-data/benthos/v4 v4.53.0/go.mod h1:IdD1fNqmx2BIqPp/Xdo4D7DrotjcvQ3V1PyZuXluFN4= github.com/redpanda-data/common-go/api v0.0.0-20250701102610-07660e078862/go.mod h1:klAmWfc8Q3hEZk8geFTMu6f2sk3VUKRS7cv/LvB05ig= -github.com/redpanda-data/common-go/net v0.1.0/go.mod h1:iOdNkjxM7a1T8F3cYHTaKIPFCHzzp/ia6TN+Z+7Tt5w= github.com/redpanda-data/common-go/proto v0.0.0-20250422172326-6a3bcb14b829 h1:fx1Z+t/fa0vd7kAblgCrdYRW3QHc3svYiVnO1DadS94= github.com/redpanda-data/common-go/proto v0.0.0-20250422172326-6a3bcb14b829/go.mod h1:6WXvgZCZIkbQCNsvU5zTx/+ub5eXTuCcl90i5xkhMw0= github.com/redpanda-data/common-go/rpadmin v0.1.14-0.20250425125657-8ab73f3ad62e/go.mod h1:zgE/M2UihQZRdivHfbm4x9Rb3Vm/crO5kiX3GQrxhG4= -github.com/redpanda-data/common-go/rpadmin v0.1.14/go.mod h1:zgE/M2UihQZRdivHfbm4x9Rb3Vm/crO5kiX3GQrxhG4= github.com/redpanda-data/common-go/rpsr v0.1.0 h1:kFjUlMTP76r8qCcDKAgTJYk6GqTjpeJlL/8hQiHlLSg= github.com/redpanda-data/common-go/rpsr v0.1.0/go.mod h1:VdvwMZ0z+htjbgo1kvYyUK1IjN0Ihx8dlD8dmkRat1M= github.com/redpanda-data/common-go/rpsr v0.1.2/go.mod h1:2j2416onosg5FKaKz52NooRE+q/9EJqQn0kyTcTXWHc= -github.com/redpanda-data/console/backend v0.0.0-20240303221210-05d5d9e85f20/go.mod h1:DC42/3+k5PefSo4IalYbDN3yRZrVFP0b69+gC/NwGd4= github.com/redpanda-data/console/backend v0.0.0-20250827191506-c0a29e10bc68 h1:HXEUE0n2QvbJSyBapxNWFHsq1xRROz7AsPOFfP23Hjg= github.com/redpanda-data/console/backend v0.0.0-20250827191506-c0a29e10bc68/go.mod h1:DUKdHrlKzkcdbwdyA68OwLgzxSSp4upWXjRc1mzICqA= github.com/redpanda-data/redpanda-operator/charts/connectors v0.0.0-20250407180246-dc814fb6b3b8/go.mod h1:o6FEj/SPoAxl6Rn1X9+XO1tlzSl2V64vAiBDgHntfVc= @@ -2119,7 +1921,6 @@ github.com/redpanda-data/redpanda-operator/charts/redpanda/v5 v5.10.5-0.20250813 github.com/redpanda-data/redpanda-operator/charts/redpanda/v5 v5.10.5-0.20250813202210-1c00a87f10f7/go.mod h1:D8MfzGr+oPWOUNnDEezKSJyHRKvDpGb6NZS0bJdQnds= github.com/redpanda-data/redpanda/src/go/rpk v0.0.0-20240827155712-244863ea0ae8/go.mod h1:97qkjcMI3gDL+y+aY/w5o0xF2qGHFof6rCXIYjnTalM= github.com/rhnvrm/simples3 v0.6.1 h1:H0DJwybR6ryQE+Odi9eqkHuzjYAeJgtGcGtuBwOhsH8= -github.com/rhnvrm/simples3 v0.6.1/go.mod h1:Y+3vYm2V7Y4VijFoJHHTrja6OgPrJ2cBti8dPGkC3sA= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0 h1:Ppwyp6VYCF1nvBTXL3trRso7mXMlRrw9ooo375wvi2s= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= @@ -2128,7 +1929,6 @@ github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTE github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= -github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/xid v1.6.0 h1:fV591PaemRlL6JfRxGDEPl69wICngIQ3shQtzfy2gxU= github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0= @@ -2137,9 +1937,7 @@ github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible h1:j1Wcmh8OrK4Q7GXY+V7SVSY8nUWQxHW5TkBe7YUl+2s= -github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk= github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= @@ -2157,26 +1955,27 @@ github.com/schollz/progressbar/v3 v3.18.0/go.mod h1:IsO3lpbaGuzh8zIMzgY3+J8l4C8G github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= github.com/segmentio/ksuid v1.0.4/go.mod h1:/XUiZBD3kVx5SmUOl55voK5yeAbBNNIed+2O73XgrPE= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= +github.com/shirou/gopsutil/v3 v3.23.12 h1:z90NtUkp3bMtmICZKpC4+WaknU1eXtp5vtbQ11DgpE4= +github.com/shirou/gopsutil/v3 v3.23.12/go.mod h1:1FrWgea594Jp7qmjHUUPlJDTPgcsb9mGnXDxavtikzM= github.com/shirou/gopsutil/v4 v4.25.1/go.mod h1:RoUCUpndaJFtT+2zsZzzmhvbfGoDCJ7nFXKJf8GqJbI= github.com/shirou/gopsutil/v4 v4.25.5 h1:rtd9piuSMGeU8g1RMXjZs9y9luK5BwtnG7dZaQUJAsc= github.com/shirou/gopsutil/v4 v4.25.5/go.mod h1:PfybzyydfZcN+JMMjkF6Zb8Mq1A/VcogFFg7hj50W9c= +github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= +github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= +github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= +github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= @@ -2224,14 +2023,12 @@ github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h github.com/stefanberger/go-pkcs11uri v0.0.0-20230803200340-78284954bff6 h1:pnnLyeX7o/5aX8qUQ69P/mLojDqwda8hFOCBTmP/6hw= github.com/stefanberger/go-pkcs11uri v0.0.0-20230803200340-78284954bff6/go.mod h1:39R/xuhNgVhi+K0/zst4TLrJrVmbm6LVgl4A0+ZFS5M= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/stoewer/go-strcase v1.3.0/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo= github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -2245,6 +2042,7 @@ github.com/tdewolff/minify/v2 v2.12.4 h1:kejsHQMM17n6/gwdw53qsi6lg0TGddZADVyQOz1 github.com/tdewolff/minify/v2 v2.12.4/go.mod h1:h+SRvSIX3kwgwTFOpSckvSxgax3uy8kZTSF1Ojrr3bk= github.com/tdewolff/parse/v2 v2.6.4 h1:KCkDvNUMof10e3QExio9OPZJT8SbdKojLBumw8YZycQ= github.com/tdewolff/parse/v2 v2.6.4/go.mod h1:woz0cgbLwFdtbjJu8PIKxhW05KplTFQkOdX78o+Jgrs= +github.com/testcontainers/testcontainers-go v0.33.0/go.mod h1:W80YpTa8D5C3Yy16icheD01UTDu+LmXIA2Keo+jWtT8= github.com/testcontainers/testcontainers-go v0.34.0/go.mod h1:6P/kMkQe8yqPHfPWNulFGdFHTD8HB2vLq/231xY2iPQ= github.com/testcontainers/testcontainers-go v0.37.0 h1:L2Qc0vkTw2EHWQ08djon0D2uw7Z/PtHS/QzZZ5Ra/hg= github.com/testcontainers/testcontainers-go v0.37.0/go.mod h1:QPzbxZhQ6Bclip9igjLFj6z0hs01bU8lrl2dHQmgFGM= @@ -2261,10 +2059,8 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= github.com/tilinna/z85 v1.0.0/go.mod h1:EfpFU/DUY4ddEy6CRvk2l+UQNEzHbh+bqBQS+04Nkxs= github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= -github.com/tklauser/go-sysconf v0.3.14/go.mod h1:1ym4lWMLUOhuBOPGtRcJm7tEGX4SCYNEEEtghGG/8uY= github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= github.com/tklauser/numcpus v0.8.0/go.mod h1:ZJZlAY+dmR4eut8epnzf0u/VwodKmryxR8txiloSqBE= -github.com/tklauser/numcpus v0.9.0/go.mod h1:SN6Nq1O3VychhC1npsWostA+oW+VOQTxZrS604NSRyI= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= @@ -2274,7 +2070,6 @@ github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9 github.com/twmb/franz-go v1.16.1/go.mod h1:/pER254UPPGp/4WfGqRi+SIRGE50RSQzVubQp6+N4FA= github.com/twmb/franz-go v1.18.0/go.mod h1:zXCGy74M0p5FbXsLeASdyvfLFsBvTubVqctIaa5wQ+I= github.com/twmb/franz-go v1.18.1/go.mod h1:Uzo77TarcLTUZeLuGq+9lNpSkfZI+JErv7YJhlDjs9M= -github.com/twmb/franz-go v1.19.4/go.mod h1:4kFJ5tmbbl7asgwAGVuyG1ZMx0NNpYk7EqflvWfPCpM= github.com/twmb/franz-go/pkg/kadm v1.11.0/go.mod h1:qrhkdH+SWS3ivmbqOgHbpgVHamhaKcjH0UM+uOp0M1A= github.com/twmb/franz-go/pkg/kadm v1.12.0/go.mod h1:VMvpfjz/szpH9WB+vGM+rteTzVv0djyHFimci9qm2C0= github.com/twmb/franz-go/pkg/kfake v0.0.0-20230703040638-f324841a32b4 h1:y5NllVZKHBJRSPLWn01cKE94pj2FU9cv6W8H5YqnJw8= @@ -2283,7 +2078,6 @@ github.com/twmb/franz-go/pkg/kfake v0.0.0-20250620172413-c17130ef7765/go.mod h1: github.com/twmb/franz-go/pkg/kmsg v1.7.0/go.mod h1:se9Mjdt0Nwzc9lnjJ0HyDtLyBnaBDAd7pCje47OhSyw= github.com/twmb/franz-go/pkg/kmsg v1.9.0/go.mod h1:CMbfazviCyY6HM0SXuG5t9vOwYDHRCSrJJyBAe5paqg= github.com/twmb/franz-go/pkg/sr v1.2.0/go.mod h1:gpd2Xl5/prkj3gyugcL+rVzagjaxFqMgvKMYcUlrpDw= -github.com/twmb/franz-go/pkg/sr v1.4.1-0.20250620172413-c17130ef7765/go.mod h1:O4o4mUMNfmyEt2HcuM+qZdc6KrcStvjgxWR6Cfvmukw= github.com/twmb/franz-go/plugin/kslog v1.0.0/go.mod h1:8pMjK3OJJJNNYddBSbnXZkIK5dCKFIk9GcVVCDgvnQc= github.com/twmb/franz-go/plugin/kzap v1.1.2 h1:0arX5xJ0soUPX1LlDay6ZZoxuWkWk1lggQ5M/IgRXAE= github.com/twmb/franz-go/plugin/kzap v1.1.2/go.mod h1:53Cl9Uz1pbdOPDvUISIxLrZIWSa2jCuY1bTMauRMBmo= @@ -2363,10 +2157,10 @@ github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a/go.mod h1:ul22v+Nro/ github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78/go.mod h1:aL8wCCfTfSfmXjznFBSZNN13rSJjlIOI1fUNAtF7rmI= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= github.com/yuin/goldmark v1.7.8/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E= +github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= @@ -2390,18 +2184,15 @@ go.etcd.io/bbolt v1.3.11 h1:yGEzV1wPz2yVCLsD8ZAiGHhHVlczyC9d1rP43/VCRJ0= go.etcd.io/bbolt v1.3.11/go.mod h1:dksAq7YMXoljX0xu6VF5DMZGbhYYoLUalEiSySYAS4I= go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= go.etcd.io/etcd/api/v3 v3.5.21 h1:A6O2/JDb3tvHhiIz3xf9nJ7REHvtEFJJ3veW3FbCnS8= go.etcd.io/etcd/api/v3 v3.5.21/go.mod h1:c3aH5wcvXv/9dqIw2Y810LDXJfhSYdHQ0vxmP3CCHVY= go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/pkg/v3 v3.5.21 h1:lPBu71Y7osQmzlflM9OfeIV2JlmpBjqBNlLtcoBqUTc= go.etcd.io/etcd/client/pkg/v3 v3.5.21/go.mod h1:BgqT/IXPjK9NkeSDjbzwsHySX3yIle2+ndz28nVsjUs= go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= go.etcd.io/etcd/client/v2 v2.305.21 h1:eLiFfexc2mE+pTLz9WwnoEsX5JTTpLCYVivKkmVXIRA= go.etcd.io/etcd/client/v2 v2.305.21/go.mod h1:OKkn4hlYNf43hpjEM3Ke3aRdUkhSl8xjKjSf8eCq2J8= go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= -go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= go.etcd.io/etcd/client/v3 v3.5.21 h1:T6b1Ow6fNjOLOtM0xSoKNQt1ASPCLWrF9XMHcH9pEyY= go.etcd.io/etcd/client/v3 v3.5.21/go.mod h1:mFYy67IOqmbRf/kRUvsHixzo3iG+1OF2W2+jVIQRAnU= go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= @@ -2438,7 +2229,6 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.4 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0/go.mod h1:B9yO6b04uB80CzjedvewuqDhxJxi11s7/GtiGa8bAjI= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0/go.mod h1:HDBUsEjOuRC0EzKZ1bSaRGZWUBAzo+MhAcUUORSr4D0= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.59.0/go.mod h1:ijPqXp5P6IRRByFVVg9DY8P5HkxkHE5ARIa+86aXPf4= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0/go.mod h1:5eCOqeGphOyz6TsY3ZDNjE33SM/TFAK3RGuCL2naTgY= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0/go.mod h1:62CPTSry9QZtOaSsE3tOzhx6LzDhHnXJ6xHeMNNiM6Q= @@ -2447,7 +2237,6 @@ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0/go.mod h1: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0/go.mod h1:L7UH0GbB0p47T4Rri3uHjbpCFYrVrwc1I25QhNPiGK8= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0/go.mod h1:wZcGmeVO9nzP67aYSLDqXNWK87EZWhi7JWj1v7ZXf94= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0/go.mod h1:umTcuxiv1n/s/S6/c2AT/g2CQ7u5C59sHDNmfSwgz7Q= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0/go.mod h1:FRmFuRJfag1IZ2dPkHnEoSFVgTVPUd2qf5Vi69hLb8I= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0/go.mod h1:69uWxva0WgAA/4bu2Yy70SLDBwZXuQ6PbBpbsa5iZrQ= go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= @@ -2558,12 +2347,10 @@ go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= go.uber.org/mock v0.5.2/go.mod h1:wLlUxC2vVTPTaE3UD51E0BGOAElKrILxhVSDYQLld5o= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.vallahaye.net/connect-gateway v0.3.1 h1:829VIFcOYgkKJTrRTf/C382MnFF4KNgZwtkCcD48ntw= go.vallahaye.net/connect-gateway v0.3.1/go.mod h1:aM7ANmNrnY2YC51bHLj9Gi0sRv14HvBZeDPtzOL3uGY= go.vallahaye.net/connect-gateway v0.11.0/go.mod h1:Dbqbpfw5SUynysSACSbRtNEJ1B2CX3v/c62DjVKKVuQ= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -2572,7 +2359,6 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= @@ -2608,7 +2394,6 @@ golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZv golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc= golang.org/x/crypto v0.38.0/go.mod h1:MvrbAqul58NNYPKnOra203SB9vpuZW0e+RRZV+Ggqjw= golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= @@ -2624,16 +2409,12 @@ golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQz golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc= golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY= golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e/go.mod h1:akd2r19cwCdwSwWeIdzYQGa/EZZyqcOdwWiwj5L5eKQ= -golang.org/x/exp v0.0.0-20250207012021-f9890c6ad9f3/go.mod h1:tujkw807nyEEAamNbDrEGzRav+ilXA7PCRAd6xsmwiU= golang.org/x/exp/typeparams v0.0.0-20240719175910-8a7402abbf56/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20250207012021-f9890c6ad9f3 h1:w2c+/ogVo2eFFhGTMddgOF7WQkdOPwjh+MRS8wUnujk= golang.org/x/exp/typeparams v0.0.0-20250207012021-f9890c6ad9f3/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -2641,18 +2422,15 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20241112194109-818c5a804067 h1:adDmSQyFTCiv19j015EGKJBoaa7ElV0Q1Wovb/4G7NA= golang.org/x/lint v0.0.0-20241112194109-818c5a804067/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= @@ -2667,28 +2445,20 @@ golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -2700,9 +2470,7 @@ golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= @@ -2711,8 +2479,6 @@ golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= @@ -2748,11 +2514,8 @@ golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E= golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= @@ -2775,14 +2538,8 @@ golang.org/x/oauth2 v0.26.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbht golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= golang.org/x/oauth2 v0.28.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= golang.org/x/oauth2 v0.29.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= @@ -2797,18 +2554,11 @@ golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sync v0.13.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2824,39 +2574,27 @@ golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2873,20 +2611,14 @@ golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2951,10 +2683,7 @@ golang.org/x/term v0.30.0/go.mod h1:NYYFdzHoI5wRh/h5tDMdMqCqPJZEuNqVR5xJLd/n67g= golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= @@ -2972,7 +2701,6 @@ golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA= golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -2988,15 +2716,11 @@ golang.org/x/time v0.10.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= @@ -3004,7 +2728,6 @@ golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -3017,7 +2740,6 @@ golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -3045,7 +2767,6 @@ golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= @@ -3100,12 +2821,9 @@ google.golang.org/api v0.214.0/go.mod h1:bYPpLG8AyeMWwDU6NXoB00xC0DFkikVvd5Mfwox google.golang.org/api v0.215.0/go.mod h1:fta3CVtuJYOEdugLNWm6WodzOS8KdFckABwN4I40hzY= google.golang.org/api v0.216.0/go.mod h1:K9wzQMvWi47Z9IU7OgdOofvZuw75Ge3PPITImZR/UyI= google.golang.org/api v0.224.0/go.mod h1:3V39my2xAGkodXy0vEqcEtkqgw2GtrFL5WuBZlCTCOQ= -google.golang.org/api v0.227.0/go.mod h1:EIpaG6MbTgQarWF5xJvX0eOJPK9n/5D4Bynb9j2HXvQ= google.golang.org/api v0.229.0/go.mod h1:wyDfmq5g1wYJWn29O22FDWN48P7Xcz0xz+LBpptYvB0= google.golang.org/api v0.230.0/go.mod h1:aqvtoMk7YkiXx+6U12arQFExiRV9D/ekvMCwCd/TksQ= google.golang.org/api v0.232.0/go.mod h1:p9QCfBWZk1IJETUdbTKloR5ToFdKbYh2fkjsUL6vNoY= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= @@ -3114,15 +2832,12 @@ google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= @@ -3141,9 +2856,7 @@ google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -3163,7 +2876,6 @@ google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= @@ -3177,7 +2889,6 @@ google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53/go.mod h1:fheguH3A google.golang.org/genproto v0.0.0-20241118233622-e639e219e697/go.mod h1:JJrvXBWRZaFMxBufik1a4RpFw4HhgVtBBWQeQgUj2cc= google.golang.org/genproto v0.0.0-20250106144421-5f5ef82da422/go.mod h1:1NPAxoesyw/SgLPqaUp9u1f9PWCLAk/jVmhx7gJZStg= google.golang.org/genproto v0.0.0-20250303144028-a0af3efb3deb/go.mod h1:sAo5UzpjUwgFBCzupwhcLcxHVDK7vG5IqI30YnwX2eE= -google.golang.org/genproto v0.0.0-20250409194420-de1ac958c67a/go.mod h1:qD4k1RhYfNmRjqaHJxKLG/HRtqbXVclhjop2mPlxGwA= google.golang.org/genproto v0.0.0-20250505200425-f936aa4a68b2/go.mod h1:49MsLSx0oWMOZqcpB3uL8ZOkAh1+TndpJ8ONoCBWiZk= google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f/go.mod h1:Uy9bTZJqmfrw2rIBxgGLnamc78euZULUBrLZ9XTITKI= @@ -3206,9 +2917,7 @@ google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e/go. google.golang.org/genproto/googleapis/api v0.0.0-20250425173222-7b384671a197/go.mod h1:Cd8IzgPo5Akum2c9R6FsXNaZbH3Jpa2gpHlW89FqlyQ= google.golang.org/genproto/googleapis/api v0.0.0-20250428153025-10db94c68c34/go.mod h1:0awUlEkap+Pb1UMeJwJQQAdJQrt3moU7J2moTy69irI= google.golang.org/genproto/googleapis/api v0.0.0-20250505200425-f936aa4a68b2/go.mod h1:pKLAc5OolXC3ViWGI62vvC0n10CpwAtRcTNCFwTKBEw= -google.golang.org/genproto/googleapis/api v0.0.0-20250519155744-55703ea1f237/go.mod h1:ezi0AVyMKDWy5xAncvjLWH7UcLBB5n7y2fQ8MzjJcto= google.golang.org/genproto/googleapis/api v0.0.0-20250528174236-200df99c418a/go.mod h1:a77HrdMjoeKbnd2jmgcWdaS++ZLZAEq3orIOAEIKiVw= -google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822/go.mod h1:h3c4v36UTKzUiuaOKQ6gr3S+0hovBtUrXzTG/i3+XEc= google.golang.org/genproto/googleapis/bytestream v0.0.0-20241015192408-796eee8c2d53/go.mod h1:T8O3fECQbif8cez15vxAcjbwXxvL2xbnvbQ7ZfiMAMs= google.golang.org/genproto/googleapis/bytestream v0.0.0-20250313205543-e70fdf4c4cb4 h1:WYmu3W5hpq5LblAdrydghP6bWFowtV6EYG+RCT0lok4= google.golang.org/genproto/googleapis/bytestream v0.0.0-20250313205543-e70fdf4c4cb4/go.mod h1:WkJpQl6Ujj3ElX4qZaNm5t6cT95ffI4K+HKQ0+1NyMw= @@ -3250,22 +2959,14 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20250425173222-7b384671a197/go. google.golang.org/genproto/googleapis/rpc v0.0.0-20250428153025-10db94c68c34/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= google.golang.org/genproto/googleapis/rpc v0.0.0-20250505200425-f936aa4a68b2/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= google.golang.org/genproto/googleapis/rpc v0.0.0-20250512202823-5a2f75b736a9/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= -google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= google.golang.org/grpc v1.28.1/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= @@ -3273,14 +2974,12 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= @@ -3307,23 +3006,11 @@ google.golang.org/grpc v1.70.0/go.mod h1:ofIJqVKDXx/JiXrwr2IG4/zwdH9txy3IlF40Rmc google.golang.org/grpc v1.71.0/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec= google.golang.org/grpc v1.71.1/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec= google.golang.org/grpc v1.72.0/go.mod h1:wH5Aktxcg25y1I3w7H69nHfXdOG3UiadoBtjh3izSDM= -google.golang.org/grpc v1.72.1/go.mod h1:wH5Aktxcg25y1I3w7H69nHfXdOG3UiadoBtjh3izSDM= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 h1:rNBFJjBCOgVr9pWD7rs/knKL4FRTKgpZmsRfV214zcA= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0/go.mod h1:Dk1tviKTvMCz5tvh7t+fh94dhmQVHuCt2OzJB3CTW9Y= google.golang.org/grpc/examples v0.0.0-20230224211313-3775f633ce20/go.mod h1:Nr5H8+MlGWr5+xX/STzdoEqJrO+YteqFbMyCsrb6mH0= google.golang.org/grpc/stats/opentelemetry v0.0.0-20240907200651-3ffb98b2c93a/go.mod h1:9i1T9n4ZinTUZGgzENMi8MDDgbGC5mqTS75JAv6xN3A= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= @@ -3338,14 +3025,10 @@ google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojt google.golang.org/protobuf v1.36.3/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= google.golang.org/protobuf v1.36.4/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= -google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= -google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v1 v1.3.7/go.mod h1:vs0oy7ub8knYaut5kITUTmx/WeE4xRuEeOR34yEAWEA= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d h1:TxyelI5cVkbREznMhfzycHdkp5cLA7DpE+GKjSslYhM= -gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d/go.mod h1:cuepJuh7vyXfUyUwEgHQXw849cJrilpS5NeIjOWESAw= gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -3369,29 +3052,19 @@ gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYs gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.3.1 h1:SK5KegNXmKmqE342YYN2qPHEnUYeoMiXXl1poUlI+o4= -gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= helm.sh/helm/v3 v3.14.4/go.mod h1:Tje7LL4gprZpuBNTbG34d1Xn5NmRT3OWfBRwpOSer9I= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= @@ -3534,7 +3207,6 @@ sigs.k8s.io/structured-merge-diff/v4 v4.4.2/go.mod h1:N8f93tFZh9U6vpxwRArLiikrE5 sigs.k8s.io/structured-merge-diff/v4 v4.5.0/go.mod h1:N8f93tFZh9U6vpxwRArLiikrE5/2tiu1w1AGfACIGE4= sigs.k8s.io/structured-merge-diff/v4 v4.6.0/go.mod h1:dDy58f92j70zLsuZVuUX5Wp9vtxXpaZnkPGWeqDfCps= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= software.sslmate.com/src/go-pkcs12 v0.4.0 h1:H2g08FrTvSFKUj+D309j1DPfk5APnIdAQAB8aEykJ5k= software.sslmate.com/src/go-pkcs12 v0.4.0/go.mod h1:Qiz0EyvDRJjjxGyUQa2cCNZn/wMyzrRJ/qcDXOQazLI= diff --git a/gotohelm/transpiler.go b/gotohelm/transpiler.go index 3abc3cb1f..34750c335 100644 --- a/gotohelm/transpiler.go +++ b/gotohelm/transpiler.go @@ -195,6 +195,13 @@ func (t *Transpiler) transpileFile(f *ast.File) *File { continue } + // Don't transpile functions that are stand ins for sprig / helm provided + // functions. transpileExpr handles references to these functions by + // reading this annotation. + if _, ok := funcDirectives["builtin"]; ok { + continue + } + var params []Node if fn.Recv != nil { for _, param := range fn.Recv.List { diff --git a/operator/api/redpanda/v1alpha2/common.go b/operator/api/redpanda/v1alpha2/common.go index 314d1aec6..396675e05 100644 --- a/operator/api/redpanda/v1alpha2/common.go +++ b/operator/api/redpanda/v1alpha2/common.go @@ -138,7 +138,7 @@ type CommonTLS struct { Key *SecretKeyRef `json:"keySecretRef,omitempty"` // InsecureSkipTLSVerify can skip verifying Redpanda self-signed certificate when establish TLS connection to Redpanda // +optional - InsecureSkipTLSVerify bool `json:"insecureSkipTlsVerify"` + InsecureSkipTLSVerify bool `json:"insecureSkipTlsVerify,omitempty"` } // SecretKeyRef contains enough information to inspect or modify the referred Secret data diff --git a/operator/api/redpanda/v1alpha2/console_types.go b/operator/api/redpanda/v1alpha2/console_types.go new file mode 100644 index 000000000..bab9511d8 --- /dev/null +++ b/operator/api/redpanda/v1alpha2/console_types.go @@ -0,0 +1,238 @@ +// Copyright 2025 Redpanda Data, Inc. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.md +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0 + +package v1alpha2 + +import ( + appsv1 "k8s.io/api/apps/v1" + corev1 "k8s.io/api/core/v1" + networkingv1 "k8s.io/api/networking/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/utils/ptr" + + "github.com/redpanda-data/redpanda-operator/operator/pkg/functional" +) + +// Redpanda defines the CRD for Redpanda clusters. +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:resource:path=consoles +// +kubebuilder:storageversion +type Console struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec ConsoleSpec `json:"spec,omitempty"` + Status ConsoleStatus `json:"status,omitempty"` +} + +// GetClusterSource implements [ClusterReferencingObject]. +func (c *Console) GetClusterSource() *ClusterSource { + return c.Spec.ClusterSource +} + +// UserList contains a list of Redpanda user objects. +// +kubebuilder:object:root=true +type ConsoleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Specifies a list of Redpanda user resources. + Items []Console `json:"items"` +} + +func (c *ConsoleList) GetItems() []*Console { + return functional.MapFn(ptr.To, c.Items) +} + +type ConsoleSpec struct { + ConsoleValues `json:",inline"` + + ClusterSource *ClusterSource `json:"cluster,omitempty"` +} + +type ConsoleStatus struct { + // The generation observed by the Console controller. + // +optional + ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` + + // Total number of non-terminating Pods targeted by this Console's Deployment. + // +optional + Replicas int32 `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"` + + // Total number of non-terminating pods targeted by this Console's Deployment that have the desired template spec. + // +optional + UpdatedReplicas int32 `json:"updatedReplicas,omitempty" protobuf:"varint,3,opt,name=updatedReplicas"` + + // Total number of non-terminating pods targeted by this Console's Deployment with a Ready Condition. + // +optional + ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,7,opt,name=readyReplicas"` + + // Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this Console's Deployment. + // +optional + AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,4,opt,name=availableReplicas"` + + // Total number of unavailable pods targeted by this deployment. This is the total number of + // pods that are still required for the deployment to have 100% available capacity. They may + // either be pods that are running but not yet available or pods that still have not been created. + // +optional + UnavailableReplicas int32 `json:"unavailableReplicas,omitempty" protobuf:"varint,5,opt,name=unavailableReplicas"` +} + +// ConsoleValues is a CRD friendly equivalent of [console.PartialValues]. Any +// member that is optional at the top level, either by being a pointer, map, or +// slice, is NOT further partial-ized. This allows us to enforce validation +// constraints without accidentally polluting the defaults of the chart. +// +hidefromdoc +type ConsoleValues struct { + ReplicaCount *int32 `json:"replicaCount,omitempty"` + Image *Image `json:"image,omitempty"` + ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` + AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"` + ServiceAccount *ServiceAccountConfig `json:"serviceAccount,omitempty"` + CommonLabels map[string]string `json:"commonLabels,omitempty"` + Annotations map[string]string `json:"annotations,omitempty"` + PodAnnotations map[string]string `json:"podAnnotations,omitempty"` + PodLabels map[string]string `json:"podLabels,omitempty"` + PodSecurityContext *corev1.PodSecurityContext `json:"podSecurityContext,omitempty"` + SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` + Service *ServiceConfig `json:"service,omitempty"` + Ingress *IngressConfig `json:"ingress,omitempty"` + Resources *corev1.ResourceRequirements `json:"resources,omitempty"` + Autoscaling *AutoScaling `json:"autoscaling,omitempty"` + NodeSelector map[string]string `json:"nodeSelector,omitempty"` + Tolerations []corev1.Toleration `json:"tolerations,omitempty"` + Affinity *corev1.Affinity `json:"affinity,omitempty"` + TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` + PriorityClassName *string `json:"priorityClassName,omitempty"` + Config *runtime.RawExtension `json:"config,omitempty"` + ExtraEnv []corev1.EnvVar `json:"extraEnv,omitempty"` + ExtraEnvFrom []corev1.EnvFromSource `json:"extraEnvFrom,omitempty"` + ExtraVolumes []corev1.Volume `json:"extraVolumes,omitempty"` + ExtraVolumeMounts []corev1.VolumeMount `json:"extraVolumeMounts,omitempty"` + ExtraContainers []corev1.Container `json:"extraContainers,omitempty"` + SecretMounts []SecretMount `json:"secretMounts,omitempty"` + Secret SecretConfig `json:"secret,omitempty"` + LicenseSecretRef *corev1.SecretKeySelector `json:"licenseSecretRef,omitempty"` + LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"` + ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"` + Deployment *DeploymentConfig `json:"deployment,omitempty"` + Strategy *appsv1.DeploymentStrategy `json:"strategy,omitempty"` +} + +type AutoScaling struct { + Enabled *bool `json:"enabled,omitempty"` + MinReplicas *int32 `json:"minReplicas,omitempty"` + MaxReplicas *int32 `json:"maxReplicas,omitempty"` + TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage,omitempty"` + TargetMemoryUtilizationPercentage *int32 `json:"targetMemoryUtilizationPercentage,omitempty"` +} + +type DeploymentConfig struct { + Command []string `json:"command,omitempty"` + ExtraArgs []string `json:"extraArgs,omitempty"` +} + +type Image struct { + Registry *string `json:"registry,omitempty"` + Repository *string `json:"repository,omitempty"` + PullPolicy *corev1.PullPolicy `json:"pullPolicy,omitempty"` + Tag *string `json:"tag,omitempty"` +} + +type ServiceAccountConfig struct { + AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"` + Annotations map[string]string `json:"annotations,omitempty"` + Name *string `json:"name,omitempty"` +} + +type ServiceConfig struct { + Type *corev1.ServiceType `json:"type,omitempty"` + Port *int32 `json:"port,omitempty"` + NodePort *int32 `json:"nodePort,omitempty"` + TargetPort *int32 `json:"targetPort,omitempty"` + Annotations map[string]string `json:"annotations,omitempty"` +} + +type IngressConfig struct { + Enabled *bool `json:"enabled,omitempty"` + ClassName *string `json:"className,omitempty"` + Annotations map[string]string `json:"annotations,omitempty"` + Hosts []IngressHost `json:"hosts,omitempty"` + TLS []networkingv1.IngressTLS `json:"tls,omitempty"` +} + +type IngressHost struct { + Host string `json:"host,omitempty"` + Paths []IngressPath `json:"paths,omitempty"` +} + +type IngressPath struct { + Path string `json:"path,omitempty"` + PathType *networkingv1.PathType `json:"pathType,omitempty"` +} + +type SecretMount struct { + Name string `json:"name,omitempty"` + SecretName string `json:"secretName,omitempty"` + Path string `json:"path,omitempty"` + SubPath *string `json:"subPath,omitempty"` + DefaultMode *int32 `json:"defaultMode,omitempty"` +} + +type SecretConfig struct { + Create *bool `json:"create,omitempty"` + Kafka *KafkaSecrets `json:"kafka,omitempty"` + Authentication *AuthenticationSecrets `json:"authentication,omitempty"` + License *string `json:"license,omitempty"` + Redpanda *RedpandaSecrets `json:"redpanda,omitempty"` + Serde *SerdeSecrets `json:"serde,omitempty"` + SchemaRegistry *SchemaRegistrySecrets `json:"schemaRegistry,omitempty"` +} + +type KafkaSecrets struct { + SASLPassword *string `json:"saslPassword,omitempty"` + AWSMSKIAMSecretKey *string `json:"awsMskIamSecretKey,omitempty"` + TLSCA *string `json:"tlsCa,omitempty"` + TLSCert *string `json:"tlsCert,omitempty"` + TLSKey *string `json:"tlsKey,omitempty"` + TLSPassphrase *string `json:"tlsPassphrase,omitempty"` +} + +type SchemaRegistrySecrets struct { + BearerToken *string `json:"bearerToken,omitempty"` + Password *string `json:"password,omitempty"` + TLSCA *string `json:"tlsCa,omitempty"` + TLSCert *string `json:"tlsCert,omitempty"` + TLSKey *string `json:"tlsKey,omitempty"` +} + +type AuthenticationSecrets struct { + JWTSigningKey *string `json:"jwtSigningKey,omitempty"` + OIDC *OIDCLoginSecrets `json:"oidc,omitempty"` +} + +type OIDCLoginSecrets struct { + ClientSecret *string `json:"clientSecret,omitempty"` +} + +type RedpandaSecrets struct { + AdminAPI *RedpandaAdminAPISecrets `json:"adminApi,omitempty"` +} + +type SerdeSecrets struct { + ProtobufGitBasicAuthPassword *string `json:"protobufGitBasicAuthPassword,omitempty"` +} + +type RedpandaAdminAPISecrets struct { + Password *string `json:"password,omitempty"` + TLSCA *string `json:"tlsCa,omitempty"` + TLSCert *string `json:"tlsCert,omitempty"` + TLSKey *string `json:"tlsKey,omitempty"` +} diff --git a/operator/api/redpanda/v1alpha2/conversion.go b/operator/api/redpanda/v1alpha2/conversion.go new file mode 100644 index 000000000..b8dfa0082 --- /dev/null +++ b/operator/api/redpanda/v1alpha2/conversion.go @@ -0,0 +1,118 @@ +// Copyright 2025 Redpanda Data, Inc. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.md +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0 + +package v1alpha2 + +import ( + "encoding/json" + + "github.com/cockroachdb/errors" + corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/runtime" + + "github.com/redpanda-data/redpanda-operator/charts/console/v3" + "github.com/redpanda-data/redpanda-operator/pkg/ir" +) + +// goverter:variables +// goverter:output:format assign-variable +// goverter:output:file ./zz_generated.conversion.go +// goverter:enum no +// goverter:extend conv_.* +var ( + // Publicly accessible Conversion functions. Naming is a up to the implementer. + + // goverter:ignore ConfigMap + // goverter:ignore InitContainers + // goverter:ignore NameOverride + // goverter:ignore FullnameOverride + // Ability to disable ConfigMaps or specific templated initContainers removed. + ConvertConsoleToConsolePartialRenderValues func(*ConsoleValues) (*console.PartialRenderValues, error) + + // goverter:context namespace + ConvertStaticConfigToIR func(namespace string, src *StaticConfigurationSource) *ir.StaticConfigurationSource + + // Private conversions for tuning / customizing conversions. + // Naming conversion: `autoconv__To__` + + // goverter:ignore Create + // Ability to disable creation of Deployment is not exposed through the Console CRD. + autoconv_DeploymentConfig_console_PartialDeploymentConfig func(*DeploymentConfig) *console.PartialDeploymentConfig + + // goverter:ignore Create + // Ability to disable creation of service account is not exposed through the Console CRD. + autoconv_ServiceAccountConfig_To_console_PartialServiceAccountConfig func(*ServiceAccountConfig) *console.PartialServiceAccountConfig + + // goverter:map SASL Auth + // goverter:context namespace + // AdminAPI auth isn't technically SASL; it's been renamed. + autoconv_AdminAPISpec_To_ir_AdminAPISpec func(_ *AdminAPISpec, namespace string) *ir.AdminAPISpec + + // goverter:map Namespace | getNamespace + // goverter:context namespace + autoconv_SecretKeyRef_To_ir_SecretKeyRef func(_ SecretKeyRef, namespace string) ir.SecretKeyRef + + // goverter:context namespace + autoconv_CommonTLS_To_ir_CommonTLS func(_ *CommonTLS, namespace string) *ir.CommonTLS +) + +// getNamespace returns the namespace context argument to set fields on nested +// fields. +// goverter:context namespace +func getNamespace(namespace string) string { + return namespace +} + +// Manually implemented conversion routines +// Naming conversion: `conv__To__` + +//goverter:context namespace +func conv_SecretKeyRef_To_ir_ObjectKeyRef(skr *SecretKeyRef, namespace string) *ir.ObjectKeyRef { + if skr == nil { + return nil + } + // Internal type supports ConfigMaps and Secrets. Public API only supports + // Secrets. + return &ir.ObjectKeyRef{ + Namespace: namespace, + SecretKeyRef: &corev1.SecretKeySelector{ + Key: skr.Key, + LocalObjectReference: corev1.LocalObjectReference{ + Name: skr.Name, + }, + }, + } +} + +func conv_runtime_RawExtension_To_mapany(ext *runtime.RawExtension) (map[string]any, error) { + if ext == nil { + return nil, nil + } + + var out map[string]any + if err := json.Unmarshal(ext.Raw, &out); err != nil { + return nil, errors.WithStack(err) + } + return out, nil +} + +var ( + conv_corev1_Volume_To_corev1_Volume = convertDeepCopier[corev1.Volume] + conv_corev1_EnvVar_To_corev1EnvVar = convertDeepCopier[corev1.EnvVar] + conv_corev1_ResourceRequirements_To_corev1_ResourceRequirements = convertDeepCopier[corev1.ResourceRequirements] +) + +type deepCopier[T any] interface { + *T + DeepCopy() *T +} + +func convertDeepCopier[T any, P deepCopier[T]](in T) T { + return *P(&in).DeepCopy() +} diff --git a/operator/api/redpanda/v1alpha2/redpanda_clusterspec_types.go b/operator/api/redpanda/v1alpha2/redpanda_clusterspec_types.go index 98a0c2b90..442e16c6b 100644 --- a/operator/api/redpanda/v1alpha2/redpanda_clusterspec_types.go +++ b/operator/api/redpanda/v1alpha2/redpanda_clusterspec_types.go @@ -72,6 +72,7 @@ type RedpandaClusterSpec struct { RackAwareness *RackAwareness `json:"rackAwareness,omitempty"` // Defines Redpanda Console settings. + // Deprecated: Use the dedicated Console CRD. Console *RedpandaConsole `json:"console,omitempty"` // Defines Redpanda Connector settings. diff --git a/operator/api/redpanda/v1alpha2/testdata/crd-docs.adoc b/operator/api/redpanda/v1alpha2/testdata/crd-docs.adoc index e9d8e64ea..bd7a20e40 100644 --- a/operator/api/redpanda/v1alpha2/testdata/crd-docs.adoc +++ b/operator/api/redpanda/v1alpha2/testdata/crd-docs.adoc @@ -13,6 +13,7 @@ .Resource Types +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-console[$$Console$$] - xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpanda[$$Redpanda$$] - xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-role[$$Role$$] - xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-schema[$$Schema$$] @@ -325,6 +326,28 @@ Auth configures authentication in the Helm values. See https://docs.redpanda.com |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-authenticationsecrets"] +==== AuthenticationSecrets + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretconfig[$$SecretConfig$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`jwtSigningKey`* __string__ | | | +| *`oidc`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-oidcloginsecrets[$$OIDCLoginSecrets$$]__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-authorizationtype"] ==== AuthorizationType @@ -344,6 +367,31 @@ AuthorizationType specifies the type of authorization to use in creating a user. +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-autoscaling"] +==== AutoScaling + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`enabled`* __boolean__ | | | +| *`minReplicas`* __integer__ | | | +| *`maxReplicas`* __integer__ | | | +| *`targetCPUUtilizationPercentage`* __integer__ | | | +| *`targetMemoryUtilizationPercentage`* __integer__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-bootstrapuser"] ==== BootstrapUser @@ -542,6 +590,7 @@ ClusterSource defines how to connect to a particular Redpanda cluster. .Appears In: **** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] - xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-rolespec[$$RoleSpec$$] - xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-schemaspec[$$SchemaSpec$$] - xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-topicspec[$$TopicSpec$$] @@ -795,6 +844,38 @@ never used. Prefer Create. + | | |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-console"] +==== Console + + + +Redpanda defines the CRD for Redpanda clusters. + + + + + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`apiVersion`* __string__ | `cluster.redpanda.com/v1alpha2` | | +| *`kind`* __string__ | `Console` | | +| *`kind`* __string__ | Kind is a string value representing the REST resource this object represents. + +Servers may infer this from the endpoint the client submits requests to. + +Cannot be updated. + +In CamelCase. + +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + | | +| *`apiVersion`* __string__ | APIVersion defines the versioned schema of this representation of an object. + +Servers should convert recognized schemas to the latest internal value, and + +may reject unrecognized values. + +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + | | +| *`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#objectmeta-v1-meta[$$ObjectMeta$$]__ | Refer to Kubernetes API documentation for fields of `metadata`. + | | +| *`spec`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$]__ | | | +| *`status`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolestatus[$$ConsoleStatus$$]__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolecreateobj"] ==== ConsoleCreateObj @@ -816,6 +897,90 @@ ConsoleCreateObj represents configuration options for creating Kubernetes object |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec"] +==== ConsoleSpec + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-console[$$Console$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`replicaCount`* __integer__ | | | +| *`image`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-image[$$Image$$]__ | | | +| *`imagePullSecrets`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core[$$LocalObjectReference$$] array__ | | | +| *`automountServiceAccountToken`* __boolean__ | | | +| *`serviceAccount`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-serviceaccountconfig[$$ServiceAccountConfig$$]__ | | | +| *`commonLabels`* __object (keys:string, values:string)__ | | | +| *`annotations`* __object (keys:string, values:string)__ | | | +| *`podAnnotations`* __object (keys:string, values:string)__ | | | +| *`podLabels`* __object (keys:string, values:string)__ | | | +| *`podSecurityContext`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podsecuritycontext-v1-core[$$PodSecurityContext$$]__ | | | +| *`securityContext`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#securitycontext-v1-core[$$SecurityContext$$]__ | | | +| *`service`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-serviceconfig[$$ServiceConfig$$]__ | | | +| *`ingress`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-ingressconfig[$$IngressConfig$$]__ | | | +| *`resources`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core[$$ResourceRequirements$$]__ | | | +| *`autoscaling`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-autoscaling[$$AutoScaling$$]__ | | | +| *`nodeSelector`* __object (keys:string, values:string)__ | | | +| *`tolerations`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#toleration-v1-core[$$Toleration$$] array__ | | | +| *`affinity`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#affinity-v1-core[$$Affinity$$]__ | | | +| *`topologySpreadConstraints`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#topologyspreadconstraint-v1-core[$$TopologySpreadConstraint$$] array__ | | | +| *`priorityClassName`* __string__ | | | +| *`config`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#rawextension-runtime-pkg[$$RawExtension$$]__ | | | +| *`extraEnv`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#envvar-v1-core[$$EnvVar$$] array__ | | | +| *`extraEnvFrom`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#envfromsource-v1-core[$$EnvFromSource$$] array__ | | | +| *`extraVolumes`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core[$$Volume$$] array__ | | | +| *`extraVolumeMounts`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core[$$VolumeMount$$] array__ | | | +| *`extraContainers`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#container-v1-core[$$Container$$] array__ | | | +| *`secretMounts`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretmount[$$SecretMount$$] array__ | | | +| *`secret`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretconfig[$$SecretConfig$$]__ | | | +| *`licenseSecretRef`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#secretkeyselector-v1-core[$$SecretKeySelector$$]__ | | | +| *`livenessProbe`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core[$$Probe$$]__ | | | +| *`readinessProbe`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#probe-v1-core[$$Probe$$]__ | | | +| *`deployment`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-deploymentconfig[$$DeploymentConfig$$]__ | | | +| *`strategy`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#deploymentstrategy-v1-apps[$$DeploymentStrategy$$]__ | | | +| *`cluster`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-clustersource[$$ClusterSource$$]__ | | | +|=== + + +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolestatus"] +==== ConsoleStatus + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-console[$$Console$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`observedGeneration`* __integer__ | The generation observed by the Console controller. + | | +| *`replicas`* __integer__ | Total number of non-terminating Pods targeted by this Console's Deployment. + | | +| *`updatedReplicas`* __integer__ | Total number of non-terminating pods targeted by this Console's Deployment that have the desired template spec. + | | +| *`readyReplicas`* __integer__ | Total number of non-terminating pods targeted by this Console's Deployment with a Ready Condition. + | | +| *`availableReplicas`* __integer__ | Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this Console's Deployment. + | | +| *`unavailableReplicas`* __integer__ | Total number of unavailable pods targeted by this deployment. This is the total number of + +pods that are still required for the deployment to have 100% available capacity. They may + +either be pods that are running but not yet available or pods that still have not been created. + | | +|=== + + + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-containerresources"] ==== ContainerResources @@ -860,6 +1025,28 @@ CredentialSecretRef can be used to set cloud_storage_secret_key from referenced |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-deploymentconfig"] +==== DeploymentConfig + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`command`* __string array__ | | | +| *`extraArgs`* __string array__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-enablable"] ==== Enablable @@ -1110,6 +1297,99 @@ deprecated and not respected. + | | |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-image"] +==== Image + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`registry`* __string__ | | | +| *`repository`* __string__ | | | +| *`pullPolicy`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#pullpolicy-v1-core[$$PullPolicy$$]__ | | | +| *`tag`* __string__ | | | +|=== + + +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-ingressconfig"] +==== IngressConfig + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`enabled`* __boolean__ | | | +| *`className`* __string__ | | | +| *`annotations`* __object (keys:string, values:string)__ | | | +| *`hosts`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-ingresshost[$$IngressHost$$] array__ | | | +| *`tls`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#ingresstls-v1-networking[$$IngressTLS$$] array__ | | | +|=== + + +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-ingresshost"] +==== IngressHost + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-ingressconfig[$$IngressConfig$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`host`* __string__ | | | +| *`paths`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-ingresspath[$$IngressPath$$] array__ | | | +|=== + + +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-ingresspath"] +==== IngressPath + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-ingresshost[$$IngressHost$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`path`* __string__ | | | +| *`pathType`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#pathtype-v1-networking[$$PathType$$]__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-initcontainerimage"] ==== InitContainerImage @@ -1351,6 +1631,32 @@ KafkaSASLOAuthBearer is the config struct for the SASL OAuthBearer mechanism |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-kafkasecrets"] +==== KafkaSecrets + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretconfig[$$SecretConfig$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`saslPassword`* __string__ | | | +| *`awsMskIamSecretKey`* __string__ | | | +| *`tlsCa`* __string__ | | | +| *`tlsCert`* __string__ | | | +| *`tlsKey`* __string__ | | | +| *`tlsPassphrase`* __string__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-licensesecretref"] ==== LicenseSecretRef @@ -1592,6 +1898,27 @@ Monitoring configures monitoring resources for Redpanda. See https://docs.redpan +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-oidcloginsecrets"] +==== OIDCLoginSecrets + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-authenticationsecrets[$$AuthenticationSecrets$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`clientSecret`* __string__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-password"] ==== Password @@ -2037,6 +2364,30 @@ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api- |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandaadminapisecrets"] +==== RedpandaAdminAPISecrets + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandasecrets[$$RedpandaSecrets$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`password`* __string__ | | | +| *`tlsCa`* __string__ | | | +| *`tlsCert`* __string__ | | | +| *`tlsKey`* __string__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandaclusterspec"] ==== RedpandaClusterSpec @@ -2067,7 +2418,8 @@ RedpandaClusterSpec defines the desired state of a Redpanda cluster. These setti | *`license_secret_ref`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-licensesecretref[$$LicenseSecretRef$$]__ | Deprecated: Use `EnterpriseLicenseSecretRef` instead. + | | | *`enterprise`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-enterprise[$$Enterprise$$]__ | Defines an Enterprise license. + | | | *`rackAwareness`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-rackawareness[$$RackAwareness$$]__ | Defines rack awareness settings. + | | -| *`console`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandaconsole[$$RedpandaConsole$$]__ | Defines Redpanda Console settings. + | | +| *`console`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandaconsole[$$RedpandaConsole$$]__ | Defines Redpanda Console settings. + +Deprecated: Use the dedicated Console CRD. + | | | *`auth`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-auth[$$Auth$$]__ | Defines authentication settings for listeners. + | | | *`tls`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-tls[$$TLS$$]__ | Defines TLS settings for listeners. + | | @@ -2288,6 +2640,27 @@ Defined by the `--reserve-memory` parameter. Represents the memory available for |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandasecrets"] +==== RedpandaSecrets + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretconfig[$$SecretConfig$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`adminApi`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandaadminapisecrets[$$RedpandaAdminAPISecrets$$]__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandaspec"] ==== RedpandaSpec @@ -2714,6 +3087,31 @@ SchemaRegistrySASL configures credentials to connect to Redpanda cluster that ha |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-schemaregistrysecrets"] +==== SchemaRegistrySecrets + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretconfig[$$SecretConfig$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`bearerToken`* __string__ | | | +| *`password`* __string__ | | | +| *`tlsCa`* __string__ | | | +| *`tlsCert`* __string__ | | | +| *`tlsKey`* __string__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-schemaregistryspec"] ==== SchemaRegistrySpec @@ -2807,6 +3205,33 @@ SchemaType specifies the type of the given schema. +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretconfig"] +==== SecretConfig + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`create`* __boolean__ | | | +| *`kafka`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-kafkasecrets[$$KafkaSecrets$$]__ | | | +| *`authentication`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-authenticationsecrets[$$AuthenticationSecrets$$]__ | | | +| *`license`* __string__ | | | +| *`redpanda`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-redpandasecrets[$$RedpandaSecrets$$]__ | | | +| *`serde`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-serdesecrets[$$SerdeSecrets$$]__ | | | +| *`schemaRegistry`* __xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-schemaregistrysecrets[$$SchemaRegistrySecrets$$]__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretkeyref"] ==== SecretKeyRef @@ -2837,6 +3262,31 @@ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/nam |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretmount"] +==== SecretMount + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`name`* __string__ | | | +| *`secretName`* __string__ | | | +| *`path`* __string__ | | | +| *`subPath`* __string__ | | | +| *`defaultMode`* __integer__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretref"] ==== SecretRef @@ -2881,6 +3331,27 @@ SecretRef configures the Secret resource that contains existing TLS certificates |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-serdesecrets"] +==== SerdeSecrets + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-secretconfig[$$SecretConfig$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`protobufGitBasicAuthPassword`* __string__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-service"] ==== Service @@ -2927,6 +3398,54 @@ ServiceAccount configures Service Accounts. |=== +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-serviceaccountconfig"] +==== ServiceAccountConfig + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`automountServiceAccountToken`* __boolean__ | | | +| *`annotations`* __object (keys:string, values:string)__ | | | +| *`name`* __string__ | | | +|=== + + +[id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-serviceconfig"] +==== ServiceConfig + + + + + + + +.Appears In: +**** +- xref:{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-consolespec[$$ConsoleSpec$$] +**** + +[cols="20a,50a,15a,15a", options="header"] +|=== +| Field | Description | Default | Validation +| *`type`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#servicetype-v1-core[$$ServiceType$$]__ | | | +| *`port`* __integer__ | | | +| *`nodePort`* __integer__ | | | +| *`targetPort`* __integer__ | | | +| *`annotations`* __object (keys:string, values:string)__ | | | +|=== + + [id="{anchor_prefix}-github-com-redpanda-data-redpanda-operator-operator-api-redpanda-v1alpha2-serviceinternal"] ==== ServiceInternal diff --git a/operator/api/redpanda/v1alpha2/zz_generated.conversion.go b/operator/api/redpanda/v1alpha2/zz_generated.conversion.go new file mode 100644 index 000000000..ddd305559 --- /dev/null +++ b/operator/api/redpanda/v1alpha2/zz_generated.conversion.go @@ -0,0 +1,1371 @@ +// Code generated by github.com/jmattheis/goverter, DO NOT EDIT. +//go:build !goverter + +package v1alpha2 + +import ( + v3 "github.com/redpanda-data/redpanda-operator/charts/console/v3" + ir "github.com/redpanda-data/redpanda-operator/pkg/ir" + v11 "k8s.io/api/apps/v1" + v1 "k8s.io/api/core/v1" + v13 "k8s.io/api/networking/v1" + v12 "k8s.io/apimachinery/pkg/apis/meta/v1" + intstr "k8s.io/apimachinery/pkg/util/intstr" +) + +func init() { + ConvertConsoleToConsolePartialRenderValues = func(source *ConsoleValues) (*v3.PartialRenderValues, error) { + var pConsolePartialRenderValues *v3.PartialRenderValues + if source != nil { + var consolePartialRenderValues v3.PartialRenderValues + if (*source).ReplicaCount != nil { + xint32 := *(*source).ReplicaCount + consolePartialRenderValues.ReplicaCount = &xint32 + } + if (*source).CommonLabels != nil { + consolePartialRenderValues.CommonLabels = make(map[string]string, len((*source).CommonLabels)) + for key, value := range (*source).CommonLabels { + consolePartialRenderValues.CommonLabels[key] = value + } + } + consolePartialRenderValues.Image = pV1alpha2ImageToPConsolePartialImage((*source).Image) + if (*source).ImagePullSecrets != nil { + consolePartialRenderValues.ImagePullSecrets = make([]v1.LocalObjectReference, len((*source).ImagePullSecrets)) + for i := 0; i < len((*source).ImagePullSecrets); i++ { + consolePartialRenderValues.ImagePullSecrets[i] = v1LocalObjectReferenceToV1LocalObjectReference((*source).ImagePullSecrets[i]) + } + } + if (*source).AutomountServiceAccountToken != nil { + xbool := *(*source).AutomountServiceAccountToken + consolePartialRenderValues.AutomountServiceAccountToken = &xbool + } + consolePartialRenderValues.ServiceAccount = autoconv_ServiceAccountConfig_To_console_PartialServiceAccountConfig((*source).ServiceAccount) + if (*source).Annotations != nil { + consolePartialRenderValues.Annotations = make(map[string]string, len((*source).Annotations)) + for key2, value2 := range (*source).Annotations { + consolePartialRenderValues.Annotations[key2] = value2 + } + } + if (*source).PodAnnotations != nil { + consolePartialRenderValues.PodAnnotations = make(map[string]string, len((*source).PodAnnotations)) + for key3, value3 := range (*source).PodAnnotations { + consolePartialRenderValues.PodAnnotations[key3] = value3 + } + } + if (*source).PodLabels != nil { + consolePartialRenderValues.PodLabels = make(map[string]string, len((*source).PodLabels)) + for key4, value4 := range (*source).PodLabels { + consolePartialRenderValues.PodLabels[key4] = value4 + } + } + consolePartialRenderValues.PodSecurityContext = pV1PodSecurityContextToPV1PodSecurityContext((*source).PodSecurityContext) + consolePartialRenderValues.SecurityContext = pV1SecurityContextToPV1SecurityContext((*source).SecurityContext) + consolePartialRenderValues.Service = pV1alpha2ServiceConfigToPConsolePartialServiceConfig((*source).Service) + consolePartialRenderValues.Ingress = pV1alpha2IngressConfigToPConsolePartialIngressConfig((*source).Ingress) + consolePartialRenderValues.Resources = pV1ResourceRequirementsToPV1ResourceRequirements((*source).Resources) + consolePartialRenderValues.Autoscaling = pV1alpha2AutoScalingToPConsolePartialAutoScaling((*source).Autoscaling) + if (*source).NodeSelector != nil { + consolePartialRenderValues.NodeSelector = make(map[string]string, len((*source).NodeSelector)) + for key5, value5 := range (*source).NodeSelector { + consolePartialRenderValues.NodeSelector[key5] = value5 + } + } + if (*source).Tolerations != nil { + consolePartialRenderValues.Tolerations = make([]v1.Toleration, len((*source).Tolerations)) + for j := 0; j < len((*source).Tolerations); j++ { + consolePartialRenderValues.Tolerations[j] = v1TolerationToV1Toleration((*source).Tolerations[j]) + } + } + consolePartialRenderValues.Affinity = pV1AffinityToPV1Affinity((*source).Affinity) + if (*source).TopologySpreadConstraints != nil { + consolePartialRenderValues.TopologySpreadConstraints = make([]v1.TopologySpreadConstraint, len((*source).TopologySpreadConstraints)) + for k := 0; k < len((*source).TopologySpreadConstraints); k++ { + consolePartialRenderValues.TopologySpreadConstraints[k] = v1TopologySpreadConstraintToV1TopologySpreadConstraint((*source).TopologySpreadConstraints[k]) + } + } + if (*source).PriorityClassName != nil { + xstring := *(*source).PriorityClassName + consolePartialRenderValues.PriorityClassName = &xstring + } + mapStringUnknown, err := conv_runtime_RawExtension_To_mapany((*source).Config) + if err != nil { + return nil, err + } + consolePartialRenderValues.Config = mapStringUnknown + if (*source).ExtraEnv != nil { + consolePartialRenderValues.ExtraEnv = make([]v1.EnvVar, len((*source).ExtraEnv)) + for l := 0; l < len((*source).ExtraEnv); l++ { + consolePartialRenderValues.ExtraEnv[l] = conv_corev1_EnvVar_To_corev1EnvVar((*source).ExtraEnv[l]) + } + } + if (*source).ExtraEnvFrom != nil { + consolePartialRenderValues.ExtraEnvFrom = make([]v1.EnvFromSource, len((*source).ExtraEnvFrom)) + for m := 0; m < len((*source).ExtraEnvFrom); m++ { + consolePartialRenderValues.ExtraEnvFrom[m] = v1EnvFromSourceToV1EnvFromSource((*source).ExtraEnvFrom[m]) + } + } + if (*source).ExtraVolumes != nil { + consolePartialRenderValues.ExtraVolumes = make([]v1.Volume, len((*source).ExtraVolumes)) + for n := 0; n < len((*source).ExtraVolumes); n++ { + consolePartialRenderValues.ExtraVolumes[n] = conv_corev1_Volume_To_corev1_Volume((*source).ExtraVolumes[n]) + } + } + if (*source).ExtraVolumeMounts != nil { + consolePartialRenderValues.ExtraVolumeMounts = make([]v1.VolumeMount, len((*source).ExtraVolumeMounts)) + for o := 0; o < len((*source).ExtraVolumeMounts); o++ { + consolePartialRenderValues.ExtraVolumeMounts[o] = v1VolumeMountToV1VolumeMount((*source).ExtraVolumeMounts[o]) + } + } + if (*source).ExtraContainers != nil { + consolePartialRenderValues.ExtraContainers = make([]v1.Container, len((*source).ExtraContainers)) + for p := 0; p < len((*source).ExtraContainers); p++ { + consolePartialRenderValues.ExtraContainers[p] = v1ContainerToV1Container((*source).ExtraContainers[p]) + } + } + if (*source).SecretMounts != nil { + consolePartialRenderValues.SecretMounts = make([]v3.PartialSecretMount, len((*source).SecretMounts)) + for q := 0; q < len((*source).SecretMounts); q++ { + consolePartialRenderValues.SecretMounts[q] = v1alpha2SecretMountToConsolePartialSecretMount((*source).SecretMounts[q]) + } + } + consolePartialRenderValues.Secret = v1alpha2SecretConfigToPConsolePartialSecretConfig((*source).Secret) + consolePartialRenderValues.LicenseSecretRef = pV1SecretKeySelectorToPV1SecretKeySelector((*source).LicenseSecretRef) + consolePartialRenderValues.LivenessProbe = pV1ProbeToPV1Probe((*source).LivenessProbe) + consolePartialRenderValues.ReadinessProbe = pV1ProbeToPV1Probe((*source).ReadinessProbe) + consolePartialRenderValues.Deployment = autoconv_DeploymentConfig_console_PartialDeploymentConfig((*source).Deployment) + consolePartialRenderValues.Strategy = pV1DeploymentStrategyToPV1DeploymentStrategy((*source).Strategy) + pConsolePartialRenderValues = &consolePartialRenderValues + } + return pConsolePartialRenderValues, nil + } + ConvertStaticConfigToIR = func(context string, source *StaticConfigurationSource) *ir.StaticConfigurationSource { + var pIrStaticConfigurationSource *ir.StaticConfigurationSource + if source != nil { + var irStaticConfigurationSource ir.StaticConfigurationSource + irStaticConfigurationSource.Kafka = pV1alpha2KafkaAPISpecToPIrKafkaAPISpec((*source).Kafka, context) + irStaticConfigurationSource.Admin = autoconv_AdminAPISpec_To_ir_AdminAPISpec((*source).Admin, context) + irStaticConfigurationSource.SchemaRegistry = pV1alpha2SchemaRegistrySpecToPIrSchemaRegistrySpec((*source).SchemaRegistry, context) + pIrStaticConfigurationSource = &irStaticConfigurationSource + } + return pIrStaticConfigurationSource + } + autoconv_AdminAPISpec_To_ir_AdminAPISpec = func(source *AdminAPISpec, context string) *ir.AdminAPISpec { + var pIrAdminAPISpec *ir.AdminAPISpec + if source != nil { + var irAdminAPISpec ir.AdminAPISpec + if (*source).URLs != nil { + irAdminAPISpec.URLs = make([]string, len((*source).URLs)) + for i := 0; i < len((*source).URLs); i++ { + irAdminAPISpec.URLs[i] = (*source).URLs[i] + } + } + irAdminAPISpec.TLS = autoconv_CommonTLS_To_ir_CommonTLS((*source).TLS, context) + irAdminAPISpec.Auth = pV1alpha2AdminSASLToPIrAdminAuth((*source).SASL, context) + pIrAdminAPISpec = &irAdminAPISpec + } + return pIrAdminAPISpec + } + autoconv_CommonTLS_To_ir_CommonTLS = func(source *CommonTLS, context string) *ir.CommonTLS { + var pIrCommonTLS *ir.CommonTLS + if source != nil { + var irCommonTLS ir.CommonTLS + irCommonTLS.CaCert = conv_SecretKeyRef_To_ir_ObjectKeyRef((*source).CaCert, context) + irCommonTLS.Cert = pV1alpha2SecretKeyRefToPIrSecretKeyRef((*source).Cert, context) + irCommonTLS.Key = pV1alpha2SecretKeyRefToPIrSecretKeyRef((*source).Key, context) + irCommonTLS.InsecureSkipTLSVerify = (*source).InsecureSkipTLSVerify + pIrCommonTLS = &irCommonTLS + } + return pIrCommonTLS + } + autoconv_DeploymentConfig_console_PartialDeploymentConfig = func(source *DeploymentConfig) *v3.PartialDeploymentConfig { + var pConsolePartialDeploymentConfig *v3.PartialDeploymentConfig + if source != nil { + var consolePartialDeploymentConfig v3.PartialDeploymentConfig + if (*source).Command != nil { + consolePartialDeploymentConfig.Command = make([]string, len((*source).Command)) + for i := 0; i < len((*source).Command); i++ { + consolePartialDeploymentConfig.Command[i] = (*source).Command[i] + } + } + if (*source).ExtraArgs != nil { + consolePartialDeploymentConfig.ExtraArgs = make([]string, len((*source).ExtraArgs)) + for j := 0; j < len((*source).ExtraArgs); j++ { + consolePartialDeploymentConfig.ExtraArgs[j] = (*source).ExtraArgs[j] + } + } + pConsolePartialDeploymentConfig = &consolePartialDeploymentConfig + } + return pConsolePartialDeploymentConfig + } + autoconv_SecretKeyRef_To_ir_SecretKeyRef = func(source SecretKeyRef, context string) ir.SecretKeyRef { + var irSecretKeyRef ir.SecretKeyRef + irSecretKeyRef.Namespace = getNamespace(context) + irSecretKeyRef.Name = source.Name + irSecretKeyRef.Key = source.Key + return irSecretKeyRef + } + autoconv_ServiceAccountConfig_To_console_PartialServiceAccountConfig = func(source *ServiceAccountConfig) *v3.PartialServiceAccountConfig { + var pConsolePartialServiceAccountConfig *v3.PartialServiceAccountConfig + if source != nil { + var consolePartialServiceAccountConfig v3.PartialServiceAccountConfig + if (*source).AutomountServiceAccountToken != nil { + xbool := *(*source).AutomountServiceAccountToken + consolePartialServiceAccountConfig.AutomountServiceAccountToken = &xbool + } + if (*source).Annotations != nil { + consolePartialServiceAccountConfig.Annotations = make(map[string]string, len((*source).Annotations)) + for key, value := range (*source).Annotations { + consolePartialServiceAccountConfig.Annotations[key] = value + } + } + if (*source).Name != nil { + xstring := *(*source).Name + consolePartialServiceAccountConfig.Name = &xstring + } + pConsolePartialServiceAccountConfig = &consolePartialServiceAccountConfig + } + return pConsolePartialServiceAccountConfig + } +} +func intstrIntOrStringToIntstrIntOrString(source intstr.IntOrString) intstr.IntOrString { + var intstrIntOrString intstr.IntOrString + intstrIntOrString.Type = intstr.Type(source.Type) + intstrIntOrString.IntVal = source.IntVal + intstrIntOrString.StrVal = source.StrVal + return intstrIntOrString +} +func pIntstrIntOrStringToPIntstrIntOrString(source *intstr.IntOrString) *intstr.IntOrString { + var pIntstrIntOrString *intstr.IntOrString + if source != nil { + intstrIntOrString := intstrIntOrStringToIntstrIntOrString((*source)) + pIntstrIntOrString = &intstrIntOrString + } + return pIntstrIntOrString +} +func pV1AffinityToPV1Affinity(source *v1.Affinity) *v1.Affinity { + var pV1Affinity *v1.Affinity + if source != nil { + var v1Affinity v1.Affinity + v1Affinity.NodeAffinity = pV1NodeAffinityToPV1NodeAffinity((*source).NodeAffinity) + v1Affinity.PodAffinity = pV1PodAffinityToPV1PodAffinity((*source).PodAffinity) + v1Affinity.PodAntiAffinity = pV1PodAntiAffinityToPV1PodAntiAffinity((*source).PodAntiAffinity) + pV1Affinity = &v1Affinity + } + return pV1Affinity +} +func pV1AppArmorProfileToPV1AppArmorProfile(source *v1.AppArmorProfile) *v1.AppArmorProfile { + var pV1AppArmorProfile *v1.AppArmorProfile + if source != nil { + var v1AppArmorProfile v1.AppArmorProfile + v1AppArmorProfile.Type = v1.AppArmorProfileType((*source).Type) + if (*source).LocalhostProfile != nil { + xstring := *(*source).LocalhostProfile + v1AppArmorProfile.LocalhostProfile = &xstring + } + pV1AppArmorProfile = &v1AppArmorProfile + } + return pV1AppArmorProfile +} +func pV1CapabilitiesToPV1Capabilities(source *v1.Capabilities) *v1.Capabilities { + var pV1Capabilities *v1.Capabilities + if source != nil { + var v1Capabilities v1.Capabilities + if (*source).Add != nil { + v1Capabilities.Add = make([]v1.Capability, len((*source).Add)) + for i := 0; i < len((*source).Add); i++ { + v1Capabilities.Add[i] = v1CapabilityToV1Capability((*source).Add[i]) + } + } + if (*source).Drop != nil { + v1Capabilities.Drop = make([]v1.Capability, len((*source).Drop)) + for j := 0; j < len((*source).Drop); j++ { + v1Capabilities.Drop[j] = v1CapabilityToV1Capability((*source).Drop[j]) + } + } + pV1Capabilities = &v1Capabilities + } + return pV1Capabilities +} +func pV1ConfigMapEnvSourceToPV1ConfigMapEnvSource(source *v1.ConfigMapEnvSource) *v1.ConfigMapEnvSource { + var pV1ConfigMapEnvSource *v1.ConfigMapEnvSource + if source != nil { + var v1ConfigMapEnvSource v1.ConfigMapEnvSource + v1ConfigMapEnvSource.LocalObjectReference = v1LocalObjectReferenceToV1LocalObjectReference((*source).LocalObjectReference) + if (*source).Optional != nil { + xbool := *(*source).Optional + v1ConfigMapEnvSource.Optional = &xbool + } + pV1ConfigMapEnvSource = &v1ConfigMapEnvSource + } + return pV1ConfigMapEnvSource +} +func pV1DeploymentStrategyToPV1DeploymentStrategy(source *v11.DeploymentStrategy) *v11.DeploymentStrategy { + var pV1DeploymentStrategy *v11.DeploymentStrategy + if source != nil { + var v1DeploymentStrategy v11.DeploymentStrategy + v1DeploymentStrategy.Type = v11.DeploymentStrategyType((*source).Type) + v1DeploymentStrategy.RollingUpdate = pV1RollingUpdateDeploymentToPV1RollingUpdateDeployment((*source).RollingUpdate) + pV1DeploymentStrategy = &v1DeploymentStrategy + } + return pV1DeploymentStrategy +} +func pV1ExecActionToPV1ExecAction(source *v1.ExecAction) *v1.ExecAction { + var pV1ExecAction *v1.ExecAction + if source != nil { + var v1ExecAction v1.ExecAction + if (*source).Command != nil { + v1ExecAction.Command = make([]string, len((*source).Command)) + for i := 0; i < len((*source).Command); i++ { + v1ExecAction.Command[i] = (*source).Command[i] + } + } + pV1ExecAction = &v1ExecAction + } + return pV1ExecAction +} +func pV1GRPCActionToPV1GRPCAction(source *v1.GRPCAction) *v1.GRPCAction { + var pV1GRPCAction *v1.GRPCAction + if source != nil { + var v1GRPCAction v1.GRPCAction + v1GRPCAction.Port = (*source).Port + if (*source).Service != nil { + xstring := *(*source).Service + v1GRPCAction.Service = &xstring + } + pV1GRPCAction = &v1GRPCAction + } + return pV1GRPCAction +} +func pV1HTTPGetActionToPV1HTTPGetAction(source *v1.HTTPGetAction) *v1.HTTPGetAction { + var pV1HTTPGetAction *v1.HTTPGetAction + if source != nil { + var v1HTTPGetAction v1.HTTPGetAction + v1HTTPGetAction.Path = (*source).Path + v1HTTPGetAction.Port = intstrIntOrStringToIntstrIntOrString((*source).Port) + v1HTTPGetAction.Host = (*source).Host + v1HTTPGetAction.Scheme = v1.URIScheme((*source).Scheme) + if (*source).HTTPHeaders != nil { + v1HTTPGetAction.HTTPHeaders = make([]v1.HTTPHeader, len((*source).HTTPHeaders)) + for i := 0; i < len((*source).HTTPHeaders); i++ { + v1HTTPGetAction.HTTPHeaders[i] = v1HTTPHeaderToV1HTTPHeader((*source).HTTPHeaders[i]) + } + } + pV1HTTPGetAction = &v1HTTPGetAction + } + return pV1HTTPGetAction +} +func pV1LabelSelectorToPV1LabelSelector(source *v12.LabelSelector) *v12.LabelSelector { + var pV1LabelSelector *v12.LabelSelector + if source != nil { + var v1LabelSelector v12.LabelSelector + if (*source).MatchLabels != nil { + v1LabelSelector.MatchLabels = make(map[string]string, len((*source).MatchLabels)) + for key, value := range (*source).MatchLabels { + v1LabelSelector.MatchLabels[key] = value + } + } + if (*source).MatchExpressions != nil { + v1LabelSelector.MatchExpressions = make([]v12.LabelSelectorRequirement, len((*source).MatchExpressions)) + for i := 0; i < len((*source).MatchExpressions); i++ { + v1LabelSelector.MatchExpressions[i] = v1LabelSelectorRequirementToV1LabelSelectorRequirement((*source).MatchExpressions[i]) + } + } + pV1LabelSelector = &v1LabelSelector + } + return pV1LabelSelector +} +func pV1LifecycleHandlerToPV1LifecycleHandler(source *v1.LifecycleHandler) *v1.LifecycleHandler { + var pV1LifecycleHandler *v1.LifecycleHandler + if source != nil { + var v1LifecycleHandler v1.LifecycleHandler + v1LifecycleHandler.Exec = pV1ExecActionToPV1ExecAction((*source).Exec) + v1LifecycleHandler.HTTPGet = pV1HTTPGetActionToPV1HTTPGetAction((*source).HTTPGet) + v1LifecycleHandler.TCPSocket = pV1TCPSocketActionToPV1TCPSocketAction((*source).TCPSocket) + v1LifecycleHandler.Sleep = pV1SleepActionToPV1SleepAction((*source).Sleep) + pV1LifecycleHandler = &v1LifecycleHandler + } + return pV1LifecycleHandler +} +func pV1LifecycleToPV1Lifecycle(source *v1.Lifecycle) *v1.Lifecycle { + var pV1Lifecycle *v1.Lifecycle + if source != nil { + var v1Lifecycle v1.Lifecycle + v1Lifecycle.PostStart = pV1LifecycleHandlerToPV1LifecycleHandler((*source).PostStart) + v1Lifecycle.PreStop = pV1LifecycleHandlerToPV1LifecycleHandler((*source).PreStop) + if (*source).StopSignal != nil { + v1Signal := v1.Signal(*(*source).StopSignal) + v1Lifecycle.StopSignal = &v1Signal + } + pV1Lifecycle = &v1Lifecycle + } + return pV1Lifecycle +} +func pV1NodeAffinityToPV1NodeAffinity(source *v1.NodeAffinity) *v1.NodeAffinity { + var pV1NodeAffinity *v1.NodeAffinity + if source != nil { + var v1NodeAffinity v1.NodeAffinity + v1NodeAffinity.RequiredDuringSchedulingIgnoredDuringExecution = pV1NodeSelectorToPV1NodeSelector((*source).RequiredDuringSchedulingIgnoredDuringExecution) + if (*source).PreferredDuringSchedulingIgnoredDuringExecution != nil { + v1NodeAffinity.PreferredDuringSchedulingIgnoredDuringExecution = make([]v1.PreferredSchedulingTerm, len((*source).PreferredDuringSchedulingIgnoredDuringExecution)) + for i := 0; i < len((*source).PreferredDuringSchedulingIgnoredDuringExecution); i++ { + v1NodeAffinity.PreferredDuringSchedulingIgnoredDuringExecution[i] = v1PreferredSchedulingTermToV1PreferredSchedulingTerm((*source).PreferredDuringSchedulingIgnoredDuringExecution[i]) + } + } + pV1NodeAffinity = &v1NodeAffinity + } + return pV1NodeAffinity +} +func pV1NodeSelectorToPV1NodeSelector(source *v1.NodeSelector) *v1.NodeSelector { + var pV1NodeSelector *v1.NodeSelector + if source != nil { + var v1NodeSelector v1.NodeSelector + if (*source).NodeSelectorTerms != nil { + v1NodeSelector.NodeSelectorTerms = make([]v1.NodeSelectorTerm, len((*source).NodeSelectorTerms)) + for i := 0; i < len((*source).NodeSelectorTerms); i++ { + v1NodeSelector.NodeSelectorTerms[i] = v1NodeSelectorTermToV1NodeSelectorTerm((*source).NodeSelectorTerms[i]) + } + } + pV1NodeSelector = &v1NodeSelector + } + return pV1NodeSelector +} +func pV1PodAffinityToPV1PodAffinity(source *v1.PodAffinity) *v1.PodAffinity { + var pV1PodAffinity *v1.PodAffinity + if source != nil { + var v1PodAffinity v1.PodAffinity + if (*source).RequiredDuringSchedulingIgnoredDuringExecution != nil { + v1PodAffinity.RequiredDuringSchedulingIgnoredDuringExecution = make([]v1.PodAffinityTerm, len((*source).RequiredDuringSchedulingIgnoredDuringExecution)) + for i := 0; i < len((*source).RequiredDuringSchedulingIgnoredDuringExecution); i++ { + v1PodAffinity.RequiredDuringSchedulingIgnoredDuringExecution[i] = v1PodAffinityTermToV1PodAffinityTerm((*source).RequiredDuringSchedulingIgnoredDuringExecution[i]) + } + } + if (*source).PreferredDuringSchedulingIgnoredDuringExecution != nil { + v1PodAffinity.PreferredDuringSchedulingIgnoredDuringExecution = make([]v1.WeightedPodAffinityTerm, len((*source).PreferredDuringSchedulingIgnoredDuringExecution)) + for j := 0; j < len((*source).PreferredDuringSchedulingIgnoredDuringExecution); j++ { + v1PodAffinity.PreferredDuringSchedulingIgnoredDuringExecution[j] = v1WeightedPodAffinityTermToV1WeightedPodAffinityTerm((*source).PreferredDuringSchedulingIgnoredDuringExecution[j]) + } + } + pV1PodAffinity = &v1PodAffinity + } + return pV1PodAffinity +} +func pV1PodAntiAffinityToPV1PodAntiAffinity(source *v1.PodAntiAffinity) *v1.PodAntiAffinity { + var pV1PodAntiAffinity *v1.PodAntiAffinity + if source != nil { + var v1PodAntiAffinity v1.PodAntiAffinity + if (*source).RequiredDuringSchedulingIgnoredDuringExecution != nil { + v1PodAntiAffinity.RequiredDuringSchedulingIgnoredDuringExecution = make([]v1.PodAffinityTerm, len((*source).RequiredDuringSchedulingIgnoredDuringExecution)) + for i := 0; i < len((*source).RequiredDuringSchedulingIgnoredDuringExecution); i++ { + v1PodAntiAffinity.RequiredDuringSchedulingIgnoredDuringExecution[i] = v1PodAffinityTermToV1PodAffinityTerm((*source).RequiredDuringSchedulingIgnoredDuringExecution[i]) + } + } + if (*source).PreferredDuringSchedulingIgnoredDuringExecution != nil { + v1PodAntiAffinity.PreferredDuringSchedulingIgnoredDuringExecution = make([]v1.WeightedPodAffinityTerm, len((*source).PreferredDuringSchedulingIgnoredDuringExecution)) + for j := 0; j < len((*source).PreferredDuringSchedulingIgnoredDuringExecution); j++ { + v1PodAntiAffinity.PreferredDuringSchedulingIgnoredDuringExecution[j] = v1WeightedPodAffinityTermToV1WeightedPodAffinityTerm((*source).PreferredDuringSchedulingIgnoredDuringExecution[j]) + } + } + pV1PodAntiAffinity = &v1PodAntiAffinity + } + return pV1PodAntiAffinity +} +func pV1PodSecurityContextToPV1PodSecurityContext(source *v1.PodSecurityContext) *v1.PodSecurityContext { + var pV1PodSecurityContext *v1.PodSecurityContext + if source != nil { + var v1PodSecurityContext v1.PodSecurityContext + v1PodSecurityContext.SELinuxOptions = pV1SELinuxOptionsToPV1SELinuxOptions((*source).SELinuxOptions) + v1PodSecurityContext.WindowsOptions = pV1WindowsSecurityContextOptionsToPV1WindowsSecurityContextOptions((*source).WindowsOptions) + if (*source).RunAsUser != nil { + xint64 := *(*source).RunAsUser + v1PodSecurityContext.RunAsUser = &xint64 + } + if (*source).RunAsGroup != nil { + xint642 := *(*source).RunAsGroup + v1PodSecurityContext.RunAsGroup = &xint642 + } + if (*source).RunAsNonRoot != nil { + xbool := *(*source).RunAsNonRoot + v1PodSecurityContext.RunAsNonRoot = &xbool + } + if (*source).SupplementalGroups != nil { + v1PodSecurityContext.SupplementalGroups = make([]int64, len((*source).SupplementalGroups)) + for i := 0; i < len((*source).SupplementalGroups); i++ { + v1PodSecurityContext.SupplementalGroups[i] = (*source).SupplementalGroups[i] + } + } + if (*source).SupplementalGroupsPolicy != nil { + v1SupplementalGroupsPolicy := v1.SupplementalGroupsPolicy(*(*source).SupplementalGroupsPolicy) + v1PodSecurityContext.SupplementalGroupsPolicy = &v1SupplementalGroupsPolicy + } + if (*source).FSGroup != nil { + xint643 := *(*source).FSGroup + v1PodSecurityContext.FSGroup = &xint643 + } + if (*source).Sysctls != nil { + v1PodSecurityContext.Sysctls = make([]v1.Sysctl, len((*source).Sysctls)) + for j := 0; j < len((*source).Sysctls); j++ { + v1PodSecurityContext.Sysctls[j] = v1SysctlToV1Sysctl((*source).Sysctls[j]) + } + } + if (*source).FSGroupChangePolicy != nil { + v1PodFSGroupChangePolicy := v1.PodFSGroupChangePolicy(*(*source).FSGroupChangePolicy) + v1PodSecurityContext.FSGroupChangePolicy = &v1PodFSGroupChangePolicy + } + v1PodSecurityContext.SeccompProfile = pV1SeccompProfileToPV1SeccompProfile((*source).SeccompProfile) + v1PodSecurityContext.AppArmorProfile = pV1AppArmorProfileToPV1AppArmorProfile((*source).AppArmorProfile) + if (*source).SELinuxChangePolicy != nil { + v1PodSELinuxChangePolicy := v1.PodSELinuxChangePolicy(*(*source).SELinuxChangePolicy) + v1PodSecurityContext.SELinuxChangePolicy = &v1PodSELinuxChangePolicy + } + pV1PodSecurityContext = &v1PodSecurityContext + } + return pV1PodSecurityContext +} +func pV1ProbeToPV1Probe(source *v1.Probe) *v1.Probe { + var pV1Probe *v1.Probe + if source != nil { + var v1Probe v1.Probe + v1Probe.ProbeHandler = v1ProbeHandlerToV1ProbeHandler((*source).ProbeHandler) + v1Probe.InitialDelaySeconds = (*source).InitialDelaySeconds + v1Probe.TimeoutSeconds = (*source).TimeoutSeconds + v1Probe.PeriodSeconds = (*source).PeriodSeconds + v1Probe.SuccessThreshold = (*source).SuccessThreshold + v1Probe.FailureThreshold = (*source).FailureThreshold + if (*source).TerminationGracePeriodSeconds != nil { + xint64 := *(*source).TerminationGracePeriodSeconds + v1Probe.TerminationGracePeriodSeconds = &xint64 + } + pV1Probe = &v1Probe + } + return pV1Probe +} +func pV1ResourceRequirementsToPV1ResourceRequirements(source *v1.ResourceRequirements) *v1.ResourceRequirements { + var pV1ResourceRequirements *v1.ResourceRequirements + if source != nil { + v1ResourceRequirements := conv_corev1_ResourceRequirements_To_corev1_ResourceRequirements((*source)) + pV1ResourceRequirements = &v1ResourceRequirements + } + return pV1ResourceRequirements +} +func pV1RollingUpdateDeploymentToPV1RollingUpdateDeployment(source *v11.RollingUpdateDeployment) *v11.RollingUpdateDeployment { + var pV1RollingUpdateDeployment *v11.RollingUpdateDeployment + if source != nil { + var v1RollingUpdateDeployment v11.RollingUpdateDeployment + v1RollingUpdateDeployment.MaxUnavailable = pIntstrIntOrStringToPIntstrIntOrString((*source).MaxUnavailable) + v1RollingUpdateDeployment.MaxSurge = pIntstrIntOrStringToPIntstrIntOrString((*source).MaxSurge) + pV1RollingUpdateDeployment = &v1RollingUpdateDeployment + } + return pV1RollingUpdateDeployment +} +func pV1SELinuxOptionsToPV1SELinuxOptions(source *v1.SELinuxOptions) *v1.SELinuxOptions { + var pV1SELinuxOptions *v1.SELinuxOptions + if source != nil { + var v1SELinuxOptions v1.SELinuxOptions + v1SELinuxOptions.User = (*source).User + v1SELinuxOptions.Role = (*source).Role + v1SELinuxOptions.Type = (*source).Type + v1SELinuxOptions.Level = (*source).Level + pV1SELinuxOptions = &v1SELinuxOptions + } + return pV1SELinuxOptions +} +func pV1SeccompProfileToPV1SeccompProfile(source *v1.SeccompProfile) *v1.SeccompProfile { + var pV1SeccompProfile *v1.SeccompProfile + if source != nil { + var v1SeccompProfile v1.SeccompProfile + v1SeccompProfile.Type = v1.SeccompProfileType((*source).Type) + if (*source).LocalhostProfile != nil { + xstring := *(*source).LocalhostProfile + v1SeccompProfile.LocalhostProfile = &xstring + } + pV1SeccompProfile = &v1SeccompProfile + } + return pV1SeccompProfile +} +func pV1SecretEnvSourceToPV1SecretEnvSource(source *v1.SecretEnvSource) *v1.SecretEnvSource { + var pV1SecretEnvSource *v1.SecretEnvSource + if source != nil { + var v1SecretEnvSource v1.SecretEnvSource + v1SecretEnvSource.LocalObjectReference = v1LocalObjectReferenceToV1LocalObjectReference((*source).LocalObjectReference) + if (*source).Optional != nil { + xbool := *(*source).Optional + v1SecretEnvSource.Optional = &xbool + } + pV1SecretEnvSource = &v1SecretEnvSource + } + return pV1SecretEnvSource +} +func pV1SecretKeySelectorToPV1SecretKeySelector(source *v1.SecretKeySelector) *v1.SecretKeySelector { + var pV1SecretKeySelector *v1.SecretKeySelector + if source != nil { + var v1SecretKeySelector v1.SecretKeySelector + v1SecretKeySelector.LocalObjectReference = v1LocalObjectReferenceToV1LocalObjectReference((*source).LocalObjectReference) + v1SecretKeySelector.Key = (*source).Key + if (*source).Optional != nil { + xbool := *(*source).Optional + v1SecretKeySelector.Optional = &xbool + } + pV1SecretKeySelector = &v1SecretKeySelector + } + return pV1SecretKeySelector +} +func pV1SecurityContextToPV1SecurityContext(source *v1.SecurityContext) *v1.SecurityContext { + var pV1SecurityContext *v1.SecurityContext + if source != nil { + var v1SecurityContext v1.SecurityContext + v1SecurityContext.Capabilities = pV1CapabilitiesToPV1Capabilities((*source).Capabilities) + if (*source).Privileged != nil { + xbool := *(*source).Privileged + v1SecurityContext.Privileged = &xbool + } + v1SecurityContext.SELinuxOptions = pV1SELinuxOptionsToPV1SELinuxOptions((*source).SELinuxOptions) + v1SecurityContext.WindowsOptions = pV1WindowsSecurityContextOptionsToPV1WindowsSecurityContextOptions((*source).WindowsOptions) + if (*source).RunAsUser != nil { + xint64 := *(*source).RunAsUser + v1SecurityContext.RunAsUser = &xint64 + } + if (*source).RunAsGroup != nil { + xint642 := *(*source).RunAsGroup + v1SecurityContext.RunAsGroup = &xint642 + } + if (*source).RunAsNonRoot != nil { + xbool2 := *(*source).RunAsNonRoot + v1SecurityContext.RunAsNonRoot = &xbool2 + } + if (*source).ReadOnlyRootFilesystem != nil { + xbool3 := *(*source).ReadOnlyRootFilesystem + v1SecurityContext.ReadOnlyRootFilesystem = &xbool3 + } + if (*source).AllowPrivilegeEscalation != nil { + xbool4 := *(*source).AllowPrivilegeEscalation + v1SecurityContext.AllowPrivilegeEscalation = &xbool4 + } + if (*source).ProcMount != nil { + v1ProcMountType := v1.ProcMountType(*(*source).ProcMount) + v1SecurityContext.ProcMount = &v1ProcMountType + } + v1SecurityContext.SeccompProfile = pV1SeccompProfileToPV1SeccompProfile((*source).SeccompProfile) + v1SecurityContext.AppArmorProfile = pV1AppArmorProfileToPV1AppArmorProfile((*source).AppArmorProfile) + pV1SecurityContext = &v1SecurityContext + } + return pV1SecurityContext +} +func pV1SleepActionToPV1SleepAction(source *v1.SleepAction) *v1.SleepAction { + var pV1SleepAction *v1.SleepAction + if source != nil { + var v1SleepAction v1.SleepAction + v1SleepAction.Seconds = (*source).Seconds + pV1SleepAction = &v1SleepAction + } + return pV1SleepAction +} +func pV1TCPSocketActionToPV1TCPSocketAction(source *v1.TCPSocketAction) *v1.TCPSocketAction { + var pV1TCPSocketAction *v1.TCPSocketAction + if source != nil { + var v1TCPSocketAction v1.TCPSocketAction + v1TCPSocketAction.Port = intstrIntOrStringToIntstrIntOrString((*source).Port) + v1TCPSocketAction.Host = (*source).Host + pV1TCPSocketAction = &v1TCPSocketAction + } + return pV1TCPSocketAction +} +func pV1WindowsSecurityContextOptionsToPV1WindowsSecurityContextOptions(source *v1.WindowsSecurityContextOptions) *v1.WindowsSecurityContextOptions { + var pV1WindowsSecurityContextOptions *v1.WindowsSecurityContextOptions + if source != nil { + var v1WindowsSecurityContextOptions v1.WindowsSecurityContextOptions + if (*source).GMSACredentialSpecName != nil { + xstring := *(*source).GMSACredentialSpecName + v1WindowsSecurityContextOptions.GMSACredentialSpecName = &xstring + } + if (*source).GMSACredentialSpec != nil { + xstring2 := *(*source).GMSACredentialSpec + v1WindowsSecurityContextOptions.GMSACredentialSpec = &xstring2 + } + if (*source).RunAsUserName != nil { + xstring3 := *(*source).RunAsUserName + v1WindowsSecurityContextOptions.RunAsUserName = &xstring3 + } + if (*source).HostProcess != nil { + xbool := *(*source).HostProcess + v1WindowsSecurityContextOptions.HostProcess = &xbool + } + pV1WindowsSecurityContextOptions = &v1WindowsSecurityContextOptions + } + return pV1WindowsSecurityContextOptions +} +func pV1alpha2AdminSASLToPIrAdminAuth(source *AdminSASL, context string) *ir.AdminAuth { + var pIrAdminAuth *ir.AdminAuth + if source != nil { + var irAdminAuth ir.AdminAuth + irAdminAuth.Username = (*source).Username + irAdminAuth.Password = autoconv_SecretKeyRef_To_ir_SecretKeyRef((*source).Password, context) + pIrAdminAuth = &irAdminAuth + } + return pIrAdminAuth +} +func pV1alpha2AuthenticationSecretsToPConsolePartialAuthenticationSecrets(source *AuthenticationSecrets) *v3.PartialAuthenticationSecrets { + var pConsolePartialAuthenticationSecrets *v3.PartialAuthenticationSecrets + if source != nil { + var consolePartialAuthenticationSecrets v3.PartialAuthenticationSecrets + if (*source).JWTSigningKey != nil { + xstring := *(*source).JWTSigningKey + consolePartialAuthenticationSecrets.JWTSigningKey = &xstring + } + consolePartialAuthenticationSecrets.OIDC = pV1alpha2OIDCLoginSecretsToPConsolePartialOIDCLoginSecrets((*source).OIDC) + pConsolePartialAuthenticationSecrets = &consolePartialAuthenticationSecrets + } + return pConsolePartialAuthenticationSecrets +} +func pV1alpha2AutoScalingToPConsolePartialAutoScaling(source *AutoScaling) *v3.PartialAutoScaling { + var pConsolePartialAutoScaling *v3.PartialAutoScaling + if source != nil { + var consolePartialAutoScaling v3.PartialAutoScaling + if (*source).Enabled != nil { + xbool := *(*source).Enabled + consolePartialAutoScaling.Enabled = &xbool + } + if (*source).MinReplicas != nil { + xint32 := *(*source).MinReplicas + consolePartialAutoScaling.MinReplicas = &xint32 + } + if (*source).MaxReplicas != nil { + xint322 := *(*source).MaxReplicas + consolePartialAutoScaling.MaxReplicas = &xint322 + } + if (*source).TargetCPUUtilizationPercentage != nil { + xint323 := *(*source).TargetCPUUtilizationPercentage + consolePartialAutoScaling.TargetCPUUtilizationPercentage = &xint323 + } + if (*source).TargetMemoryUtilizationPercentage != nil { + xint324 := *(*source).TargetMemoryUtilizationPercentage + consolePartialAutoScaling.TargetMemoryUtilizationPercentage = &xint324 + } + pConsolePartialAutoScaling = &consolePartialAutoScaling + } + return pConsolePartialAutoScaling +} +func pV1alpha2ImageToPConsolePartialImage(source *Image) *v3.PartialImage { + var pConsolePartialImage *v3.PartialImage + if source != nil { + var consolePartialImage v3.PartialImage + if (*source).Registry != nil { + xstring := *(*source).Registry + consolePartialImage.Registry = &xstring + } + if (*source).Repository != nil { + xstring2 := *(*source).Repository + consolePartialImage.Repository = &xstring2 + } + if (*source).PullPolicy != nil { + v1PullPolicy := v1.PullPolicy(*(*source).PullPolicy) + consolePartialImage.PullPolicy = &v1PullPolicy + } + if (*source).Tag != nil { + xstring3 := *(*source).Tag + consolePartialImage.Tag = &xstring3 + } + pConsolePartialImage = &consolePartialImage + } + return pConsolePartialImage +} +func pV1alpha2IngressConfigToPConsolePartialIngressConfig(source *IngressConfig) *v3.PartialIngressConfig { + var pConsolePartialIngressConfig *v3.PartialIngressConfig + if source != nil { + var consolePartialIngressConfig v3.PartialIngressConfig + if (*source).Enabled != nil { + xbool := *(*source).Enabled + consolePartialIngressConfig.Enabled = &xbool + } + if (*source).ClassName != nil { + xstring := *(*source).ClassName + consolePartialIngressConfig.ClassName = &xstring + } + if (*source).Annotations != nil { + consolePartialIngressConfig.Annotations = make(map[string]string, len((*source).Annotations)) + for key, value := range (*source).Annotations { + consolePartialIngressConfig.Annotations[key] = value + } + } + if (*source).Hosts != nil { + consolePartialIngressConfig.Hosts = make([]v3.PartialIngressHost, len((*source).Hosts)) + for i := 0; i < len((*source).Hosts); i++ { + consolePartialIngressConfig.Hosts[i] = v1alpha2IngressHostToConsolePartialIngressHost((*source).Hosts[i]) + } + } + if (*source).TLS != nil { + consolePartialIngressConfig.TLS = make([]v13.IngressTLS, len((*source).TLS)) + for j := 0; j < len((*source).TLS); j++ { + consolePartialIngressConfig.TLS[j] = v1IngressTLSToV1IngressTLS((*source).TLS[j]) + } + } + pConsolePartialIngressConfig = &consolePartialIngressConfig + } + return pConsolePartialIngressConfig +} +func pV1alpha2KafkaAPISpecToPIrKafkaAPISpec(source *KafkaAPISpec, context string) *ir.KafkaAPISpec { + var pIrKafkaAPISpec *ir.KafkaAPISpec + if source != nil { + var irKafkaAPISpec ir.KafkaAPISpec + if (*source).Brokers != nil { + irKafkaAPISpec.Brokers = make([]string, len((*source).Brokers)) + for i := 0; i < len((*source).Brokers); i++ { + irKafkaAPISpec.Brokers[i] = (*source).Brokers[i] + } + } + irKafkaAPISpec.TLS = autoconv_CommonTLS_To_ir_CommonTLS((*source).TLS, context) + irKafkaAPISpec.SASL = pV1alpha2KafkaSASLToPIrKafkaSASL((*source).SASL, context) + pIrKafkaAPISpec = &irKafkaAPISpec + } + return pIrKafkaAPISpec +} +func pV1alpha2KafkaSASLToPIrKafkaSASL(source *KafkaSASL, context string) *ir.KafkaSASL { + var pIrKafkaSASL *ir.KafkaSASL + if source != nil { + var irKafkaSASL ir.KafkaSASL + irKafkaSASL.Username = (*source).Username + irKafkaSASL.Password = autoconv_SecretKeyRef_To_ir_SecretKeyRef((*source).Password, context) + irKafkaSASL.Mechanism = ir.SASLMechanism((*source).Mechanism) + irKafkaSASL.OAUth = v1alpha2KafkaSASLOAuthBearerToIrKafkaSASLOAuthBearer((*source).OAUth, context) + irKafkaSASL.GSSAPIConfig = v1alpha2KafkaSASLGSSAPIToIrKafkaSASLGSSAPI((*source).GSSAPIConfig, context) + irKafkaSASL.AWSMskIam = v1alpha2KafkaSASLAWSMskIamToIrKafkaSASLAWSMskIam((*source).AWSMskIam, context) + pIrKafkaSASL = &irKafkaSASL + } + return pIrKafkaSASL +} +func pV1alpha2KafkaSecretsToPConsolePartialKafkaSecrets(source *KafkaSecrets) *v3.PartialKafkaSecrets { + var pConsolePartialKafkaSecrets *v3.PartialKafkaSecrets + if source != nil { + var consolePartialKafkaSecrets v3.PartialKafkaSecrets + if (*source).SASLPassword != nil { + xstring := *(*source).SASLPassword + consolePartialKafkaSecrets.SASLPassword = &xstring + } + if (*source).AWSMSKIAMSecretKey != nil { + xstring2 := *(*source).AWSMSKIAMSecretKey + consolePartialKafkaSecrets.AWSMSKIAMSecretKey = &xstring2 + } + if (*source).TLSCA != nil { + xstring3 := *(*source).TLSCA + consolePartialKafkaSecrets.TLSCA = &xstring3 + } + if (*source).TLSCert != nil { + xstring4 := *(*source).TLSCert + consolePartialKafkaSecrets.TLSCert = &xstring4 + } + if (*source).TLSKey != nil { + xstring5 := *(*source).TLSKey + consolePartialKafkaSecrets.TLSKey = &xstring5 + } + if (*source).TLSPassphrase != nil { + xstring6 := *(*source).TLSPassphrase + consolePartialKafkaSecrets.TLSPassphrase = &xstring6 + } + pConsolePartialKafkaSecrets = &consolePartialKafkaSecrets + } + return pConsolePartialKafkaSecrets +} +func pV1alpha2OIDCLoginSecretsToPConsolePartialOIDCLoginSecrets(source *OIDCLoginSecrets) *v3.PartialOIDCLoginSecrets { + var pConsolePartialOIDCLoginSecrets *v3.PartialOIDCLoginSecrets + if source != nil { + var consolePartialOIDCLoginSecrets v3.PartialOIDCLoginSecrets + if (*source).ClientSecret != nil { + xstring := *(*source).ClientSecret + consolePartialOIDCLoginSecrets.ClientSecret = &xstring + } + pConsolePartialOIDCLoginSecrets = &consolePartialOIDCLoginSecrets + } + return pConsolePartialOIDCLoginSecrets +} +func pV1alpha2RedpandaAdminAPISecretsToPConsolePartialRedpandaAdminAPISecrets(source *RedpandaAdminAPISecrets) *v3.PartialRedpandaAdminAPISecrets { + var pConsolePartialRedpandaAdminAPISecrets *v3.PartialRedpandaAdminAPISecrets + if source != nil { + var consolePartialRedpandaAdminAPISecrets v3.PartialRedpandaAdminAPISecrets + if (*source).Password != nil { + xstring := *(*source).Password + consolePartialRedpandaAdminAPISecrets.Password = &xstring + } + if (*source).TLSCA != nil { + xstring2 := *(*source).TLSCA + consolePartialRedpandaAdminAPISecrets.TLSCA = &xstring2 + } + if (*source).TLSCert != nil { + xstring3 := *(*source).TLSCert + consolePartialRedpandaAdminAPISecrets.TLSCert = &xstring3 + } + if (*source).TLSKey != nil { + xstring4 := *(*source).TLSKey + consolePartialRedpandaAdminAPISecrets.TLSKey = &xstring4 + } + pConsolePartialRedpandaAdminAPISecrets = &consolePartialRedpandaAdminAPISecrets + } + return pConsolePartialRedpandaAdminAPISecrets +} +func pV1alpha2RedpandaSecretsToPConsolePartialRedpandaSecrets(source *RedpandaSecrets) *v3.PartialRedpandaSecrets { + var pConsolePartialRedpandaSecrets *v3.PartialRedpandaSecrets + if source != nil { + var consolePartialRedpandaSecrets v3.PartialRedpandaSecrets + consolePartialRedpandaSecrets.AdminAPI = pV1alpha2RedpandaAdminAPISecretsToPConsolePartialRedpandaAdminAPISecrets((*source).AdminAPI) + pConsolePartialRedpandaSecrets = &consolePartialRedpandaSecrets + } + return pConsolePartialRedpandaSecrets +} +func pV1alpha2SchemaRegistrySASLToPIrSchemaRegistrySASL(source *SchemaRegistrySASL, context string) *ir.SchemaRegistrySASL { + var pIrSchemaRegistrySASL *ir.SchemaRegistrySASL + if source != nil { + var irSchemaRegistrySASL ir.SchemaRegistrySASL + irSchemaRegistrySASL.Username = (*source).Username + irSchemaRegistrySASL.Password = autoconv_SecretKeyRef_To_ir_SecretKeyRef((*source).Password, context) + irSchemaRegistrySASL.AuthToken = autoconv_SecretKeyRef_To_ir_SecretKeyRef((*source).AuthToken, context) + pIrSchemaRegistrySASL = &irSchemaRegistrySASL + } + return pIrSchemaRegistrySASL +} +func pV1alpha2SchemaRegistrySecretsToPConsolePartialSchemaRegistrySecrets(source *SchemaRegistrySecrets) *v3.PartialSchemaRegistrySecrets { + var pConsolePartialSchemaRegistrySecrets *v3.PartialSchemaRegistrySecrets + if source != nil { + var consolePartialSchemaRegistrySecrets v3.PartialSchemaRegistrySecrets + if (*source).BearerToken != nil { + xstring := *(*source).BearerToken + consolePartialSchemaRegistrySecrets.BearerToken = &xstring + } + if (*source).Password != nil { + xstring2 := *(*source).Password + consolePartialSchemaRegistrySecrets.Password = &xstring2 + } + if (*source).TLSCA != nil { + xstring3 := *(*source).TLSCA + consolePartialSchemaRegistrySecrets.TLSCA = &xstring3 + } + if (*source).TLSCert != nil { + xstring4 := *(*source).TLSCert + consolePartialSchemaRegistrySecrets.TLSCert = &xstring4 + } + if (*source).TLSKey != nil { + xstring5 := *(*source).TLSKey + consolePartialSchemaRegistrySecrets.TLSKey = &xstring5 + } + pConsolePartialSchemaRegistrySecrets = &consolePartialSchemaRegistrySecrets + } + return pConsolePartialSchemaRegistrySecrets +} +func pV1alpha2SchemaRegistrySpecToPIrSchemaRegistrySpec(source *SchemaRegistrySpec, context string) *ir.SchemaRegistrySpec { + var pIrSchemaRegistrySpec *ir.SchemaRegistrySpec + if source != nil { + var irSchemaRegistrySpec ir.SchemaRegistrySpec + if (*source).URLs != nil { + irSchemaRegistrySpec.URLs = make([]string, len((*source).URLs)) + for i := 0; i < len((*source).URLs); i++ { + irSchemaRegistrySpec.URLs[i] = (*source).URLs[i] + } + } + irSchemaRegistrySpec.TLS = autoconv_CommonTLS_To_ir_CommonTLS((*source).TLS, context) + irSchemaRegistrySpec.SASL = pV1alpha2SchemaRegistrySASLToPIrSchemaRegistrySASL((*source).SASL, context) + pIrSchemaRegistrySpec = &irSchemaRegistrySpec + } + return pIrSchemaRegistrySpec +} +func pV1alpha2SecretKeyRefToPIrSecretKeyRef(source *SecretKeyRef, context string) *ir.SecretKeyRef { + var pIrSecretKeyRef *ir.SecretKeyRef + if source != nil { + irSecretKeyRef := autoconv_SecretKeyRef_To_ir_SecretKeyRef((*source), context) + pIrSecretKeyRef = &irSecretKeyRef + } + return pIrSecretKeyRef +} +func pV1alpha2SerdeSecretsToPConsolePartialSerdeSecrets(source *SerdeSecrets) *v3.PartialSerdeSecrets { + var pConsolePartialSerdeSecrets *v3.PartialSerdeSecrets + if source != nil { + var consolePartialSerdeSecrets v3.PartialSerdeSecrets + if (*source).ProtobufGitBasicAuthPassword != nil { + xstring := *(*source).ProtobufGitBasicAuthPassword + consolePartialSerdeSecrets.ProtobufGitBasicAuthPassword = &xstring + } + pConsolePartialSerdeSecrets = &consolePartialSerdeSecrets + } + return pConsolePartialSerdeSecrets +} +func pV1alpha2ServiceConfigToPConsolePartialServiceConfig(source *ServiceConfig) *v3.PartialServiceConfig { + var pConsolePartialServiceConfig *v3.PartialServiceConfig + if source != nil { + var consolePartialServiceConfig v3.PartialServiceConfig + if (*source).Type != nil { + v1ServiceType := v1.ServiceType(*(*source).Type) + consolePartialServiceConfig.Type = &v1ServiceType + } + if (*source).Port != nil { + xint32 := *(*source).Port + consolePartialServiceConfig.Port = &xint32 + } + if (*source).NodePort != nil { + xint322 := *(*source).NodePort + consolePartialServiceConfig.NodePort = &xint322 + } + if (*source).TargetPort != nil { + xint323 := *(*source).TargetPort + consolePartialServiceConfig.TargetPort = &xint323 + } + if (*source).Annotations != nil { + consolePartialServiceConfig.Annotations = make(map[string]string, len((*source).Annotations)) + for key, value := range (*source).Annotations { + consolePartialServiceConfig.Annotations[key] = value + } + } + pConsolePartialServiceConfig = &consolePartialServiceConfig + } + return pConsolePartialServiceConfig +} +func v1CapabilityToV1Capability(source v1.Capability) v1.Capability { + return v1.Capability(source) +} +func v1ContainerPortToV1ContainerPort(source v1.ContainerPort) v1.ContainerPort { + var v1ContainerPort v1.ContainerPort + v1ContainerPort.Name = source.Name + v1ContainerPort.HostPort = source.HostPort + v1ContainerPort.ContainerPort = source.ContainerPort + v1ContainerPort.Protocol = v1.Protocol(source.Protocol) + v1ContainerPort.HostIP = source.HostIP + return v1ContainerPort +} +func v1ContainerResizePolicyToV1ContainerResizePolicy(source v1.ContainerResizePolicy) v1.ContainerResizePolicy { + var v1ContainerResizePolicy v1.ContainerResizePolicy + v1ContainerResizePolicy.ResourceName = v1.ResourceName(source.ResourceName) + v1ContainerResizePolicy.RestartPolicy = v1.ResourceResizeRestartPolicy(source.RestartPolicy) + return v1ContainerResizePolicy +} +func v1ContainerToV1Container(source v1.Container) v1.Container { + var v1Container v1.Container + v1Container.Name = source.Name + v1Container.Image = source.Image + if source.Command != nil { + v1Container.Command = make([]string, len(source.Command)) + for i := 0; i < len(source.Command); i++ { + v1Container.Command[i] = source.Command[i] + } + } + if source.Args != nil { + v1Container.Args = make([]string, len(source.Args)) + for j := 0; j < len(source.Args); j++ { + v1Container.Args[j] = source.Args[j] + } + } + v1Container.WorkingDir = source.WorkingDir + if source.Ports != nil { + v1Container.Ports = make([]v1.ContainerPort, len(source.Ports)) + for k := 0; k < len(source.Ports); k++ { + v1Container.Ports[k] = v1ContainerPortToV1ContainerPort(source.Ports[k]) + } + } + if source.EnvFrom != nil { + v1Container.EnvFrom = make([]v1.EnvFromSource, len(source.EnvFrom)) + for l := 0; l < len(source.EnvFrom); l++ { + v1Container.EnvFrom[l] = v1EnvFromSourceToV1EnvFromSource(source.EnvFrom[l]) + } + } + if source.Env != nil { + v1Container.Env = make([]v1.EnvVar, len(source.Env)) + for m := 0; m < len(source.Env); m++ { + v1Container.Env[m] = conv_corev1_EnvVar_To_corev1EnvVar(source.Env[m]) + } + } + v1Container.Resources = conv_corev1_ResourceRequirements_To_corev1_ResourceRequirements(source.Resources) + if source.ResizePolicy != nil { + v1Container.ResizePolicy = make([]v1.ContainerResizePolicy, len(source.ResizePolicy)) + for n := 0; n < len(source.ResizePolicy); n++ { + v1Container.ResizePolicy[n] = v1ContainerResizePolicyToV1ContainerResizePolicy(source.ResizePolicy[n]) + } + } + if source.RestartPolicy != nil { + v1ContainerRestartPolicy := v1.ContainerRestartPolicy(*source.RestartPolicy) + v1Container.RestartPolicy = &v1ContainerRestartPolicy + } + if source.VolumeMounts != nil { + v1Container.VolumeMounts = make([]v1.VolumeMount, len(source.VolumeMounts)) + for o := 0; o < len(source.VolumeMounts); o++ { + v1Container.VolumeMounts[o] = v1VolumeMountToV1VolumeMount(source.VolumeMounts[o]) + } + } + if source.VolumeDevices != nil { + v1Container.VolumeDevices = make([]v1.VolumeDevice, len(source.VolumeDevices)) + for p := 0; p < len(source.VolumeDevices); p++ { + v1Container.VolumeDevices[p] = v1VolumeDeviceToV1VolumeDevice(source.VolumeDevices[p]) + } + } + v1Container.LivenessProbe = pV1ProbeToPV1Probe(source.LivenessProbe) + v1Container.ReadinessProbe = pV1ProbeToPV1Probe(source.ReadinessProbe) + v1Container.StartupProbe = pV1ProbeToPV1Probe(source.StartupProbe) + v1Container.Lifecycle = pV1LifecycleToPV1Lifecycle(source.Lifecycle) + v1Container.TerminationMessagePath = source.TerminationMessagePath + v1Container.TerminationMessagePolicy = v1.TerminationMessagePolicy(source.TerminationMessagePolicy) + v1Container.ImagePullPolicy = v1.PullPolicy(source.ImagePullPolicy) + v1Container.SecurityContext = pV1SecurityContextToPV1SecurityContext(source.SecurityContext) + v1Container.Stdin = source.Stdin + v1Container.StdinOnce = source.StdinOnce + v1Container.TTY = source.TTY + return v1Container +} +func v1EnvFromSourceToV1EnvFromSource(source v1.EnvFromSource) v1.EnvFromSource { + var v1EnvFromSource v1.EnvFromSource + v1EnvFromSource.Prefix = source.Prefix + v1EnvFromSource.ConfigMapRef = pV1ConfigMapEnvSourceToPV1ConfigMapEnvSource(source.ConfigMapRef) + v1EnvFromSource.SecretRef = pV1SecretEnvSourceToPV1SecretEnvSource(source.SecretRef) + return v1EnvFromSource +} +func v1HTTPHeaderToV1HTTPHeader(source v1.HTTPHeader) v1.HTTPHeader { + var v1HTTPHeader v1.HTTPHeader + v1HTTPHeader.Name = source.Name + v1HTTPHeader.Value = source.Value + return v1HTTPHeader +} +func v1IngressTLSToV1IngressTLS(source v13.IngressTLS) v13.IngressTLS { + var v1IngressTLS v13.IngressTLS + if source.Hosts != nil { + v1IngressTLS.Hosts = make([]string, len(source.Hosts)) + for i := 0; i < len(source.Hosts); i++ { + v1IngressTLS.Hosts[i] = source.Hosts[i] + } + } + v1IngressTLS.SecretName = source.SecretName + return v1IngressTLS +} +func v1LabelSelectorRequirementToV1LabelSelectorRequirement(source v12.LabelSelectorRequirement) v12.LabelSelectorRequirement { + var v1LabelSelectorRequirement v12.LabelSelectorRequirement + v1LabelSelectorRequirement.Key = source.Key + v1LabelSelectorRequirement.Operator = v12.LabelSelectorOperator(source.Operator) + if source.Values != nil { + v1LabelSelectorRequirement.Values = make([]string, len(source.Values)) + for i := 0; i < len(source.Values); i++ { + v1LabelSelectorRequirement.Values[i] = source.Values[i] + } + } + return v1LabelSelectorRequirement +} +func v1LocalObjectReferenceToV1LocalObjectReference(source v1.LocalObjectReference) v1.LocalObjectReference { + var v1LocalObjectReference v1.LocalObjectReference + v1LocalObjectReference.Name = source.Name + return v1LocalObjectReference +} +func v1NodeInclusionPolicyToV1NodeInclusionPolicy(source v1.NodeInclusionPolicy) v1.NodeInclusionPolicy { + return v1.NodeInclusionPolicy(source) +} +func v1NodeSelectorRequirementToV1NodeSelectorRequirement(source v1.NodeSelectorRequirement) v1.NodeSelectorRequirement { + var v1NodeSelectorRequirement v1.NodeSelectorRequirement + v1NodeSelectorRequirement.Key = source.Key + v1NodeSelectorRequirement.Operator = v1.NodeSelectorOperator(source.Operator) + if source.Values != nil { + v1NodeSelectorRequirement.Values = make([]string, len(source.Values)) + for i := 0; i < len(source.Values); i++ { + v1NodeSelectorRequirement.Values[i] = source.Values[i] + } + } + return v1NodeSelectorRequirement +} +func v1NodeSelectorTermToV1NodeSelectorTerm(source v1.NodeSelectorTerm) v1.NodeSelectorTerm { + var v1NodeSelectorTerm v1.NodeSelectorTerm + if source.MatchExpressions != nil { + v1NodeSelectorTerm.MatchExpressions = make([]v1.NodeSelectorRequirement, len(source.MatchExpressions)) + for i := 0; i < len(source.MatchExpressions); i++ { + v1NodeSelectorTerm.MatchExpressions[i] = v1NodeSelectorRequirementToV1NodeSelectorRequirement(source.MatchExpressions[i]) + } + } + if source.MatchFields != nil { + v1NodeSelectorTerm.MatchFields = make([]v1.NodeSelectorRequirement, len(source.MatchFields)) + for j := 0; j < len(source.MatchFields); j++ { + v1NodeSelectorTerm.MatchFields[j] = v1NodeSelectorRequirementToV1NodeSelectorRequirement(source.MatchFields[j]) + } + } + return v1NodeSelectorTerm +} +func v1PodAffinityTermToV1PodAffinityTerm(source v1.PodAffinityTerm) v1.PodAffinityTerm { + var v1PodAffinityTerm v1.PodAffinityTerm + v1PodAffinityTerm.LabelSelector = pV1LabelSelectorToPV1LabelSelector(source.LabelSelector) + if source.Namespaces != nil { + v1PodAffinityTerm.Namespaces = make([]string, len(source.Namespaces)) + for i := 0; i < len(source.Namespaces); i++ { + v1PodAffinityTerm.Namespaces[i] = source.Namespaces[i] + } + } + v1PodAffinityTerm.TopologyKey = source.TopologyKey + v1PodAffinityTerm.NamespaceSelector = pV1LabelSelectorToPV1LabelSelector(source.NamespaceSelector) + if source.MatchLabelKeys != nil { + v1PodAffinityTerm.MatchLabelKeys = make([]string, len(source.MatchLabelKeys)) + for j := 0; j < len(source.MatchLabelKeys); j++ { + v1PodAffinityTerm.MatchLabelKeys[j] = source.MatchLabelKeys[j] + } + } + if source.MismatchLabelKeys != nil { + v1PodAffinityTerm.MismatchLabelKeys = make([]string, len(source.MismatchLabelKeys)) + for k := 0; k < len(source.MismatchLabelKeys); k++ { + v1PodAffinityTerm.MismatchLabelKeys[k] = source.MismatchLabelKeys[k] + } + } + return v1PodAffinityTerm +} +func v1PreferredSchedulingTermToV1PreferredSchedulingTerm(source v1.PreferredSchedulingTerm) v1.PreferredSchedulingTerm { + var v1PreferredSchedulingTerm v1.PreferredSchedulingTerm + v1PreferredSchedulingTerm.Weight = source.Weight + v1PreferredSchedulingTerm.Preference = v1NodeSelectorTermToV1NodeSelectorTerm(source.Preference) + return v1PreferredSchedulingTerm +} +func v1ProbeHandlerToV1ProbeHandler(source v1.ProbeHandler) v1.ProbeHandler { + var v1ProbeHandler v1.ProbeHandler + v1ProbeHandler.Exec = pV1ExecActionToPV1ExecAction(source.Exec) + v1ProbeHandler.HTTPGet = pV1HTTPGetActionToPV1HTTPGetAction(source.HTTPGet) + v1ProbeHandler.TCPSocket = pV1TCPSocketActionToPV1TCPSocketAction(source.TCPSocket) + v1ProbeHandler.GRPC = pV1GRPCActionToPV1GRPCAction(source.GRPC) + return v1ProbeHandler +} +func v1SysctlToV1Sysctl(source v1.Sysctl) v1.Sysctl { + var v1Sysctl v1.Sysctl + v1Sysctl.Name = source.Name + v1Sysctl.Value = source.Value + return v1Sysctl +} +func v1TolerationToV1Toleration(source v1.Toleration) v1.Toleration { + var v1Toleration v1.Toleration + v1Toleration.Key = source.Key + v1Toleration.Operator = v1.TolerationOperator(source.Operator) + v1Toleration.Value = source.Value + v1Toleration.Effect = v1.TaintEffect(source.Effect) + if source.TolerationSeconds != nil { + xint64 := *source.TolerationSeconds + v1Toleration.TolerationSeconds = &xint64 + } + return v1Toleration +} +func v1TopologySpreadConstraintToV1TopologySpreadConstraint(source v1.TopologySpreadConstraint) v1.TopologySpreadConstraint { + var v1TopologySpreadConstraint v1.TopologySpreadConstraint + v1TopologySpreadConstraint.MaxSkew = source.MaxSkew + v1TopologySpreadConstraint.TopologyKey = source.TopologyKey + v1TopologySpreadConstraint.WhenUnsatisfiable = v1.UnsatisfiableConstraintAction(source.WhenUnsatisfiable) + v1TopologySpreadConstraint.LabelSelector = pV1LabelSelectorToPV1LabelSelector(source.LabelSelector) + if source.MinDomains != nil { + xint32 := *source.MinDomains + v1TopologySpreadConstraint.MinDomains = &xint32 + } + if source.NodeAffinityPolicy != nil { + v1NodeInclusionPolicy := v1NodeInclusionPolicyToV1NodeInclusionPolicy(*source.NodeAffinityPolicy) + v1TopologySpreadConstraint.NodeAffinityPolicy = &v1NodeInclusionPolicy + } + if source.NodeTaintsPolicy != nil { + v1NodeInclusionPolicy2 := v1NodeInclusionPolicyToV1NodeInclusionPolicy(*source.NodeTaintsPolicy) + v1TopologySpreadConstraint.NodeTaintsPolicy = &v1NodeInclusionPolicy2 + } + if source.MatchLabelKeys != nil { + v1TopologySpreadConstraint.MatchLabelKeys = make([]string, len(source.MatchLabelKeys)) + for i := 0; i < len(source.MatchLabelKeys); i++ { + v1TopologySpreadConstraint.MatchLabelKeys[i] = source.MatchLabelKeys[i] + } + } + return v1TopologySpreadConstraint +} +func v1VolumeDeviceToV1VolumeDevice(source v1.VolumeDevice) v1.VolumeDevice { + var v1VolumeDevice v1.VolumeDevice + v1VolumeDevice.Name = source.Name + v1VolumeDevice.DevicePath = source.DevicePath + return v1VolumeDevice +} +func v1VolumeMountToV1VolumeMount(source v1.VolumeMount) v1.VolumeMount { + var v1VolumeMount v1.VolumeMount + v1VolumeMount.Name = source.Name + v1VolumeMount.ReadOnly = source.ReadOnly + if source.RecursiveReadOnly != nil { + v1RecursiveReadOnlyMode := v1.RecursiveReadOnlyMode(*source.RecursiveReadOnly) + v1VolumeMount.RecursiveReadOnly = &v1RecursiveReadOnlyMode + } + v1VolumeMount.MountPath = source.MountPath + v1VolumeMount.SubPath = source.SubPath + if source.MountPropagation != nil { + v1MountPropagationMode := v1.MountPropagationMode(*source.MountPropagation) + v1VolumeMount.MountPropagation = &v1MountPropagationMode + } + v1VolumeMount.SubPathExpr = source.SubPathExpr + return v1VolumeMount +} +func v1WeightedPodAffinityTermToV1WeightedPodAffinityTerm(source v1.WeightedPodAffinityTerm) v1.WeightedPodAffinityTerm { + var v1WeightedPodAffinityTerm v1.WeightedPodAffinityTerm + v1WeightedPodAffinityTerm.Weight = source.Weight + v1WeightedPodAffinityTerm.PodAffinityTerm = v1PodAffinityTermToV1PodAffinityTerm(source.PodAffinityTerm) + return v1WeightedPodAffinityTerm +} +func v1alpha2IngressHostToConsolePartialIngressHost(source IngressHost) v3.PartialIngressHost { + var consolePartialIngressHost v3.PartialIngressHost + pString := source.Host + consolePartialIngressHost.Host = &pString + if source.Paths != nil { + consolePartialIngressHost.Paths = make([]v3.PartialIngressPath, len(source.Paths)) + for i := 0; i < len(source.Paths); i++ { + consolePartialIngressHost.Paths[i] = v1alpha2IngressPathToConsolePartialIngressPath(source.Paths[i]) + } + } + return consolePartialIngressHost +} +func v1alpha2IngressPathToConsolePartialIngressPath(source IngressPath) v3.PartialIngressPath { + var consolePartialIngressPath v3.PartialIngressPath + pString := source.Path + consolePartialIngressPath.Path = &pString + if source.PathType != nil { + v1PathType := v13.PathType(*source.PathType) + consolePartialIngressPath.PathType = &v1PathType + } + return consolePartialIngressPath +} +func v1alpha2KafkaSASLAWSMskIamToIrKafkaSASLAWSMskIam(source KafkaSASLAWSMskIam, context string) ir.KafkaSASLAWSMskIam { + var irKafkaSASLAWSMskIam ir.KafkaSASLAWSMskIam + irKafkaSASLAWSMskIam.AccessKey = source.AccessKey + irKafkaSASLAWSMskIam.SecretKey = autoconv_SecretKeyRef_To_ir_SecretKeyRef(source.SecretKey, context) + irKafkaSASLAWSMskIam.SessionToken = autoconv_SecretKeyRef_To_ir_SecretKeyRef(source.SessionToken, context) + irKafkaSASLAWSMskIam.UserAgent = source.UserAgent + return irKafkaSASLAWSMskIam +} +func v1alpha2KafkaSASLGSSAPIToIrKafkaSASLGSSAPI(source KafkaSASLGSSAPI, context string) ir.KafkaSASLGSSAPI { + var irKafkaSASLGSSAPI ir.KafkaSASLGSSAPI + irKafkaSASLGSSAPI.AuthType = source.AuthType + irKafkaSASLGSSAPI.KeyTabPath = source.KeyTabPath + irKafkaSASLGSSAPI.KerberosConfigPath = source.KerberosConfigPath + irKafkaSASLGSSAPI.ServiceName = source.ServiceName + irKafkaSASLGSSAPI.Username = source.Username + irKafkaSASLGSSAPI.Password = autoconv_SecretKeyRef_To_ir_SecretKeyRef(source.Password, context) + irKafkaSASLGSSAPI.Realm = source.Realm + irKafkaSASLGSSAPI.EnableFast = source.EnableFast + return irKafkaSASLGSSAPI +} +func v1alpha2KafkaSASLOAuthBearerToIrKafkaSASLOAuthBearer(source KafkaSASLOAuthBearer, context string) ir.KafkaSASLOAuthBearer { + var irKafkaSASLOAuthBearer ir.KafkaSASLOAuthBearer + irKafkaSASLOAuthBearer.Token = autoconv_SecretKeyRef_To_ir_SecretKeyRef(source.Token, context) + return irKafkaSASLOAuthBearer +} +func v1alpha2SecretConfigToPConsolePartialSecretConfig(source SecretConfig) *v3.PartialSecretConfig { + var consolePartialSecretConfig v3.PartialSecretConfig + if source.Create != nil { + xbool := *source.Create + consolePartialSecretConfig.Create = &xbool + } + consolePartialSecretConfig.Kafka = pV1alpha2KafkaSecretsToPConsolePartialKafkaSecrets(source.Kafka) + consolePartialSecretConfig.Authentication = pV1alpha2AuthenticationSecretsToPConsolePartialAuthenticationSecrets(source.Authentication) + if source.License != nil { + xstring := *source.License + consolePartialSecretConfig.License = &xstring + } + consolePartialSecretConfig.Redpanda = pV1alpha2RedpandaSecretsToPConsolePartialRedpandaSecrets(source.Redpanda) + consolePartialSecretConfig.Serde = pV1alpha2SerdeSecretsToPConsolePartialSerdeSecrets(source.Serde) + consolePartialSecretConfig.SchemaRegistry = pV1alpha2SchemaRegistrySecretsToPConsolePartialSchemaRegistrySecrets(source.SchemaRegistry) + return &consolePartialSecretConfig +} +func v1alpha2SecretMountToConsolePartialSecretMount(source SecretMount) v3.PartialSecretMount { + var consolePartialSecretMount v3.PartialSecretMount + pString := source.Name + consolePartialSecretMount.Name = &pString + pString2 := source.SecretName + consolePartialSecretMount.SecretName = &pString2 + pString3 := source.Path + consolePartialSecretMount.Path = &pString3 + if source.SubPath != nil { + xstring := *source.SubPath + consolePartialSecretMount.SubPath = &xstring + } + if source.DefaultMode != nil { + xint32 := *source.DefaultMode + consolePartialSecretMount.DefaultMode = &xint32 + } + return consolePartialSecretMount +} diff --git a/operator/api/redpanda/v1alpha2/zz_generated.deepcopy.go b/operator/api/redpanda/v1alpha2/zz_generated.deepcopy.go index bd8c47096..b35b16233 100644 --- a/operator/api/redpanda/v1alpha2/zz_generated.deepcopy.go +++ b/operator/api/redpanda/v1alpha2/zz_generated.deepcopy.go @@ -16,9 +16,11 @@ package v1alpha2 import ( monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" "github.com/redpanda-data/redpanda-operator/operator/api/apiutil" - corev1 "k8s.io/api/core/v1" + appsv1 "k8s.io/api/apps/v1" + "k8s.io/api/core/v1" + networkingv1 "k8s.io/api/networking/v1" "k8s.io/apimachinery/pkg/api/resource" - "k8s.io/apimachinery/pkg/apis/meta/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" ) @@ -299,6 +301,71 @@ func (in *Auth) DeepCopy() *Auth { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthenticationSecrets) DeepCopyInto(out *AuthenticationSecrets) { + *out = *in + if in.JWTSigningKey != nil { + in, out := &in.JWTSigningKey, &out.JWTSigningKey + *out = new(string) + **out = **in + } + if in.OIDC != nil { + in, out := &in.OIDC, &out.OIDC + *out = new(OIDCLoginSecrets) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationSecrets. +func (in *AuthenticationSecrets) DeepCopy() *AuthenticationSecrets { + if in == nil { + return nil + } + out := new(AuthenticationSecrets) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoScaling) DeepCopyInto(out *AutoScaling) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.MinReplicas != nil { + in, out := &in.MinReplicas, &out.MinReplicas + *out = new(int32) + **out = **in + } + if in.MaxReplicas != nil { + in, out := &in.MaxReplicas, &out.MaxReplicas + *out = new(int32) + **out = **in + } + if in.TargetCPUUtilizationPercentage != nil { + in, out := &in.TargetCPUUtilizationPercentage, &out.TargetCPUUtilizationPercentage + *out = new(int32) + **out = **in + } + if in.TargetMemoryUtilizationPercentage != nil { + in, out := &in.TargetMemoryUtilizationPercentage, &out.TargetMemoryUtilizationPercentage + *out = new(int32) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaling. +func (in *AutoScaling) DeepCopy() *AutoScaling { + if in == nil { + return nil + } + out := new(AutoScaling) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BootstrapUser) DeepCopyInto(out *BootstrapUser) { *out = *in @@ -309,7 +376,7 @@ func (in *BootstrapUser) DeepCopyInto(out *BootstrapUser) { } if in.SecretKeyRef != nil { in, out := &in.SecretKeyRef, &out.SecretKeyRef - *out = new(corev1.SecretKeySelector) + *out = new(v1.SecretKeySelector) (*in).DeepCopyInto(*out) } if in.Mechanism != nil { @@ -394,7 +461,7 @@ func (in *Certificate) DeepCopyInto(out *Certificate) { } if in.Duration != nil { in, out := &in.Duration, &out.Duration - *out = new(v1.Duration) + *out = new(metav1.Duration) **out = **in } if in.CAEnabled != nil { @@ -429,7 +496,7 @@ func (in *ChartRef) DeepCopyInto(out *ChartRef) { *out = *in if in.Timeout != nil { in, out := &in.Timeout, &out.Timeout - *out = new(v1.Duration) + *out = new(metav1.Duration) **out = **in } if in.Upgrade != nil { @@ -649,12 +716,12 @@ func (in *ConfigWatcher) DeepCopyInto(out *ConfigWatcher) { } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext - *out = new(corev1.SecurityContext) + *out = new(v1.SecurityContext) (*in).DeepCopyInto(*out) } } @@ -718,7 +785,7 @@ func (in *Configurator) DeepCopyInto(out *Configurator) { } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } if in.AdditionalCLIArgs != nil { @@ -807,6 +874,33 @@ func (in *ConnectorsCreateObj) DeepCopy() *ConnectorsCreateObj { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Console) DeepCopyInto(out *Console) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + out.Status = in.Status +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Console. +func (in *Console) DeepCopy() *Console { + if in == nil { + return nil + } + out := new(Console) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Console) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ConsoleCreateObj) DeepCopyInto(out *ConsoleCreateObj) { *out = *in @@ -827,6 +921,276 @@ func (in *ConsoleCreateObj) DeepCopy() *ConsoleCreateObj { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsoleList) DeepCopyInto(out *ConsoleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Console, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleList. +func (in *ConsoleList) DeepCopy() *ConsoleList { + if in == nil { + return nil + } + out := new(ConsoleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConsoleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsoleSpec) DeepCopyInto(out *ConsoleSpec) { + *out = *in + in.ConsoleValues.DeepCopyInto(&out.ConsoleValues) + if in.ClusterSource != nil { + in, out := &in.ClusterSource, &out.ClusterSource + *out = new(ClusterSource) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleSpec. +func (in *ConsoleSpec) DeepCopy() *ConsoleSpec { + if in == nil { + return nil + } + out := new(ConsoleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsoleStatus) DeepCopyInto(out *ConsoleStatus) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleStatus. +func (in *ConsoleStatus) DeepCopy() *ConsoleStatus { + if in == nil { + return nil + } + out := new(ConsoleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsoleValues) DeepCopyInto(out *ConsoleValues) { + *out = *in + if in.ReplicaCount != nil { + in, out := &in.ReplicaCount, &out.ReplicaCount + *out = new(int32) + **out = **in + } + if in.Image != nil { + in, out := &in.Image, &out.Image + *out = new(Image) + (*in).DeepCopyInto(*out) + } + if in.ImagePullSecrets != nil { + in, out := &in.ImagePullSecrets, &out.ImagePullSecrets + *out = make([]v1.LocalObjectReference, len(*in)) + copy(*out, *in) + } + if in.AutomountServiceAccountToken != nil { + in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken + *out = new(bool) + **out = **in + } + if in.ServiceAccount != nil { + in, out := &in.ServiceAccount, &out.ServiceAccount + *out = new(ServiceAccountConfig) + (*in).DeepCopyInto(*out) + } + if in.CommonLabels != nil { + in, out := &in.CommonLabels, &out.CommonLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.PodAnnotations != nil { + in, out := &in.PodAnnotations, &out.PodAnnotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.PodLabels != nil { + in, out := &in.PodLabels, &out.PodLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.PodSecurityContext != nil { + in, out := &in.PodSecurityContext, &out.PodSecurityContext + *out = new(v1.PodSecurityContext) + (*in).DeepCopyInto(*out) + } + if in.SecurityContext != nil { + in, out := &in.SecurityContext, &out.SecurityContext + *out = new(v1.SecurityContext) + (*in).DeepCopyInto(*out) + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = new(ServiceConfig) + (*in).DeepCopyInto(*out) + } + if in.Ingress != nil { + in, out := &in.Ingress, &out.Ingress + *out = new(IngressConfig) + (*in).DeepCopyInto(*out) + } + if in.Resources != nil { + in, out := &in.Resources, &out.Resources + *out = new(v1.ResourceRequirements) + (*in).DeepCopyInto(*out) + } + if in.Autoscaling != nil { + in, out := &in.Autoscaling, &out.Autoscaling + *out = new(AutoScaling) + (*in).DeepCopyInto(*out) + } + if in.NodeSelector != nil { + in, out := &in.NodeSelector, &out.NodeSelector + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Tolerations != nil { + in, out := &in.Tolerations, &out.Tolerations + *out = make([]v1.Toleration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Affinity != nil { + in, out := &in.Affinity, &out.Affinity + *out = new(v1.Affinity) + (*in).DeepCopyInto(*out) + } + if in.TopologySpreadConstraints != nil { + in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints + *out = make([]v1.TopologySpreadConstraint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PriorityClassName != nil { + in, out := &in.PriorityClassName, &out.PriorityClassName + *out = new(string) + **out = **in + } + if in.Config != nil { + in, out := &in.Config, &out.Config + *out = new(runtime.RawExtension) + (*in).DeepCopyInto(*out) + } + if in.ExtraEnv != nil { + in, out := &in.ExtraEnv, &out.ExtraEnv + *out = make([]v1.EnvVar, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExtraEnvFrom != nil { + in, out := &in.ExtraEnvFrom, &out.ExtraEnvFrom + *out = make([]v1.EnvFromSource, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExtraVolumes != nil { + in, out := &in.ExtraVolumes, &out.ExtraVolumes + *out = make([]v1.Volume, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExtraVolumeMounts != nil { + in, out := &in.ExtraVolumeMounts, &out.ExtraVolumeMounts + *out = make([]v1.VolumeMount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExtraContainers != nil { + in, out := &in.ExtraContainers, &out.ExtraContainers + *out = make([]v1.Container, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecretMounts != nil { + in, out := &in.SecretMounts, &out.SecretMounts + *out = make([]SecretMount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + in.Secret.DeepCopyInto(&out.Secret) + if in.LicenseSecretRef != nil { + in, out := &in.LicenseSecretRef, &out.LicenseSecretRef + *out = new(v1.SecretKeySelector) + (*in).DeepCopyInto(*out) + } + if in.LivenessProbe != nil { + in, out := &in.LivenessProbe, &out.LivenessProbe + *out = new(v1.Probe) + (*in).DeepCopyInto(*out) + } + if in.ReadinessProbe != nil { + in, out := &in.ReadinessProbe, &out.ReadinessProbe + *out = new(v1.Probe) + (*in).DeepCopyInto(*out) + } + if in.Deployment != nil { + in, out := &in.Deployment, &out.Deployment + *out = new(DeploymentConfig) + (*in).DeepCopyInto(*out) + } + if in.Strategy != nil { + in, out := &in.Strategy, &out.Strategy + *out = new(appsv1.DeploymentStrategy) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleValues. +func (in *ConsoleValues) DeepCopy() *ConsoleValues { + if in == nil { + return nil + } + out := new(ConsoleValues) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ContainerResources) DeepCopyInto(out *ContainerResources) { *out = *in @@ -877,6 +1241,31 @@ func (in *CredentialSecretRef) DeepCopy() *CredentialSecretRef { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig) { + *out = *in + if in.Command != nil { + in, out := &in.Command, &out.Command + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.ExtraArgs != nil { + in, out := &in.ExtraArgs, &out.ExtraArgs + *out = make([]string, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfig. +func (in *DeploymentConfig) DeepCopy() *DeploymentConfig { + if in == nil { + return nil + } + out := new(DeploymentConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EmbeddedNodePoolSpec) DeepCopyInto(out *EmbeddedNodePoolSpec) { *out = *in @@ -1167,7 +1556,7 @@ func (in *FsValidator) DeepCopyInto(out *FsValidator) { } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } } @@ -1202,19 +1591,142 @@ func (in *HTTP) DeepCopyInto(out *HTTP) { (*out)[key] = outVal } } - if in.KafkaEndpoint != nil { - in, out := &in.KafkaEndpoint, &out.KafkaEndpoint - *out = new(string) + if in.KafkaEndpoint != nil { + in, out := &in.KafkaEndpoint, &out.KafkaEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTP. +func (in *HTTP) DeepCopy() *HTTP { + if in == nil { + return nil + } + out := new(HTTP) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Image) DeepCopyInto(out *Image) { + *out = *in + if in.Registry != nil { + in, out := &in.Registry, &out.Registry + *out = new(string) + **out = **in + } + if in.Repository != nil { + in, out := &in.Repository, &out.Repository + *out = new(string) + **out = **in + } + if in.PullPolicy != nil { + in, out := &in.PullPolicy, &out.PullPolicy + *out = new(v1.PullPolicy) + **out = **in + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image. +func (in *Image) DeepCopy() *Image { + if in == nil { + return nil + } + out := new(Image) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IngressConfig) DeepCopyInto(out *IngressConfig) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.ClassName != nil { + in, out := &in.ClassName, &out.ClassName + *out = new(string) + **out = **in + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Hosts != nil { + in, out := &in.Hosts, &out.Hosts + *out = make([]IngressHost, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLS != nil { + in, out := &in.TLS, &out.TLS + *out = make([]networkingv1.IngressTLS, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressConfig. +func (in *IngressConfig) DeepCopy() *IngressConfig { + if in == nil { + return nil + } + out := new(IngressConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IngressHost) DeepCopyInto(out *IngressHost) { + *out = *in + if in.Paths != nil { + in, out := &in.Paths, &out.Paths + *out = make([]IngressPath, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressHost. +func (in *IngressHost) DeepCopy() *IngressHost { + if in == nil { + return nil + } + out := new(IngressHost) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IngressPath) DeepCopyInto(out *IngressPath) { + *out = *in + if in.PathType != nil { + in, out := &in.PathType, &out.PathType + *out = new(networkingv1.PathType) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTP. -func (in *HTTP) DeepCopy() *HTTP { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPath. +func (in *IngressPath) DeepCopy() *IngressPath { if in == nil { return nil } - out := new(HTTP) + out := new(IngressPath) in.DeepCopyInto(out) return out } @@ -1449,6 +1961,51 @@ func (in *KafkaSASLOAuthBearer) DeepCopy() *KafkaSASLOAuthBearer { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaSecrets) DeepCopyInto(out *KafkaSecrets) { + *out = *in + if in.SASLPassword != nil { + in, out := &in.SASLPassword, &out.SASLPassword + *out = new(string) + **out = **in + } + if in.AWSMSKIAMSecretKey != nil { + in, out := &in.AWSMSKIAMSecretKey, &out.AWSMSKIAMSecretKey + *out = new(string) + **out = **in + } + if in.TLSCA != nil { + in, out := &in.TLSCA, &out.TLSCA + *out = new(string) + **out = **in + } + if in.TLSCert != nil { + in, out := &in.TLSCert, &out.TLSCert + *out = new(string) + **out = **in + } + if in.TLSKey != nil { + in, out := &in.TLSKey, &out.TLSKey + *out = new(string) + **out = **in + } + if in.TLSPassphrase != nil { + in, out := &in.TLSPassphrase, &out.TLSPassphrase + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaSecrets. +func (in *KafkaSecrets) DeepCopy() *KafkaSecrets { + if in == nil { + return nil + } + out := new(KafkaSecrets) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LicenseSecretRef) DeepCopyInto(out *LicenseSecretRef) { *out = *in @@ -1879,7 +2436,7 @@ func (in *NodePoolStatus) DeepCopyInto(out *NodePoolStatus) { out.EmbeddedNodePoolStatus = in.EmbeddedNodePoolStatus if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions - *out = make([]v1.Condition, len(*in)) + *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -1896,6 +2453,26 @@ func (in *NodePoolStatus) DeepCopy() *NodePoolStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OIDCLoginSecrets) DeepCopyInto(out *OIDCLoginSecrets) { + *out = *in + if in.ClientSecret != nil { + in, out := &in.ClientSecret, &out.ClientSecret + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCLoginSecrets. +func (in *OIDCLoginSecrets) DeepCopy() *OIDCLoginSecrets { + if in == nil { + return nil + } + out := new(OIDCLoginSecrets) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Password) DeepCopyInto(out *Password) { *out = *in @@ -1921,7 +2498,7 @@ func (in *PasswordSource) DeepCopyInto(out *PasswordSource) { *out = *in if in.SecretKeyRef != nil { in, out := &in.SecretKeyRef, &out.SecretKeyRef - *out = new(corev1.SecretKeySelector) + *out = new(v1.SecretKeySelector) (*in).DeepCopyInto(*out) } } @@ -2159,7 +2736,7 @@ func (in *PostInstallJob) DeepCopyInto(out *PostInstallJob) { *out = *in if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } if in.Annotations != nil { @@ -2183,12 +2760,12 @@ func (in *PostInstallJob) DeepCopyInto(out *PostInstallJob) { } if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity - *out = new(corev1.Affinity) + *out = new(v1.Affinity) (*in).DeepCopyInto(*out) } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext - *out = new(corev1.SecurityContext) + *out = new(v1.SecurityContext) (*in).DeepCopyInto(*out) } if in.PodTemplate != nil { @@ -2232,21 +2809,21 @@ func (in *PostUpgradeJob) DeepCopyInto(out *PostUpgradeJob) { } if in.ExtraEnv != nil { in, out := &in.ExtraEnv, &out.ExtraEnv - *out = make([]corev1.EnvVar, len(*in)) + *out = make([]v1.EnvVar, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.ExtraEnvFrom != nil { in, out := &in.ExtraEnvFrom, &out.ExtraEnvFrom - *out = make([]corev1.EnvFromSource, len(*in)) + *out = make([]v1.EnvFromSource, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } if in.BackoffLimit != nil { @@ -2256,12 +2833,12 @@ func (in *PostUpgradeJob) DeepCopyInto(out *PostUpgradeJob) { } if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity - *out = new(corev1.Affinity) + *out = new(v1.Affinity) (*in).DeepCopyInto(*out) } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext - *out = new(corev1.SecurityContext) + *out = new(v1.SecurityContext) (*in).DeepCopyInto(*out) } if in.PodTemplate != nil { @@ -2348,12 +2925,12 @@ func (in *RPControllers) DeepCopyInto(out *RPControllers) { } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext - *out = new(corev1.SecurityContext) + *out = new(v1.SecurityContext) (*in).DeepCopyInto(*out) } if in.Image != nil { @@ -2490,6 +3067,41 @@ func (in *Redpanda) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedpandaAdminAPISecrets) DeepCopyInto(out *RedpandaAdminAPISecrets) { + *out = *in + if in.Password != nil { + in, out := &in.Password, &out.Password + *out = new(string) + **out = **in + } + if in.TLSCA != nil { + in, out := &in.TLSCA, &out.TLSCA + *out = new(string) + **out = **in + } + if in.TLSCert != nil { + in, out := &in.TLSCert, &out.TLSCert + *out = new(string) + **out = **in + } + if in.TLSKey != nil { + in, out := &in.TLSKey, &out.TLSKey + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedpandaAdminAPISecrets. +func (in *RedpandaAdminAPISecrets) DeepCopy() *RedpandaAdminAPISecrets { + if in == nil { + return nil + } + out := new(RedpandaAdminAPISecrets) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RedpandaClusterSpec) DeepCopyInto(out *RedpandaClusterSpec) { *out = *in @@ -2524,7 +3136,7 @@ func (in *RedpandaClusterSpec) DeepCopyInto(out *RedpandaClusterSpec) { } if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations - *out = make([]corev1.Toleration, len(*in)) + *out = make([]v1.Toleration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2536,7 +3148,7 @@ func (in *RedpandaClusterSpec) DeepCopyInto(out *RedpandaClusterSpec) { } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets - *out = make([]corev1.LocalObjectReference, len(*in)) + *out = make([]v1.LocalObjectReference, len(*in)) copy(*out, *in) } if in.LicenseKey != nil { @@ -2661,7 +3273,7 @@ func (in *RedpandaClusterSpec) DeepCopyInto(out *RedpandaClusterSpec) { } if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity - *out = new(corev1.Affinity) + *out = new(v1.Affinity) (*in).DeepCopyInto(*out) } if in.Tests != nil { @@ -2728,7 +3340,7 @@ func (in *RedpandaConnectors) DeepCopyInto(out *RedpandaConnectors) { } if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations - *out = make([]corev1.Toleration, len(*in)) + *out = make([]v1.Toleration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2740,7 +3352,7 @@ func (in *RedpandaConnectors) DeepCopyInto(out *RedpandaConnectors) { } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets - *out = make([]corev1.LocalObjectReference, len(*in)) + *out = make([]v1.LocalObjectReference, len(*in)) copy(*out, *in) } if in.Auth != nil { @@ -3025,7 +3637,7 @@ func (in *RedpandaConsole) DeepCopyInto(out *RedpandaConsole) { } if in.LicenseSecretRef != nil { in, out := &in.LicenseSecretRef, &out.LicenseSecretRef - *out = new(corev1.SecretKeySelector) + *out = new(v1.SecretKeySelector) (*in).DeepCopyInto(*out) } if in.AutomountServiceAccountToken != nil { @@ -3186,6 +3798,26 @@ func (in *RedpandaMemory) DeepCopy() *RedpandaMemory { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedpandaSecrets) DeepCopyInto(out *RedpandaSecrets) { + *out = *in + if in.AdminAPI != nil { + in, out := &in.AdminAPI, &out.AdminAPI + *out = new(RedpandaAdminAPISecrets) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedpandaSecrets. +func (in *RedpandaSecrets) DeepCopy() *RedpandaSecrets { + if in == nil { + return nil + } + out := new(RedpandaSecrets) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RedpandaSpec) DeepCopyInto(out *RedpandaSpec) { *out = *in @@ -3217,7 +3849,7 @@ func (in *RedpandaStatus) DeepCopyInto(out *RedpandaStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions - *out = make([]v1.Condition, len(*in)) + *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -3280,10 +3912,10 @@ func (in *Resources) DeepCopyInto(out *Resources) { *out = *in if in.Limits != nil { in, out := &in.Limits, &out.Limits - *out = new(map[corev1.ResourceName]resource.Quantity) + *out = new(map[v1.ResourceName]resource.Quantity) if **in != nil { in, out := *in, *out - *out = make(map[corev1.ResourceName]resource.Quantity, len(*in)) + *out = make(map[v1.ResourceName]resource.Quantity, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } @@ -3291,10 +3923,10 @@ func (in *Resources) DeepCopyInto(out *Resources) { } if in.Requests != nil { in, out := &in.Requests, &out.Requests - *out = new(map[corev1.ResourceName]resource.Quantity) + *out = new(map[v1.ResourceName]resource.Quantity) if **in != nil { in, out := *in, *out - *out = make(map[corev1.ResourceName]resource.Quantity, len(*in)) + *out = make(map[v1.ResourceName]resource.Quantity, len(*in)) for key, val := range *in { (*out)[key] = val.DeepCopy() } @@ -3438,7 +4070,7 @@ func (in *RoleStatus) DeepCopyInto(out *RoleStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions - *out = make([]v1.Condition, len(*in)) + *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -3625,6 +4257,46 @@ func (in *SchemaRegistrySASL) DeepCopy() *SchemaRegistrySASL { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SchemaRegistrySecrets) DeepCopyInto(out *SchemaRegistrySecrets) { + *out = *in + if in.BearerToken != nil { + in, out := &in.BearerToken, &out.BearerToken + *out = new(string) + **out = **in + } + if in.Password != nil { + in, out := &in.Password, &out.Password + *out = new(string) + **out = **in + } + if in.TLSCA != nil { + in, out := &in.TLSCA, &out.TLSCA + *out = new(string) + **out = **in + } + if in.TLSCert != nil { + in, out := &in.TLSCert, &out.TLSCert + *out = new(string) + **out = **in + } + if in.TLSKey != nil { + in, out := &in.TLSKey, &out.TLSKey + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaRegistrySecrets. +func (in *SchemaRegistrySecrets) DeepCopy() *SchemaRegistrySecrets { + if in == nil { + return nil + } + out := new(SchemaRegistrySecrets) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SchemaRegistrySpec) DeepCopyInto(out *SchemaRegistrySpec) { *out = *in @@ -3695,7 +4367,7 @@ func (in *SchemaStatus) DeepCopyInto(out *SchemaStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions - *out = make([]v1.Condition, len(*in)) + *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -3717,6 +4389,56 @@ func (in *SchemaStatus) DeepCopy() *SchemaStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretConfig) DeepCopyInto(out *SecretConfig) { + *out = *in + if in.Create != nil { + in, out := &in.Create, &out.Create + *out = new(bool) + **out = **in + } + if in.Kafka != nil { + in, out := &in.Kafka, &out.Kafka + *out = new(KafkaSecrets) + (*in).DeepCopyInto(*out) + } + if in.Authentication != nil { + in, out := &in.Authentication, &out.Authentication + *out = new(AuthenticationSecrets) + (*in).DeepCopyInto(*out) + } + if in.License != nil { + in, out := &in.License, &out.License + *out = new(string) + **out = **in + } + if in.Redpanda != nil { + in, out := &in.Redpanda, &out.Redpanda + *out = new(RedpandaSecrets) + (*in).DeepCopyInto(*out) + } + if in.Serde != nil { + in, out := &in.Serde, &out.Serde + *out = new(SerdeSecrets) + (*in).DeepCopyInto(*out) + } + if in.SchemaRegistry != nil { + in, out := &in.SchemaRegistry, &out.SchemaRegistry + *out = new(SchemaRegistrySecrets) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretConfig. +func (in *SecretConfig) DeepCopy() *SecretConfig { + if in == nil { + return nil + } + out := new(SecretConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SecretKeyRef) DeepCopyInto(out *SecretKeyRef) { *out = *in @@ -3732,6 +4454,31 @@ func (in *SecretKeyRef) DeepCopy() *SecretKeyRef { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretMount) DeepCopyInto(out *SecretMount) { + *out = *in + if in.SubPath != nil { + in, out := &in.SubPath, &out.SubPath + *out = new(string) + **out = **in + } + if in.DefaultMode != nil { + in, out := &in.DefaultMode, &out.DefaultMode + *out = new(int32) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretMount. +func (in *SecretMount) DeepCopy() *SecretMount { + if in == nil { + return nil + } + out := new(SecretMount) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SecretRef) DeepCopyInto(out *SecretRef) { *out = *in @@ -3782,6 +4529,26 @@ func (in *SecretWithConfigField) DeepCopy() *SecretWithConfigField { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SerdeSecrets) DeepCopyInto(out *SerdeSecrets) { + *out = *in + if in.ProtobufGitBasicAuthPassword != nil { + in, out := &in.ProtobufGitBasicAuthPassword, &out.ProtobufGitBasicAuthPassword + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerdeSecrets. +func (in *SerdeSecrets) DeepCopy() *SerdeSecrets { + if in == nil { + return nil + } + out := new(SerdeSecrets) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Service) DeepCopyInto(out *Service) { *out = *in @@ -3844,6 +4611,80 @@ func (in *ServiceAccount) DeepCopy() *ServiceAccount { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceAccountConfig) DeepCopyInto(out *ServiceAccountConfig) { + *out = *in + if in.AutomountServiceAccountToken != nil { + in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken + *out = new(bool) + **out = **in + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountConfig. +func (in *ServiceAccountConfig) DeepCopy() *ServiceAccountConfig { + if in == nil { + return nil + } + out := new(ServiceAccountConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceConfig) DeepCopyInto(out *ServiceConfig) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(v1.ServiceType) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int32) + **out = **in + } + if in.NodePort != nil { + in, out := &in.NodePort, &out.NodePort + *out = new(int32) + **out = **in + } + if in.TargetPort != nil { + in, out := &in.TargetPort, &out.TargetPort + *out = new(int32) + **out = **in + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConfig. +func (in *ServiceConfig) DeepCopy() *ServiceConfig { + if in == nil { + return nil + } + out := new(ServiceConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServiceInternal) DeepCopyInto(out *ServiceInternal) { *out = *in @@ -3881,7 +4722,7 @@ func (in *SetDataDirOwnership) DeepCopyInto(out *SetDataDirOwnership) { } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } } @@ -3906,7 +4747,7 @@ func (in *SetTieredStorageCacheDirOwnership) DeepCopyInto(out *SetTieredStorageC } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } } @@ -4085,7 +4926,7 @@ func (in *ShadowLinkStatus) DeepCopyInto(out *ShadowLinkStatus) { } if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions - *out = make([]v1.Condition, len(*in)) + *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4165,12 +5006,12 @@ func (in *SideCarObj) DeepCopyInto(out *SideCarObj) { *out = *in if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext - *out = new(corev1.SecurityContext) + *out = new(v1.SecurityContext) (*in).DeepCopyInto(*out) } } @@ -4200,12 +5041,12 @@ func (in *SideCars) DeepCopyInto(out *SideCars) { } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext - *out = new(corev1.SecurityContext) + *out = new(v1.SecurityContext) (*in).DeepCopyInto(*out) } if in.Args != nil { @@ -4346,7 +5187,7 @@ func (in *Statefulset) DeepCopyInto(out *Statefulset) { } if in.PodAffinity != nil { in, out := &in.PodAffinity, &out.PodAffinity - *out = new(corev1.PodAffinity) + *out = new(v1.PodAffinity) (*in).DeepCopyInto(*out) } if in.PodAntiAffinity != nil { @@ -4371,7 +5212,7 @@ func (in *Statefulset) DeepCopyInto(out *Statefulset) { } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext - *out = new(corev1.SecurityContext) + *out = new(v1.SecurityContext) (*in).DeepCopyInto(*out) } if in.SideCars != nil { @@ -4391,7 +5232,7 @@ func (in *Statefulset) DeepCopyInto(out *Statefulset) { } if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations - *out = make([]corev1.Toleration, len(*in)) + *out = make([]v1.Toleration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4845,7 +5686,7 @@ func (in *TopicSpec) DeepCopyInto(out *TopicSpec) { } if in.SynchronizationInterval != nil { in, out := &in.SynchronizationInterval, &out.SynchronizationInterval - *out = new(v1.Duration) + *out = new(metav1.Duration) **out = **in } } @@ -4865,7 +5706,7 @@ func (in *TopicStatus) DeepCopyInto(out *TopicStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions - *out = make([]v1.Condition, len(*in)) + *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -4924,12 +5765,12 @@ func (in *TrustStore) DeepCopyInto(out *TrustStore) { *out = *in if in.ConfigMapKeyRef != nil { in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef - *out = new(corev1.ConfigMapKeySelector) + *out = new(v1.ConfigMapKeySelector) (*in).DeepCopyInto(*out) } if in.SecretKeyRef != nil { in, out := &in.SecretKeyRef, &out.SecretKeyRef - *out = new(corev1.SecretKeySelector) + *out = new(v1.SecretKeySelector) (*in).DeepCopyInto(*out) } } @@ -4954,7 +5795,7 @@ func (in *Tuning) DeepCopyInto(out *Tuning) { } if in.Resources != nil { in, out := &in.Resources, &out.Resources - *out = new(corev1.ResourceRequirements) + *out = new(v1.ResourceRequirements) (*in).DeepCopyInto(*out) } if in.BallastFilePath != nil { @@ -5196,7 +6037,7 @@ func (in *UserStatus) DeepCopyInto(out *UserStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions - *out = make([]v1.Condition, len(*in)) + *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } diff --git a/operator/api/redpanda/v1alpha2/zz_generated.register.go b/operator/api/redpanda/v1alpha2/zz_generated.register.go index 60fda613f..b268fc8e8 100644 --- a/operator/api/redpanda/v1alpha2/zz_generated.register.go +++ b/operator/api/redpanda/v1alpha2/zz_generated.register.go @@ -54,6 +54,8 @@ func init() { // Adds the list of known types to Scheme. func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, + &Console{}, + &ConsoleList{}, &NodePool{}, &NodePoolList{}, &Redpanda{}, diff --git a/operator/chart/deployment.go b/operator/chart/deployment.go index c414ffcfd..be22ac464 100644 --- a/operator/chart/deployment.go +++ b/operator/chart/deployment.go @@ -20,6 +20,7 @@ import ( "k8s.io/utils/ptr" "github.com/redpanda-data/redpanda-operator/gotohelm/helmette" + "github.com/redpanda-data/redpanda-operator/pkg/chartutil" ) const ( @@ -310,47 +311,37 @@ func operatorPodVolumesMounts(dot *helmette.Dot) []corev1.VolumeMount { func operatorArguments(dot *helmette.Dot) []string { values := helmette.Unwrap[Values](dot.Values) - args := []string{ - "--health-probe-bind-address=:8081", - "--metrics-bind-address=:8443", - "--leader-elect", - fmt.Sprintf("--log-level=%s", values.LogLevel), - fmt.Sprintf("--webhook-enabled=%t", values.Webhook.Enabled), + defaults := map[string]string{ + "--health-probe-bind-address": ":8081", + "--metrics-bind-address": ":8443", + "--leader-elect": "", + "--enable-console": "true", + "--log-level": values.LogLevel, + "--webhook-enabled": fmt.Sprintf("%t", values.Webhook.Enabled), + // If --configurator-base-image and --configurator-tag haven't been + // specified, set them to the image specified in this chart. This ensures + // that the operator deploys the correct version of itself when it's + // deploying itself for other purposes, like the sidecar, initcontainer, or + // configurator. + "--configurator-tag": containerTag(dot), + "--configurator-base-image": values.Image.Repository, + "--enable-vectorized-controllers": fmt.Sprintf("%t", values.VectorizedControllers.Enabled), } if values.Webhook.Enabled { - args = append(args, - fmt.Sprintf("--webhook-cert-path=%s", webhookCertificatePath), - ) + defaults["--webhook-cert-path"] = webhookCertificatePath } - if values.VectorizedControllers.Enabled { - args = append(args, "--enable-vectorized-controllers") - } + userProvided := chartutil.ParseFlags(values.AdditionalCmdFlags) - hasConfiguratorTag := false - hasConfiguratorImage := false - for _, flag := range values.AdditionalCmdFlags { - if helmette.Contains("--configurator-tag", flag) { - hasConfiguratorTag = true - } - if helmette.Contains("--configurator-base-image", flag) { - hasConfiguratorImage = true + var flags []string + for key, value := range helmette.SortedMap(helmette.Merge(defaults, userProvided)) { + if value == "" { + flags = append(flags, key) + } else { + flags = append(flags, fmt.Sprintf("%s=%s", key, value)) } } - // If --configurator-base-image and --configurator-tag haven't been - // specified, set them to the image specified in this chart. This ensures - // that the operator deploys the correct version of itself when it's - // deploying itself for other purposes, like the sidecar, initcontainer, or - // configurator. - if !hasConfiguratorTag { - args = append(args, fmt.Sprintf("--configurator-tag=%s", containerTag(dot))) - } - - if !hasConfiguratorImage { - args = append(args, fmt.Sprintf("--configurator-base-image=%s", values.Image.Repository)) - } - - return append(args, values.AdditionalCmdFlags...) + return flags } diff --git a/operator/chart/files/rbac/console.ClusterRole.yaml b/operator/chart/files/rbac/console.ClusterRole.yaml new file mode 100644 index 000000000..59d954ee2 --- /dev/null +++ b/operator/chart/files/rbac/console.ClusterRole.yaml @@ -0,0 +1,77 @@ +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: console +rules: + - apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update + - apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch diff --git a/operator/chart/rbac.go b/operator/chart/rbac.go index 173a5051d..b1447ea9a 100644 --- a/operator/chart/rbac.go +++ b/operator/chart/rbac.go @@ -34,6 +34,7 @@ func rbacBundles(dot *helmette.Dot) []RBACBundle { Enabled: true, Subject: ServiceAccountName(dot), RuleFiles: map[string]bool{ + "files/rbac/console.ClusterRole.yaml": true, "files/rbac/leader-election.ClusterRole.yaml": true, "files/rbac/leader-election.Role.yaml": true, "files/rbac/pvcunbinder.ClusterRole.yaml": true, @@ -111,6 +112,7 @@ func ClusterRoles(dot *helmette.Dot) []rbacv1.ClusterRole { continue } + // TODO might be nice to do a bit of de-duplication of rules. var rules []rbacv1.PolicyRule for file, enabled := range helmette.SortedMap(bundle.RuleFiles) { if !enabled { diff --git a/operator/chart/templates/_chartutil.chartutil.tpl b/operator/chart/templates/_chartutil.chartutil.tpl new file mode 100644 index 000000000..55a5efaf7 --- /dev/null +++ b/operator/chart/templates/_chartutil.chartutil.tpl @@ -0,0 +1,39 @@ +{{- /* GENERATED FILE DO NOT EDIT */ -}} +{{- /* Transpiled by gotohelm from "github.com/redpanda-data/redpanda-operator/pkg/chartutil/chartutil.go" */ -}} + +{{- define "chartutil.ParseFlags" -}} +{{- $args := (index .a 0) -}} +{{- range $_ := (list 1) -}} +{{- $_is_returning := false -}} +{{- $parsed := (dict) -}} +{{- $i := -1 -}} +{{- range $_, $_ := $args -}} +{{- $i = ((add $i (1 | int)) | int) -}} +{{- if (ge $i ((get (fromJson (include "_shims.len" (dict "a" (list $args)))) "r") | int)) -}} +{{- break -}} +{{- end -}} +{{- if (not (hasPrefix "-" (index $args $i))) -}} +{{- continue -}} +{{- end -}} +{{- $flag := (index $args $i) -}} +{{- $spl := (mustRegexSplit " |=" $flag (2 | int)) -}} +{{- if (eq ((get (fromJson (include "_shims.len" (dict "a" (list $spl)))) "r") | int) (2 | int)) -}} +{{- $_ := (set $parsed (index $spl (0 | int)) (index $spl (1 | int))) -}} +{{- continue -}} +{{- end -}} +{{- if (and (lt ((add $i (1 | int)) | int) ((get (fromJson (include "_shims.len" (dict "a" (list $args)))) "r") | int)) (not (hasPrefix "-" (index $args ((add $i (1 | int)) | int))))) -}} +{{- $_ := (set $parsed $flag (index $args ((add $i (1 | int)) | int))) -}} +{{- $i = ((add $i (1 | int)) | int) -}} +{{- continue -}} +{{- end -}} +{{- $_ := (set $parsed $flag "") -}} +{{- end -}} +{{- if $_is_returning -}} +{{- break -}} +{{- end -}} +{{- $_is_returning = true -}} +{{- (dict "r" $parsed) | toJson -}} +{{- break -}} +{{- end -}} +{{- end -}} + diff --git a/operator/chart/templates/_deployment.go.tpl b/operator/chart/templates/_deployment.go.tpl index 172db7822..7adfcee62 100644 --- a/operator/chart/templates/_deployment.go.tpl +++ b/operator/chart/templates/_deployment.go.tpl @@ -149,34 +149,24 @@ {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} {{- $values := $dot.Values.AsMap -}} -{{- $args := (list "--health-probe-bind-address=:8081" "--metrics-bind-address=:8443" "--leader-elect" (printf "--log-level=%s" $values.logLevel) (printf "--webhook-enabled=%t" $values.webhook.enabled)) -}} +{{- $defaults := (dict "--health-probe-bind-address" ":8081" "--metrics-bind-address" ":8443" "--leader-elect" "" "--enable-console" "true" "--log-level" $values.logLevel "--webhook-enabled" (printf "%t" $values.webhook.enabled) "--configurator-tag" (get (fromJson (include "operator.containerTag" (dict "a" (list $dot)))) "r") "--configurator-base-image" $values.image.repository "--enable-vectorized-controllers" (printf "%t" $values.vectorizedControllers.enabled)) -}} {{- if $values.webhook.enabled -}} -{{- $args = (concat (default (list) $args) (list (printf "--webhook-cert-path=%s" "/tmp/k8s-webhook-server/serving-certs"))) -}} +{{- $_ := (set $defaults "--webhook-cert-path" "/tmp/k8s-webhook-server/serving-certs") -}} {{- end -}} -{{- if $values.vectorizedControllers.enabled -}} -{{- $args = (concat (default (list) $args) (list "--enable-vectorized-controllers")) -}} -{{- end -}} -{{- $hasConfiguratorTag := false -}} -{{- $hasConfiguratorImage := false -}} -{{- range $_, $flag := $values.additionalCmdFlags -}} -{{- if (contains "--configurator-tag" $flag) -}} -{{- $hasConfiguratorTag = true -}} -{{- end -}} -{{- if (contains "--configurator-base-image" $flag) -}} -{{- $hasConfiguratorImage = true -}} +{{- $userProvided := (get (fromJson (include "chartutil.ParseFlags" (dict "a" (list $values.additionalCmdFlags)))) "r") -}} +{{- $flags := (coalesce nil) -}} +{{- range $key, $value := (merge (dict) $defaults $userProvided) -}} +{{- if (eq $value "") -}} +{{- $flags = (concat (default (list) $flags) (list $key)) -}} +{{- else -}} +{{- $flags = (concat (default (list) $flags) (list (printf "%s=%s" $key $value))) -}} {{- end -}} {{- end -}} {{- if $_is_returning -}} {{- break -}} {{- end -}} -{{- if (not $hasConfiguratorTag) -}} -{{- $args = (concat (default (list) $args) (list (printf "--configurator-tag=%s" (get (fromJson (include "operator.containerTag" (dict "a" (list $dot)))) "r")))) -}} -{{- end -}} -{{- if (not $hasConfiguratorImage) -}} -{{- $args = (concat (default (list) $args) (list (printf "--configurator-base-image=%s" $values.image.repository))) -}} -{{- end -}} {{- $_is_returning = true -}} -{{- (dict "r" (concat (default (list) $args) (default (list) $values.additionalCmdFlags))) | toJson -}} +{{- (dict "r" $flags) | toJson -}} {{- break -}} {{- end -}} {{- end -}} diff --git a/operator/chart/templates/_rbac.go.tpl b/operator/chart/templates/_rbac.go.tpl index 18aee2189..ad07544f9 100644 --- a/operator/chart/templates/_rbac.go.tpl +++ b/operator/chart/templates/_rbac.go.tpl @@ -7,7 +7,7 @@ {{- $_is_returning := false -}} {{- $values := $dot.Values.AsMap -}} {{- $_is_returning = true -}} -{{- (dict "r" (list (mustMergeOverwrite (dict "Enabled" false "Name" "" "Subject" "" "RuleFiles" (coalesce nil) "Annotations" (coalesce nil)) (dict "Name" (get (fromJson (include "operator.Fullname" (dict "a" (list $dot)))) "r") "Enabled" true "Subject" (get (fromJson (include "operator.ServiceAccountName" (dict "a" (list $dot)))) "r") "RuleFiles" (dict "files/rbac/leader-election.ClusterRole.yaml" true "files/rbac/leader-election.Role.yaml" true "files/rbac/pvcunbinder.ClusterRole.yaml" true "files/rbac/pvcunbinder.Role.yaml" true "files/rbac/rack-awareness.ClusterRole.yaml" true "files/rbac/rpk-debug-bundle.Role.yaml" true "files/rbac/sidecar.Role.yaml" true "files/rbac/v1-manager.ClusterRole.yaml" $values.vectorizedControllers.enabled "files/rbac/v1-manager.Role.yaml" $values.vectorizedControllers.enabled "files/rbac/v2-manager.ClusterRole.yaml" true))) (mustMergeOverwrite (dict "Enabled" false "Name" "" "Subject" "" "RuleFiles" (coalesce nil) "Annotations" (coalesce nil)) (dict "Name" (get (fromJson (include "operator.cleanForK8sWithSuffix" (dict "a" (list (get (fromJson (include "operator.Fullname" (dict "a" (list $dot)))) "r") "additional-controllers")))) "r") "Enabled" $values.rbac.createAdditionalControllerCRs "Subject" (get (fromJson (include "operator.ServiceAccountName" (dict "a" (list $dot)))) "r") "RuleFiles" (dict "files/rbac/decommission.ClusterRole.yaml" true "files/rbac/decommission.Role.yaml" true "files/rbac/node-watcher.ClusterRole.yaml" true "files/rbac/node-watcher.Role.yaml" true "files/rbac/old-decommission.ClusterRole.yaml" true "files/rbac/old-decommission.Role.yaml" true "files/rbac/pvcunbinder.ClusterRole.yaml" true "files/rbac/pvcunbinder.Role.yaml" true))) (mustMergeOverwrite (dict "Enabled" false "Name" "" "Subject" "" "RuleFiles" (coalesce nil) "Annotations" (coalesce nil)) (dict "Name" (get (fromJson (include "operator.CRDJobServiceAccountName" (dict "a" (list $dot)))) "r") "Enabled" (or $values.crds.enabled $values.crds.experimental) "Subject" (get (fromJson (include "operator.CRDJobServiceAccountName" (dict "a" (list $dot)))) "r") "Annotations" (dict "helm.sh/hook" "pre-install,pre-upgrade" "helm.sh/hook-delete-policy" "before-hook-creation,hook-succeeded,hook-failed" "helm.sh/hook-weight" "-10") "RuleFiles" (dict "files/rbac/crd-installation.ClusterRole.yaml" true))))) | toJson -}} +{{- (dict "r" (list (mustMergeOverwrite (dict "Enabled" false "Name" "" "Subject" "" "RuleFiles" (coalesce nil) "Annotations" (coalesce nil)) (dict "Name" (get (fromJson (include "operator.Fullname" (dict "a" (list $dot)))) "r") "Enabled" true "Subject" (get (fromJson (include "operator.ServiceAccountName" (dict "a" (list $dot)))) "r") "RuleFiles" (dict "files/rbac/console.ClusterRole.yaml" true "files/rbac/leader-election.ClusterRole.yaml" true "files/rbac/leader-election.Role.yaml" true "files/rbac/pvcunbinder.ClusterRole.yaml" true "files/rbac/pvcunbinder.Role.yaml" true "files/rbac/rack-awareness.ClusterRole.yaml" true "files/rbac/rpk-debug-bundle.Role.yaml" true "files/rbac/sidecar.Role.yaml" true "files/rbac/v1-manager.ClusterRole.yaml" $values.vectorizedControllers.enabled "files/rbac/v1-manager.Role.yaml" $values.vectorizedControllers.enabled "files/rbac/v2-manager.ClusterRole.yaml" true))) (mustMergeOverwrite (dict "Enabled" false "Name" "" "Subject" "" "RuleFiles" (coalesce nil) "Annotations" (coalesce nil)) (dict "Name" (get (fromJson (include "operator.cleanForK8sWithSuffix" (dict "a" (list (get (fromJson (include "operator.Fullname" (dict "a" (list $dot)))) "r") "additional-controllers")))) "r") "Enabled" $values.rbac.createAdditionalControllerCRs "Subject" (get (fromJson (include "operator.ServiceAccountName" (dict "a" (list $dot)))) "r") "RuleFiles" (dict "files/rbac/decommission.ClusterRole.yaml" true "files/rbac/decommission.Role.yaml" true "files/rbac/node-watcher.ClusterRole.yaml" true "files/rbac/node-watcher.Role.yaml" true "files/rbac/old-decommission.ClusterRole.yaml" true "files/rbac/old-decommission.Role.yaml" true "files/rbac/pvcunbinder.ClusterRole.yaml" true "files/rbac/pvcunbinder.Role.yaml" true))) (mustMergeOverwrite (dict "Enabled" false "Name" "" "Subject" "" "RuleFiles" (coalesce nil) "Annotations" (coalesce nil)) (dict "Name" (get (fromJson (include "operator.CRDJobServiceAccountName" (dict "a" (list $dot)))) "r") "Enabled" (or $values.crds.enabled $values.crds.experimental) "Subject" (get (fromJson (include "operator.CRDJobServiceAccountName" (dict "a" (list $dot)))) "r") "Annotations" (dict "helm.sh/hook" "pre-install,pre-upgrade" "helm.sh/hook-delete-policy" "before-hook-creation,hook-succeeded,hook-failed" "helm.sh/hook-weight" "-10") "RuleFiles" (dict "files/rbac/crd-installation.ClusterRole.yaml" true))))) | toJson -}} {{- break -}} {{- end -}} {{- end -}} diff --git a/operator/chart/testdata/template-cases.golden.txtar b/operator/chart/testdata/template-cases.golden.txtar index 24ba8ae42..a4a8dee7e 100644 --- a/operator/chart/testdata/template-cases.golden.txtar +++ b/operator/chart/testdata/template-cases.golden.txtar @@ -77,6 +77,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -630,14 +701,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-image-pull-policy=IfNotPresent + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-base-image=my.repo.com/configurator - - --configurator-tag=XYZ - - --configurator-image-pull-policy=IfNotPresent command: - /manager env: [] @@ -780,6 +853,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: koBY-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -1337,13 +1481,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=a35 + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -1539,108 +1685,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: WSGbu-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get -- apiGroups: - - "" - resources: - - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - apiGroups: - "" resources: - configmaps - - pods - secrets - serviceaccounts - services @@ -1652,26 +1700,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -2092,16 +2309,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=p9Di + - --configurator-tag=H6X3S + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=TNizkRf0 + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=H6X3S - - --configurator-base-image=p9Di - - 3AeeXxo - - EoLf5 - - "9" command: - /manager env: [] @@ -2258,6 +2474,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: Dx441G-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -2832,13 +3119,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=Ae + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -2989,6 +3278,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: rEba-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -3554,16 +3914,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=CcZY + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator - - 4ApSMU1 - - r - - BXVuKkMQ command: - /manager env: [] @@ -3736,6 +4095,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: kdh6Z-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -4298,13 +4728,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=a4SuUdq + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -4467,108 +4899,10 @@ metadata: wU3MsxN: 4Bn0vQj name: WM7nRI7B-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create - apiGroups: - "" resources: - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get -- apiGroups: - - "" - resources: - - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -4580,26 +4914,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -5039,15 +5542,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=Rr9cCH8 + - --configurator-tag=IyW + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=eM + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=IyW - - --configurator-base-image=Rr9cCH8 - - sAQJC - - "72" command: - /manager env: [] @@ -5217,6 +5720,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: Em-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -5777,13 +6351,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=eZ6Hz + - --configurator-tag=9JWhXp + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=OdrK + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=9JWhXp - - --configurator-base-image=eZ6Hz command: - /manager env: [] @@ -6002,13 +6578,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=ISoDbxsE + - --configurator-tag=E5edBYpa + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=Y + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=E5edBYpa - - --configurator-base-image=ISoDbxsE command: - /manager env: [] @@ -6169,6 +6747,77 @@ metadata: u: yT9Aqc name: DBMkVbLNvvZn-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -6760,13 +7409,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=kw6W + - --configurator-tag=6LBRlD + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=gT + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=6LBRlD - - --configurator-base-image=kw6W command: - /manager env: [] @@ -6924,6 +7575,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: kBI8lEs-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -7487,13 +8209,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=nkEl + - --configurator-tag=Fc9SuJ + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=Qgv + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=Fc9SuJ - - --configurator-base-image=nkEl command: - /manager env: [] @@ -7656,108 +8380,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: rcE-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - apiGroups: - "" resources: - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -7769,26 +8395,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -8245,15 +9040,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=dqEg + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator - - "" - - W7 command: - /manager env: [] @@ -8437,6 +9232,77 @@ metadata: w49JChsEQqA0: "3" name: 7guti07-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -9005,15 +9871,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=5grR1QB + - --configurator-tag=W0p45uvP8 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=aWy1AZjYl + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=W0p45uvP8 - - --configurator-base-image=5grR1QB - - 6SD9JDbQ7Q - - YSovMAw command: - /manager env: [] @@ -9161,6 +10027,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: J5MiI-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -9715,13 +10652,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=DpT1qi9X + - --configurator-tag=iRz + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=HhY5pV + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=iRz - - --configurator-base-image=DpT1qi9X command: - /manager env: [] @@ -9925,6 +10864,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: NofaS-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -10493,13 +11503,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=DCM8 + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -10717,14 +11729,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=AhZ + - --configurator-tag=J18tP9n + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=6TGvv + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=J18tP9n - - --configurator-base-image=AhZ - - x7K3o command: - /manager env: [] @@ -10898,108 +11911,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: K9R-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - apiGroups: - "" resources: - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -11011,26 +11926,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -11289,13 +12373,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=vOvAQKBh + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -11594,16 +12680,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=4kWMzql + - --configurator-tag=PGITfvk + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=mU + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=PGITfvk - - --configurator-base-image=4kWMzql - - YXvYnHoraN - - 6PWVVeCET - - D command: - /manager env: [] @@ -11798,6 +12883,77 @@ metadata: m2Z8Z: wRw name: DX7O-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -12366,13 +13522,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=BpnfO + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -12664,6 +13822,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: x8K24mCZYsnh-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -13236,14 +14465,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=gSveMOQ8Iaw + - --configurator-tag=UVj2te38 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=pMbmKX + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=UVj2te38 - - --configurator-base-image=gSveMOQ8Iaw - - 6gNh command: - /manager env: [] @@ -13454,6 +14684,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: UHlKDi-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -14029,13 +15330,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=5ruW + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -14219,108 +15522,10 @@ metadata: ruSHmUUvOj1: h3BuiPAHIC name: wINY4HR-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create - apiGroups: - "" resources: - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get -- apiGroups: - - "" - resources: - - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -14332,26 +15537,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -14859,14 +16233,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=6ERMjI8 + - --configurator-tag=MJp + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=wt4uT + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=MJp - - --configurator-base-image=6ERMjI8 - - vp9WG command: - /manager env: [] @@ -15123,6 +16498,77 @@ metadata: kxvj1aV: un4v2 name: 5-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -15684,16 +17130,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=5T8t + - --configurator-tag=fK + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=PgU9SwD + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=fK - - --configurator-base-image=5T8t - - aQJ - - "" - - DJZ4 command: - /manager env: [] @@ -15878,6 +17323,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: sFwgtf-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -16567,13 +18083,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=Jlzs9s + - --configurator-tag=GXw + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=zoF + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=GXw - - --configurator-base-image=Jlzs9s command: - /manager env: [] @@ -16799,6 +18317,77 @@ metadata: iW8sRg: to name: bi-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -17579,13 +19168,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=S3 + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -17789,108 +19380,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-YCs-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create - apiGroups: - "" resources: - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get -- apiGroups: - - "" - resources: - - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -17902,26 +19395,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -18497,15 +20159,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=4s6FZUA + - --configurator-tag=z7F5fT + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=mcE2xz8 + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=z7F5fT - - --configurator-base-image=4s6FZUA - - 2MguVfZ - - 2d4Gz command: - /manager env: [] @@ -18951,13 +20613,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=g96 + - --configurator-tag=Lotm9epAH + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=NaLO9z + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=Lotm9epAH - - --configurator-base-image=g96 command: - /manager env: [] @@ -19178,6 +20842,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: 2-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -19876,15 +21611,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=Bl6b0ql7 + - --configurator-tag=5yg4G + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=xLHAob + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=5yg4G - - --configurator-base-image=Bl6b0ql7 - - htV - - ItRsBL command: - /manager env: [] @@ -20159,6 +21894,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: z7BRO-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -20770,14 +22576,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=GusePZR7AB + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator - - TvXwul command: - /manager env: [] @@ -21147,14 +22954,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=qO8Q6 + - --configurator-tag=S + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=EQ + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=S - - --configurator-base-image=qO8Q6 - - ufbUW command: - /manager env: [] @@ -21438,6 +23246,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: D-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -22067,13 +23946,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=8mlV + - --configurator-tag=Gd0 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=hPrI1P + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=Gd0 - - --configurator-base-image=8mlV command: - /manager env: [] @@ -22668,13 +24549,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=a2vgH0 + - --configurator-tag=SwdpKv + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=v1480 + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=SwdpKv - - --configurator-base-image=a2vgH0 command: - /manager env: [] @@ -22894,108 +24777,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: tDyp0579ogHIu-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create - apiGroups: - "" resources: - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get -- apiGroups: - - "" - resources: - - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -23007,26 +24792,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -23677,15 +25631,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=bqtHD7 + - --configurator-tag=zo + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=XxZ + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=zo - - --configurator-base-image=bqtHD7 - - Rlceb - - pf5 command: - /manager env: [] @@ -24083,14 +26037,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=16DN2 + - --configurator-tag=RK6Ba96O + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=G3wz + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=RK6Ba96O - - --configurator-base-image=16DN2 - - wK command: - /manager env: [] @@ -24365,6 +26320,77 @@ metadata: uUW: Us name: 6z0k3NX-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -24963,15 +26989,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=MhZp + - --configurator-tag=NaNHQ74 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=KMFMJqF + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=NaNHQ74 - - --configurator-base-image=MhZp - - SkxA4PXfixGo6H - - Fa1 command: - /manager env: [] @@ -25486,14 +27512,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=5Q + - --configurator-tag=jr9 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=SzbHWgTpbD2 + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=jr9 - - --configurator-base-image=5Q - - gQcl6Ej6 command: - /manager env: [] @@ -26000,14 +28027,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=P9JMlA + - --configurator-tag=i6Q4sn53d + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=iAMFhZ + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=i6Q4sn53d - - --configurator-base-image=P9JMlA - - 8kSamSw9 command: - /manager env: [] @@ -26609,15 +28637,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=dOHS + - --configurator-tag=4hS76 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=W + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=4hS76 - - --configurator-base-image=dOHS - - Cz5DsC - - dk6pMw8X command: - /manager env: [] @@ -27139,15 +29167,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=5R2fC0t + - --configurator-tag=C5 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=GyEj + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=C5 - - --configurator-base-image=5R2fC0t - - 0H - - nCx9L command: - /manager env: [] @@ -27431,6 +29459,77 @@ metadata: x: 4Xx1lbe name: fjEnE-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -28131,16 +30230,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=CABd5 + - --configurator-tag=DV + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=WFheHptfh + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=DV - - --configurator-base-image=CABd5 - - E9Eu - - EU - - nE command: - /manager env: [] @@ -28644,16 +30742,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=h + - --configurator-tag=95V5Gm + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - - --log-level= + - --log-level + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=95V5Gm - - --configurator-base-image=h - - JFs - - nNwqWRT - - ScYwDYt command: - /manager env: [] @@ -29035,16 +31132,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=OjO + - --configurator-tag=YHoj + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=yGdn + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=YHoj - - --configurator-base-image=OjO - - krIILz - - "5" - - cS command: - /manager env: [] @@ -29300,6 +31396,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: dLmCJ99UDA-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -30092,14 +32259,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=Olq + - --configurator-tag=X + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=K + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=X - - --configurator-base-image=Olq - - jq37e command: - /manager env: [] @@ -30333,6 +32501,77 @@ metadata: x: c name: I5FRf-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -31231,15 +33470,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=VX7rtbd + - --configurator-tag=VPI + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=10rTK + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=VPI - - --configurator-base-image=VX7rtbd - - Fpr - - bQ4Xdn command: - /manager env: [] @@ -31794,16 +34033,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=5SfzkB5M1vx + - --configurator-tag=l0yDQ3G + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=D3sVjB0WumuG + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=l0yDQ3G - - --configurator-base-image=5SfzkB5M1vx - - J - - k - - VRWdl command: - /manager env: [] @@ -32078,6 +34316,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: Uu-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -32794,13 +35103,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=a7e7 + - --configurator-tag=QiVn05LHP7O + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - - --log-level= + - --log-level + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=QiVn05LHP7O - - --configurator-base-image=a7e7 command: - /manager env: [] @@ -33450,16 +35761,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=Nt + - --configurator-tag=H + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=YQXlr + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=H - - --configurator-base-image=Nt - - KeFi - - dfONW9 - - 9znBOn command: - /manager env: [] @@ -33967,13 +36277,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=MRDUBfo4 + - --configurator-tag=go + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=TwQtVGrOeJf + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=go - - --configurator-base-image=MRDUBfo4 command: - /manager env: [] @@ -34230,6 +36542,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: oL1SSfzH9d-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -35057,14 +37440,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=KbWqGz + - --configurator-tag=pneZv + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=EFXhBX + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=pneZv - - --configurator-base-image=KbWqGz - - 5O command: - /manager env: [] @@ -35268,108 +37652,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: qVYvaMYre-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create - apiGroups: - "" resources: - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get -- apiGroups: - - "" - resources: - - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -35381,26 +37667,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -35935,13 +38390,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=CPQ9Y6 + - --configurator-tag=qPbAyXLw + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=ozF + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=qPbAyXLw - - --configurator-base-image=CPQ9Y6 command: - /manager env: [] @@ -36169,6 +38626,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: RxVwZrtkv-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -36965,15 +39493,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=U4heCUyQYeE + - --configurator-tag=CyopzJ + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=bVWCG + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=CyopzJ - - --configurator-base-image=U4heCUyQYeE - - 6ArBn - - zve command: - /manager env: [] @@ -37272,6 +39800,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: RAyK-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -37847,14 +40446,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=AzmZ3dTJs + - --configurator-tag=WHh + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=Y01SjB - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=WHh - - --configurator-base-image=AzmZ3dTJs + - --webhook-enabled=true command: - /manager env: [] @@ -38123,6 +40724,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: tyx5W-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -38701,16 +41373,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=mM7lGw9fmKx + - --configurator-tag=K + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=H1NDG8 - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=K - - --configurator-base-image=mM7lGw9fmKx - - l4dHBtic0cX0cs7 - - "" + - --webhook-enabled=true command: - /manager env: [] @@ -38989,108 +41661,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: 89IgS-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create - apiGroups: - "" resources: - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get -- apiGroups: - - "" - resources: - - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -39102,26 +41676,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -39569,14 +42312,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=SQz - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --webhook-enabled=true command: - /manager env: [] @@ -39861,6 +42606,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: fRjXK1u0-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -40448,14 +43264,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=z1LU - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --webhook-enabled=true command: - /manager env: [] @@ -40737,6 +43555,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: 2jUS-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -41330,14 +44219,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=zCQ + - --configurator-tag=NnFVx + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=yVlZuzf - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=NnFVx - - --configurator-base-image=zCQ + - --webhook-enabled=true command: - /manager env: [] @@ -41622,6 +44513,77 @@ metadata: kP0Mu: tnINl name: WM-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -42206,17 +45168,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=caaG - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator - - D4rks - - p7p - - 1kSb + - --webhook-enabled=true command: - /manager env: [] @@ -42575,14 +45536,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=smF3 - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --webhook-enabled=true command: - /manager env: [] @@ -42938,16 +45901,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=ma3F + - --configurator-tag=Jug9nLx + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=Co - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=Jug9nLx - - --configurator-base-image=ma3F - - JOd - - JV6w + - --webhook-enabled=true command: - /manager env: [] @@ -43319,108 +46282,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: nLM2irjC-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - apiGroups: - "" resources: - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -43432,26 +46297,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -43902,14 +46936,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=idWmcYq6IZQH + - --configurator-tag=vnJvYTYU8 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=vMA - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=vnJvYTYU8 - - --configurator-base-image=idWmcYq6IZQH + - --webhook-enabled=true command: - /manager env: [] @@ -44204,6 +47240,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: X374QF3AYX-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -44784,14 +47891,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=d - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --webhook-enabled=true command: - /manager env: [] @@ -45097,6 +48206,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: G-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -45667,17 +48847,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=qbU + - --configurator-tag=9mw + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=OzauffS1XLt - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=9mw - - --configurator-base-image=qbU - - 8TZ - - c - - cpUq + - --webhook-enabled=true command: - /manager env: [] @@ -45971,6 +49150,77 @@ metadata: jcF: qXntI name: tDaA-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -46562,14 +49812,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=2g + - --configurator-tag=GfYtT + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=pN6bqJZQR - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=GfYtT - - --configurator-base-image=2g + - --webhook-enabled=true command: - /manager env: [] @@ -46891,108 +50143,10 @@ metadata: uS: h6Fj name: 79ioSjMT8KG-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - apiGroups: - "" resources: - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -47004,26 +50158,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -47473,14 +50796,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=7mzP0 - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --webhook-enabled=true command: - /manager env: [] @@ -47759,6 +51084,77 @@ metadata: wig: gAae name: 41nucs5-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -48436,16 +51832,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=cd7qo + - --configurator-tag=vJ7ET + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=6i5 - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=vJ7ET - - --configurator-base-image=cd7qo - - r4LII - - m5622dBz6A + - --webhook-enabled=true command: - /manager env: [] @@ -48781,6 +52177,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: xtpIQu-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -49431,16 +52898,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=SCN + - --configurator-tag=DF517x + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=irlLOaCak6uG - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=DF517x - - --configurator-base-image=SCN - - "" - - QL9X + - --webhook-enabled=true command: - /manager env: [] @@ -49905,17 +53372,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image + - --configurator-tag=1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=x4gaS - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=1 - - --configurator-base-image= - - Q9 - - JLCZc - - c + - --webhook-enabled=true command: - /manager env: [] @@ -50419,14 +53885,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=UWHmykY + - --configurator-tag=47nK + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=LwcaR - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=47nK - - --configurator-base-image=UWHmykY + - --webhook-enabled=true command: - /manager env: [] @@ -50701,6 +54169,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: PxBN-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -51451,14 +54990,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=kBJV23 + - --configurator-tag=boxAxRu + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=tI - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=boxAxRu - - --configurator-base-image=kBJV23 + - --webhook-enabled=true command: - /manager env: [] @@ -52039,17 +55580,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=7wdG0 + - --configurator-tag=HXXm + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=4J4TVSNI8I - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=HXXm - - --configurator-base-image=7wdG0 - - dWzxr3xXRM - - vEF - - DAM + - --webhook-enabled=true command: - /manager env: [] @@ -52646,15 +56186,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=xmIP4HeALlQ8 + - --configurator-tag=Vk + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=CpVihaT - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=Vk - - --configurator-base-image=xmIP4HeALlQ8 - - oxdTcKZmy5 + - --webhook-enabled=true command: - /manager env: [] @@ -52985,6 +56526,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: m7Z5VmKktJ-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -53910,17 +57522,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=h9 + - --configurator-tag=m0a + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=Kp - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=m0a - - --configurator-base-image=h9 - - ReK6Upw - - 7Pu0AA - - 0yNEqlggmA + - --webhook-enabled=true command: - /manager env: [] @@ -54332,6 +57943,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: OyOZvn5WT-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -55166,16 +58848,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=Zme9w8o + - --configurator-tag=TPaa + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=VNcVbeobGuK - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=TPaa - - --configurator-base-image=Zme9w8o - - LlHz1 - - 4qYzSV + - --webhook-enabled=true command: - /manager env: [] @@ -55949,17 +59631,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=Tzah + - --configurator-tag=6E02z0oYQUL + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=OdA - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=6E02z0oYQUL - - --configurator-base-image=Tzah - - zTsg - - Sv - - 9M23O7X + - --webhook-enabled=true command: - /manager env: [] @@ -56675,16 +60356,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=Ozfq + - --configurator-tag=3ncj + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=dtDojkH - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=3ncj - - --configurator-base-image=Ozfq - - 5orCeu - - v7kr + - --webhook-enabled=true command: - /manager env: [] @@ -57380,16 +61061,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=w3qgVe7 + - --configurator-tag=8YPjvr + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=51BriCol - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=8YPjvr - - --configurator-base-image=w3qgVe7 - - "n" - - H7B3A1m + - --webhook-enabled=true command: - /manager env: [] @@ -57769,6 +61450,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: Hjo9sbxO-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -58515,17 +62267,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=9kg + - --configurator-tag=hk + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=HTKj8qv - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=hk - - --configurator-base-image=9kg - - eyxGhI - - 9YL - - 6HEr + - --webhook-enabled=true command: - /manager env: [] @@ -58924,6 +62675,77 @@ metadata: mKZJ: qFJ name: 8K2N-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -59976,14 +63798,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=D43Nf + - --configurator-tag=McKTb81 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=VC4 - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=McKTb81 - - --configurator-base-image=D43Nf + - --webhook-enabled=true command: - /manager env: [] @@ -60328,6 +64152,77 @@ metadata: mNkAknTCpbj0: NCMcS name: RQkbO-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -61233,14 +65128,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=M2Q + - --configurator-tag=Q9Q + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - - --log-level= - - --webhook-enabled=true + - --log-level + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=Q9Q - - --configurator-base-image=M2Q + - --webhook-enabled=true command: - /manager env: [] @@ -61587,6 +65484,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: 2rNNJQv8k5j97-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -62449,17 +66417,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=tczCHr + - --configurator-tag=EQ6C + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=XrGv - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=EQ6C - - --configurator-base-image=tczCHr - - Sb4JTueXASpBtQ - - og - - GaoUIcOT + - --webhook-enabled=true command: - /manager env: [] @@ -63156,14 +67123,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=ahO + - --configurator-tag=w8Y59 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=o7 - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=w8Y59 - - --configurator-base-image=ahO + - --webhook-enabled=true command: - /manager env: [] @@ -63571,108 +67540,10 @@ metadata: zWv: hIfkuex2B name: xxjYziP-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - apiGroups: - "" resources: - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -63684,26 +67555,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -64180,14 +68220,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=ZMlofIenTW3 + - --configurator-tag=ZpYBKn + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=I - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=ZpYBKn - - --configurator-base-image=ZMlofIenTW3 + - --webhook-enabled=true command: - /manager env: [] @@ -64637,6 +68679,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: OZHCbAk-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -65510,17 +69623,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=YYLGC7 + - --configurator-tag=okj1Bqm1LHE + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=fhg - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=okj1Bqm1LHE - - --configurator-base-image=YYLGC7 - - Gc3q48w - - JNFXPzkrj - - hYzBm + - --webhook-enabled=true command: - /manager env: [] @@ -66086,14 +70198,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=kG9n + - --configurator-tag=H0aN + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=E3A4 - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=H0aN - - --configurator-base-image=kG9n + - --webhook-enabled=true command: - /manager env: [] @@ -66469,6 +70583,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: twuYH9-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -67166,15 +71351,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=BkpCoE + - --configurator-tag=3BE + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=p7w - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=3BE - - --configurator-base-image=BkpCoE - - QpxE2 + - --webhook-enabled=true command: - /manager env: [] @@ -67582,6 +71768,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: Sb2hWn-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -68489,16 +72746,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=n74Ca + - --configurator-tag=y8Skx9 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=grDHZkPyKot - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=y8Skx9 - - --configurator-base-image=n74Ca - - bv4LbFjFG - - X5vvak7u + - --webhook-enabled=true command: - /manager env: [] @@ -68840,108 +73097,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-B-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - apiGroups: - "" resources: - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -68953,26 +73112,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -69488,15 +73816,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=ftKlY + - --configurator-tag=bBlM + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=Yd - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=bBlM - - --configurator-base-image=ftKlY - - amoUVan + - --webhook-enabled=true command: - /manager env: [] @@ -70172,14 +74501,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=AJtD86QQ + - --configurator-tag=wp + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=Ufou7z - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=wp - - --configurator-base-image=AJtD86QQ + - --webhook-enabled=true command: - /manager env: [] @@ -70529,6 +74860,77 @@ metadata: rZBEA7mOLYT: iFtHtFH name: nJ-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -71162,14 +75564,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=87 + - --configurator-tag=1XQEc73 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=pB9UJO8ZqB - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=1XQEc73 - - --configurator-base-image=87 + - --webhook-enabled=true command: - /manager env: [] @@ -71507,6 +75911,77 @@ metadata: jHlVD3i0I: Hfqg8dMgdc name: cCP-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -72306,14 +76781,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=I + - --configurator-tag=y3ROS + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=tYc - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=y3ROS - - --configurator-base-image=I + - --webhook-enabled=true command: - /manager env: [] @@ -72999,14 +77476,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=TPAc + - --configurator-tag=u + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=AKFy - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=u - - --configurator-base-image=TPAc + - --webhook-enabled=true command: - /manager env: [] @@ -73429,6 +77908,77 @@ metadata: nI2ZSs: 4AI8h name: Wo-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -74220,14 +78770,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=MxYHsvk3O + - --configurator-tag=tr + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=PcP - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=tr - - --configurator-base-image=MxYHsvk3O + - --webhook-enabled=true command: - /manager env: [] @@ -74671,108 +79223,10 @@ metadata: wH2b: "" name: w-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - apiGroups: - "" resources: - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -74784,26 +79238,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -75402,17 +80025,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=zZLbhNE + - --configurator-tag=lWf3R8lv + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=s63h - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=lWf3R8lv - - --configurator-base-image=zZLbhNE - - oMtn - - Q - - 3z6Z0vrvjWuC + - --webhook-enabled=true command: - /manager env: [] @@ -76182,17 +80804,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=6C + - --configurator-tag=EyNNr90u1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=qZr - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=EyNNr90u1 - - --configurator-base-image=6C - - IoP - - oEPSF - - w659VcIIlO + - --webhook-enabled=true command: - /manager env: [] @@ -76602,6 +81223,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: KXsg6-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -77224,17 +81916,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=kE0AJ1 + - --configurator-tag=wA5XUe + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=hj - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=wA5XUe - - --configurator-base-image=kE0AJ1 - - "" - - 2BwL4Tf6d - - LY5cEH + - --webhook-enabled=true command: - /manager env: [] @@ -77632,6 +82323,77 @@ metadata: uO6upU7K: lMwbJ name: FCXrBjh-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -78307,16 +83069,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=uzG5 + - --configurator-tag=PQfV4 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=cU5MS1z - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=PQfV4 - - --configurator-base-image=uzG5 - - 7G3Tgu - - Oh + - --webhook-enabled=true command: - /manager env: [] @@ -78661,6 +83423,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: 02-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -79534,14 +84367,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=iqTYWQsJpRK + - --configurator-tag=ob8Ckc + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=sbpkgy - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=ob8Ckc - - --configurator-base-image=iqTYWQsJpRK + - --webhook-enabled=true command: - /manager env: [] @@ -80183,14 +85018,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=xS + - --configurator-tag=v + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=TmP83vnBu - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=v - - --configurator-base-image=xS + - --webhook-enabled=true command: - /manager env: [] @@ -80571,108 +85408,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: KPhNK5uNi-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - apiGroups: - "" resources: - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - configmaps - - pods - secrets - serviceaccounts - services @@ -80684,26 +85423,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -81434,17 +86342,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=HoNUZ89Keda + - --configurator-tag=3EcYA + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=G6sQWEEyqb - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=3EcYA - - --configurator-base-image=HoNUZ89Keda - - l9a - - Arx - - bLHpq0J3 + - --webhook-enabled=true command: - /manager env: [] @@ -82208,17 +87115,16 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=h8K + - --configurator-tag=P + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=tqqBMvp3V - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=P - - --configurator-base-image=h8K - - P - - WM7Be - - JLya + - --webhook-enabled=true command: - /manager env: [] @@ -82602,6 +87508,77 @@ metadata: rnKI: dxHr name: 5U9oyj-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -83345,14 +88322,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=C9o + - --configurator-tag=HAScR + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=OIXyC - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=HAScR - - --configurator-base-image=C9o + - --webhook-enabled=true command: - /manager env: [] @@ -83754,6 +88733,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -84307,13 +89357,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -84593,6 +89645,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -85146,13 +90269,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -85431,108 +90556,10 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create -- apiGroups: - - "" - resources: - - configmaps - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - persistentvolumeclaims - - pods - verbs: - - delete - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes - verbs: - - get -- apiGroups: - - "" - resources: - - configmaps - - endpoints - - events - - limitranges - - persistentvolumeclaims - - pods - - pods/log - - replicationcontrollers - - resourcequotas - - serviceaccounts - - services - verbs: - - get - - list -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - apiGroups: - "" resources: - configmaps - - pods - secrets - serviceaccounts - services @@ -85544,26 +90571,195 @@ rules: - patch - update - watch -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch -- apiGroups: - - apps - resources: - - controllerrevisions - verbs: - - get - - list - - watch - apiGroups: - apps resources: - deployments - - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create +- apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create +- apiGroups: + - "" + resources: + - configmaps + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - get + - list + - patch + - watch +- apiGroups: + - "" + resources: + - persistentvolumeclaims + - pods + verbs: + - delete + - get + - list + - watch +- apiGroups: + - "" + resources: + - nodes + verbs: + - get +- apiGroups: + - "" + resources: + - configmaps + - endpoints + - events + - limitranges + - persistentvolumeclaims + - pods + - pods/log + - replicationcontrollers + - resourcequotas + - serviceaccounts + - services + verbs: + - get + - list +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - configmaps + - pods + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +- apiGroups: + - apps + resources: + - controllerrevisions + verbs: + - get + - list + - watch +- apiGroups: + - apps + resources: + - deployments + - statefulsets verbs: - create - delete @@ -85984,13 +91180,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -86130,6 +91328,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -86683,13 +91952,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -86846,6 +92117,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -87399,13 +92741,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -87545,6 +92889,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -88098,13 +93513,15 @@ spec: automountServiceAccountToken: true containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] @@ -88244,6 +93661,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -88819,14 +94307,16 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info - - --webhook-enabled=true + - --metrics-bind-address=:8443 - --webhook-cert-path=/tmp/k8s-webhook-server/serving-certs - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --webhook-enabled=true command: - /manager env: [] @@ -89079,6 +94569,77 @@ metadata: helm.sh/chart: operator-25.2.1-beta1 name: operator-default rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch - apiGroups: - authentication.k8s.io resources: @@ -89632,13 +95193,15 @@ spec: automountServiceAccountToken: false containers: - args: + - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator + - --configurator-tag=v25.2.1-beta1 + - --enable-console=true + - --enable-vectorized-controllers=false - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - --leader-elect - --log-level=info + - --metrics-bind-address=:8443 - --webhook-enabled=false - - --configurator-tag=v25.2.1-beta1 - - --configurator-base-image=docker.redpanda.com/redpandadata/redpanda-operator command: - /manager env: [] diff --git a/operator/cmd/crd/crd.go b/operator/cmd/crd/crd.go index 121ddf834..469d945ed 100644 --- a/operator/cmd/crd/crd.go +++ b/operator/cmd/crd/crd.go @@ -31,15 +31,16 @@ import ( var ( stableCRDs = []*apiextensionsv1.CustomResourceDefinition{ + crds.Console(), crds.Redpanda(), + crds.Role(), + crds.Schema(), crds.Topic(), crds.User(), - crds.Schema(), - crds.Role(), } vectorizedCRDs = []*apiextensionsv1.CustomResourceDefinition{ - crds.Cluster(), - crds.Console(), + crds.VectorizedCluster(), + crds.VectorizedConsole(), } experimentalCRDs = []*apiextensionsv1.CustomResourceDefinition{ crds.NodePool(), diff --git a/operator/cmd/run/run.go b/operator/cmd/run/run.go index ef49735ac..758b102d8 100644 --- a/operator/cmd/run/run.go +++ b/operator/cmd/run/run.go @@ -43,6 +43,7 @@ import ( vectorizedv1alpha1 "github.com/redpanda-data/redpanda-operator/operator/api/vectorized/v1alpha1" "github.com/redpanda-data/redpanda-operator/operator/cmd/version" "github.com/redpanda-data/redpanda-operator/operator/internal/controller" + consolecontroller "github.com/redpanda-data/redpanda-operator/operator/internal/controller/console" "github.com/redpanda-data/redpanda-operator/operator/internal/controller/decommissioning" "github.com/redpanda-data/redpanda-operator/operator/internal/controller/nodewatcher" "github.com/redpanda-data/redpanda-operator/operator/internal/controller/olddecommission" @@ -54,6 +55,7 @@ import ( internalclient "github.com/redpanda-data/redpanda-operator/operator/pkg/client" pkglabels "github.com/redpanda-data/redpanda-operator/operator/pkg/labels" "github.com/redpanda-data/redpanda-operator/operator/pkg/resources" + "github.com/redpanda-data/redpanda-operator/pkg/kube" "github.com/redpanda-data/redpanda-operator/pkg/otelutil/log" pkgsecrets "github.com/redpanda-data/redpanda-operator/pkg/secrets" ) @@ -86,6 +88,7 @@ type RunOptions struct { enableV2NodepoolController bool enableShadowLinksController bool + enableConsoleController bool managerOptions ctrl.Options clusterDomain string secureMetrics bool @@ -139,6 +142,7 @@ func (o *RunOptions) BindFlags(cmd *cobra.Command) { cmd.Flags().BoolVar(&o.webhookEnabled, "webhook-enabled", false, "Enable webhook Manager") // Controller flags. + cmd.Flags().BoolVar(&o.enableConsoleController, "enable-console", false, "Specifies whether or not to enabled the redpanda Console controller") cmd.Flags().BoolVar(&o.enableV2NodepoolController, "enable-v2-nodepools", false, "Specifies whether or not to enabled the v2 nodepool controller") cmd.Flags().BoolVar(&o.enableShadowLinksController, "enable-shadowlinks", false, "Specifies whether or not to enabled the shadow links controller") cmd.Flags().BoolVar(&o.enableVectorizedControllers, "enable-vectorized-controllers", false, "Specifies whether or not to enabled the legacy controllers for resources in the Vectorized Group (Also known as V1 operator mode)") @@ -430,6 +434,28 @@ func Run( } } + // Console Reconciler. + if opts.enableConsoleController { + ctl, err := kube.FromRESTConfig(mgr.GetConfig(), kube.Options{ + Options: client.Options{ + Scheme: mgr.GetScheme(), + // mgr's GetClient sets the cache, to have a fully compatible ctl, we + // need to set the cache as well. + Cache: &client.CacheOptions{ + Reader: mgr.GetCache(), + }, + }, + }) + if err != nil { + return err + } + + if err := (&consolecontroller.Controller{Ctl: ctl}).SetupWithManager(ctx, mgr); err != nil { + setupLog.Error(err, "unable to create controller", "controller", "Console") + return err + } + } + // ShadowLink Reconciler if opts.enableShadowLinksController { if err := redpandacontrollers.SetupShadowLinkController(ctx, mgr, opts.enableVectorizedControllers); err != nil { diff --git a/operator/config/crd/bases/cluster.redpanda.com_consoles.yaml b/operator/config/crd/bases/cluster.redpanda.com_consoles.yaml new file mode 100644 index 000000000..39c529571 --- /dev/null +++ b/operator/config/crd/bases/cluster.redpanda.com_consoles.yaml @@ -0,0 +1,6246 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.16.3 + name: consoles.cluster.redpanda.com +spec: + group: cluster.redpanda.com + names: + kind: Console + listKind: ConsoleList + plural: consoles + singular: console + scope: Namespaced + versions: + - name: v1alpha2 + schema: + openAPIV3Schema: + description: Redpanda defines the CRD for Redpanda clusters. + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + properties: + affinity: + description: Affinity is a group of affinity scheduling rules. + properties: + nodeAffinity: + description: Describes node affinity scheduling rules for the + pod. + properties: + preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. + items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). + properties: + preference: + description: A node selector term, associated with the + corresponding weight. + properties: + matchExpressions: + description: A list of node selector requirements + by node's labels. + items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. + properties: + key: + description: The label key that the selector + applies to. + type: string + operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + type: string + values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + description: A list of node selector requirements + by node's fields. + items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. + properties: + key: + description: The label key that the selector + applies to. + type: string + operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + type: string + values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + description: Weight associated with matching the corresponding + nodeSelectorTerm, in the range 1-100. + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. + properties: + nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. + items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. + properties: + matchExpressions: + description: A list of node selector requirements + by node's labels. + items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. + properties: + key: + description: The label key that the selector + applies to. + type: string + operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + type: string + values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + description: A list of node selector requirements + by node's fields. + items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. + properties: + key: + description: The label key that the selector + applies to. + type: string + operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + type: string + values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + description: Describes pod affinity scheduling rules (e.g. co-locate + this pod in the same node, zone, etc. as some other pod(s)). + properties: + preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. + items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) + properties: + podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. + properties: + labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that + the selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that + the selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. + type: string + required: + - topologyKey + type: object + weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. + items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running + properties: + labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that the + selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that the + selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + description: Describes pod anti-affinity scheduling rules (e.g. + avoid putting this pod in the same node, zone, etc. as some + other pod(s)). + properties: + preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. + items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) + properties: + podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. + properties: + labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that + the selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that + the selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. + type: string + required: + - topologyKey + type: object + weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. + items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running + properties: + labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that the + selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that the + selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + annotations: + additionalProperties: + type: string + type: object + automountServiceAccountToken: + type: boolean + autoscaling: + properties: + enabled: + type: boolean + maxReplicas: + format: int32 + type: integer + minReplicas: + format: int32 + type: integer + targetCPUUtilizationPercentage: + format: int32 + type: integer + targetMemoryUtilizationPercentage: + format: int32 + type: integer + type: object + cluster: + description: ClusterSource defines how to connect to a particular + Redpanda cluster. + properties: + clusterRef: + description: |- + ClusterRef is a reference to the cluster where the object should be created. + It is used in constructing the client created to configure a cluster. + This takes precedence over StaticConfigurationSource. + properties: + group: + description: |- + Group is used to override the object group that this reference points to. + If unspecified, defaults to "cluster.redpanda.com". + type: string + kind: + description: |- + Kind is used to override the object kind that this reference points to. + If unspecified, defaults to "Redpanda". + type: string + name: + description: Name specifies the name of the cluster being + referenced. + type: string + required: + - name + type: object + staticConfiguration: + description: StaticConfiguration holds connection parameters to + Kafka and Admin APIs. + properties: + admin: + description: |- + AdminAPISpec is the configuration information for communicating with the Admin + API of a Redpanda cluster where the object should be created. + properties: + sasl: + description: Defines authentication configuration settings + for Redpanda clusters that have authentication enabled. + properties: + mechanism: + description: Specifies the SASL/SCRAM authentication + mechanism. + type: string + passwordSecretRef: + description: Specifies the password. + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + token: + description: Specifies token for token-based authentication + (only used if no username/password are provided). + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + username: + description: Specifies the username. + type: string + required: + - mechanism + type: object + tls: + description: Defines TLS configuration settings for Redpanda + clusters that have TLS enabled. + properties: + caCertSecretRef: + description: CaCert is the reference for certificate + authority used to establish TLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + certSecretRef: + description: Cert is the reference for client public + certificate to establish mTLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + insecureSkipTlsVerify: + description: InsecureSkipTLSVerify can skip verifying + Redpanda self-signed certificate when establish + TLS connection to Redpanda + type: boolean + keySecretRef: + description: Key is the reference for client private + certificate to establish mTLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + type: object + urls: + description: Specifies a list of broker addresses in the + format : + items: + type: string + type: array + required: + - urls + type: object + kafka: + description: |- + Kafka is the configuration information for communicating with the Kafka + API of a Redpanda cluster where the object should be created. + properties: + brokers: + description: Specifies a list of broker addresses in the + format : + items: + type: string + type: array + sasl: + description: Defines authentication configuration settings + for Redpanda clusters that have authentication enabled. + properties: + awsMskIam: + description: |- + KafkaSASLAWSMskIam is the config for AWS IAM SASL mechanism, + see: https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html + properties: + accessKey: + type: string + secretKeySecretRef: + description: |- + SecretKeyRef contains enough information to inspect or modify the referred Secret data + See https://pkg.go.dev/k8s.io/api/core/v1#ObjectReference. + properties: + key: + description: Key in Secret data to get value + from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + sessionTokenSecretRef: + description: |- + SessionToken, if non-empty, is a session / security token to use for authentication. + See: https://docs.aws.amazon.com/STS/latest/APIReference/welcome.html + properties: + key: + description: Key in Secret data to get value + from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + userAgent: + description: |- + UserAgent is the user agent to for the client to use when connecting + to Kafka, overriding the default "franz-go//". + + Setting a UserAgent allows authorizing based on the aws:UserAgent + condition key; see the following link for more details: + https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-useragent + type: string + required: + - accessKey + - secretKeySecretRef + - sessionTokenSecretRef + - userAgent + type: object + gssapi: + description: KafkaSASLGSSAPI represents the Kafka + Kerberos config. + properties: + authType: + type: string + enableFast: + description: |- + EnableFAST enables FAST, which is a pre-authentication framework for Kerberos. + It includes a mechanism for tunneling pre-authentication exchanges using armored KDC messages. + FAST provides increased resistance to passive password guessing attacks. + type: boolean + kerberosConfigPath: + type: string + keyTabPath: + type: string + passwordSecretRef: + description: |- + SecretKeyRef contains enough information to inspect or modify the referred Secret data + See https://pkg.go.dev/k8s.io/api/core/v1#ObjectReference. + properties: + key: + description: Key in Secret data to get value + from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + realm: + type: string + serviceName: + type: string + username: + type: string + required: + - authType + - enableFast + - kerberosConfigPath + - keyTabPath + - passwordSecretRef + - realm + - serviceName + - username + type: object + mechanism: + description: Specifies the SASL/SCRAM authentication + mechanism. + type: string + oauth: + description: KafkaSASLOAuthBearer is the config struct + for the SASL OAuthBearer mechanism + properties: + tokenSecretRef: + description: |- + SecretKeyRef contains enough information to inspect or modify the referred Secret data + See https://pkg.go.dev/k8s.io/api/core/v1#ObjectReference. + properties: + key: + description: Key in Secret data to get value + from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + required: + - tokenSecretRef + type: object + passwordSecretRef: + description: Specifies the password. + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + username: + description: Specifies the username. + type: string + required: + - mechanism + type: object + tls: + description: Defines TLS configuration settings for Redpanda + clusters that have TLS enabled. + properties: + caCertSecretRef: + description: CaCert is the reference for certificate + authority used to establish TLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + certSecretRef: + description: Cert is the reference for client public + certificate to establish mTLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + insecureSkipTlsVerify: + description: InsecureSkipTLSVerify can skip verifying + Redpanda self-signed certificate when establish + TLS connection to Redpanda + type: boolean + keySecretRef: + description: Key is the reference for client private + certificate to establish mTLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + type: object + required: + - brokers + type: object + schemaRegistry: + description: |- + SchemaRegistry is the configuration information for communicating with the Schema Registry + API of a Redpanda cluster where the object should be created. + properties: + sasl: + description: Defines authentication configuration settings + for Redpanda clusters that have authentication enabled. + properties: + mechanism: + description: Specifies the SASL/SCRAM authentication + mechanism. + type: string + passwordSecretRef: + description: Specifies the password. + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + token: + description: |- + SecretKeyRef contains enough information to inspect or modify the referred Secret data + See https://pkg.go.dev/k8s.io/api/core/v1#ObjectReference. + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + username: + description: Specifies the username. + type: string + required: + - mechanism + type: object + tls: + description: Defines TLS configuration settings for Redpanda + clusters that have TLS enabled. + properties: + caCertSecretRef: + description: CaCert is the reference for certificate + authority used to establish TLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + certSecretRef: + description: Cert is the reference for client public + certificate to establish mTLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + insecureSkipTlsVerify: + description: InsecureSkipTLSVerify can skip verifying + Redpanda self-signed certificate when establish + TLS connection to Redpanda + type: boolean + keySecretRef: + description: Key is the reference for client private + certificate to establish mTLS connection to Redpanda + properties: + key: + description: Key in Secret data to get value from + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + required: + - name + type: object + type: object + urls: + description: Specifies a list of broker addresses in the + format : + items: + type: string + type: array + required: + - urls + type: object + type: object + type: object + x-kubernetes-validations: + - message: either clusterRef or staticConfiguration must be set + rule: has(self.clusterRef) || has(self.staticConfiguration) + - message: ClusterSource is immutable + rule: self == oldSelf + commonLabels: + additionalProperties: + type: string + type: object + config: + type: object + x-kubernetes-preserve-unknown-fields: true + deployment: + properties: + command: + items: + type: string + type: array + extraArgs: + items: + type: string + type: array + type: object + extraContainers: + items: + description: A single application container that you want to run + within a pod. + properties: + args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + description: |- + List of environment variables to set in the container. + Cannot be updated. + items: + description: EnvVar represents an environment variable present + in a Container. + properties: + name: + description: Name of the environment variable. Must be + a C_IDENTIFIER. + type: string + value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". + type: string + valueFrom: + description: Source for the environment variable's value. + Cannot be used if value is not empty. + properties: + configMapKeyRef: + description: Selects a key of a ConfigMap. + properties: + key: + description: The key to select. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the ConfigMap or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + properties: + apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". + type: string + fieldPath: + description: Path of the field to select in the + specified API version. + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + properties: + containerName: + description: 'Container name: required for volumes, + optional for env vars' + type: string + divisor: + anyOf: + - type: integer + - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + description: 'Required: resource to select' + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + description: Selects a key of a secret in the pod's + namespace + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or its + key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. + items: + description: EnvFromSource represents the source of a set + of ConfigMaps or Secrets + properties: + configMapRef: + description: The ConfigMap to select from + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the ConfigMap must be + defined + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + description: Optional text to prepend to the name of each + environment variable. Must be a C_IDENTIFIER. + type: string + secretRef: + description: The Secret to select from + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret must be defined + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. + type: string + imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + type: string + lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. + properties: + postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks + properties: + exec: + description: Exec specifies a command to execute in + the container. + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + type: string + httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. + items: + description: HTTPHeader describes a custom header + to be used in HTTP probes + properties: + name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. + type: string + value: + description: The header field value + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + description: Path to access on the HTTP server. + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. + type: string + required: + - port + type: object + sleep: + description: Sleep represents a duration that the container + should sleep. + properties: + seconds: + description: Seconds is the number of seconds to + sleep. + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. + properties: + host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks + properties: + exec: + description: Exec specifies a command to execute in + the container. + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + type: string + httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. + items: + description: HTTPHeader describes a custom header + to be used in HTTP probes + properties: + name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. + type: string + value: + description: The header field value + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + description: Path to access on the HTTP server. + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. + type: string + required: + - port + type: object + sleep: + description: Sleep represents a duration that the container + should sleep. + properties: + seconds: + description: Seconds is the number of seconds to + sleep. + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. + properties: + host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name + type: string + type: object + livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + properties: + exec: + description: Exec specifies a command to execute in the + container. + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. + format: int32 + type: integer + grpc: + description: GRPC specifies a GRPC HealthCheckRequest. + properties: + port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. + format: int32 + type: integer + service: + default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. + type: string + required: + - port + type: object + httpGet: + description: HTTPGet specifies an HTTP GET request to perform. + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + type: string + httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. + items: + description: HTTPHeader describes a custom header + to be used in HTTP probes + properties: + name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. + type: string + value: + description: The header field value + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + description: Path to access on the HTTP server. + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. + type: string + required: + - port + type: object + initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. + format: int32 + type: integer + successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + format: int32 + type: integer + tcpSocket: + description: TCPSocket specifies a connection to a TCP port. + properties: + host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. + format: int64 + type: integer + timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + type: object + name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. + type: string + ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. + items: + description: ContainerPort represents a network port in a + single container. + properties: + containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. + format: int32 + type: integer + hostIP: + description: What host IP to bind the external port to. + type: string + hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. + format: int32 + type: integer + name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. + type: string + protocol: + default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + properties: + exec: + description: Exec specifies a command to execute in the + container. + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. + format: int32 + type: integer + grpc: + description: GRPC specifies a GRPC HealthCheckRequest. + properties: + port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. + format: int32 + type: integer + service: + default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. + type: string + required: + - port + type: object + httpGet: + description: HTTPGet specifies an HTTP GET request to perform. + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + type: string + httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. + items: + description: HTTPHeader describes a custom header + to be used in HTTP probes + properties: + name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. + type: string + value: + description: The header field value + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + description: Path to access on the HTTP server. + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. + type: string + required: + - port + type: object + initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. + format: int32 + type: integer + successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + format: int32 + type: integer + tcpSocket: + description: TCPSocket specifies a connection to a TCP port. + properties: + host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. + format: int64 + type: integer + timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + type: object + resizePolicy: + description: Resources resize policy for the container. + items: + description: ContainerResizePolicy represents resource resize + policy for the container. + properties: + resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. + type: string + restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + properties: + claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. + items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. + properties: + name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. + type: string + request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + type: object + type: object + restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. + type: string + securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ + properties: + allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. + type: boolean + appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". + type: string + type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. + type: string + required: + - type + type: object + capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. + properties: + add: + description: Added capabilities + items: + description: Capability represent POSIX capabilities + type + type: string + type: array + x-kubernetes-list-type: atomic + drop: + description: Removed capabilities + items: + description: Capability represent POSIX capabilities + type + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. + type: boolean + procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. + type: string + readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. + type: boolean + runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. + format: int64 + type: integer + runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + type: boolean + runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. + format: int64 + type: integer + seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. + properties: + level: + description: Level is SELinux level label that applies + to the container. + type: string + role: + description: Role is a SELinux role label that applies + to the container. + type: string + type: + description: Type is a SELinux type label that applies + to the container. + type: string + user: + description: User is a SELinux user label that applies + to the container. + type: string + type: object + seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. + type: string + type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. + type: string + required: + - type + type: object + windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. + properties: + gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. + type: string + gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. + type: string + hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. + type: boolean + runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + type: string + type: object + type: object + startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + properties: + exec: + description: Exec specifies a command to execute in the + container. + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. + format: int32 + type: integer + grpc: + description: GRPC specifies a GRPC HealthCheckRequest. + properties: + port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. + format: int32 + type: integer + service: + default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. + type: string + required: + - port + type: object + httpGet: + description: HTTPGet specifies an HTTP GET request to perform. + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + type: string + httpHeaders: + description: Custom headers to set in the request. HTTP + allows repeated headers. + items: + description: HTTPHeader describes a custom header + to be used in HTTP probes + properties: + name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. + type: string + value: + description: The header field value + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + description: Path to access on the HTTP server. + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. + type: string + required: + - port + type: object + initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. + format: int32 + type: integer + successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + format: int32 + type: integer + tcpSocket: + description: TCPSocket specifies a connection to a TCP port. + properties: + host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. + format: int64 + type: integer + timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + type: object + stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. + type: boolean + stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false + type: boolean + terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. + type: string + terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. + type: string + tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. + type: boolean + volumeDevices: + description: volumeDevices is the list of block devices to be + used by the container. + items: + description: volumeDevice describes a mapping of a raw block + device within a container. + properties: + devicePath: + description: devicePath is the path inside of the container + that the device will be mapped to. + type: string + name: + description: name must match the name of a persistentVolumeClaim + in the pod + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. + items: + description: VolumeMount describes a mounting of a Volume + within a container. + properties: + mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. + type: string + mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). + type: string + name: + description: This must match the Name of a Volume. + type: string + readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. + type: boolean + recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. + type: string + subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). + type: string + subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. + type: string + required: + - name + type: object + type: array + extraEnv: + items: + description: EnvVar represents an environment variable present in + a Container. + properties: + name: + description: Name of the environment variable. Must be a C_IDENTIFIER. + type: string + value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". + type: string + valueFrom: + description: Source for the environment variable's value. Cannot + be used if value is not empty. + properties: + configMapKeyRef: + description: Selects a key of a ConfigMap. + properties: + key: + description: The key to select. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the ConfigMap or its key + must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + properties: + apiVersion: + description: Version of the schema the FieldPath is + written in terms of, defaults to "v1". + type: string + fieldPath: + description: Path of the field to select in the specified + API version. + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + properties: + containerName: + description: 'Container name: required for volumes, + optional for env vars' + type: string + divisor: + anyOf: + - type: integer + - type: string + description: Specifies the output format of the exposed + resources, defaults to "1" + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + description: 'Required: resource to select' + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + description: Selects a key of a secret in the pod's namespace + properties: + key: + description: The key of the secret to select from. Must + be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or its key must + be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + extraEnvFrom: + items: + description: EnvFromSource represents the source of a set of ConfigMaps + or Secrets + properties: + configMapRef: + description: The ConfigMap to select from + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the ConfigMap must be defined + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + description: Optional text to prepend to the name of each environment + variable. Must be a C_IDENTIFIER. + type: string + secretRef: + description: The Secret to select from + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret must be defined + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + extraVolumeMounts: + items: + description: VolumeMount describes a mounting of a Volume within + a container. + properties: + mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. + type: string + mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). + type: string + name: + description: This must match the Name of a Volume. + type: string + readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. + type: boolean + recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. + type: string + subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). + type: string + subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. + type: string + required: + - mountPath + - name + type: object + type: array + extraVolumes: + items: + description: Volume represents a named volume in a pod that may + be accessed by any container in the pod. + properties: + awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + properties: + fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + type: string + partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". + Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + format: int32 + type: integer + readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + type: boolean + volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + type: string + required: + - volumeID + type: object + azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. + properties: + cachingMode: + description: 'cachingMode is the Host Caching mode: None, + Read Only, Read Write.' + type: string + diskName: + description: diskName is the Name of the data disk in the + blob storage + type: string + diskURI: + description: diskURI is the URI of data disk in the blob + storage + type: string + fsType: + default: ext4 + description: |- + fsType is Filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + type: string + kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single blob + disk per storage account Managed: azure managed data + disk (only in managed availability set). defaults to shared' + type: string + readOnly: + default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. + properties: + readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + type: boolean + secretName: + description: secretName is the name of secret that contains + Azure Storage Account Name and Key + type: string + shareName: + description: shareName is the azure share Name + type: string + required: + - secretName + - shareName + type: object + cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. + properties: + monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + description: 'path is Optional: Used as the mounted root, + rather than the full Ceph tree, default is /' + type: string + readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + type: boolean + secretFile: + description: |- + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + type: string + secretRef: + description: |- + secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + type: string + required: + - monitors + type: object + cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md + type: string + readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md + type: boolean + secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md + type: string + required: + - volumeID + type: object + configMap: + description: configMap represents a configMap that should populate + this volume + properties: + defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + Defaults to 0644. + Directories within the path are not affected by this setting. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. If specified, the listed keys will be + projected into the specified paths, and unlisted keys will not be + present. If a key is specified which is not present in the ConfigMap, + the volume setup will error unless it is marked optional. Paths must be + relative and may not contain the '..' path or start with '..'. + items: + description: Maps a string key to a path within a volume. + properties: + key: + description: key is the key to project. + type: string + mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: optional specify whether the ConfigMap or its + keys must be defined + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + description: csi (Container Storage Interface) represents ephemeral + storage that is handled by certain external CSI drivers. + properties: + driver: + description: |- + driver is the name of the CSI driver that handles this volume. + Consult with your admin for the correct name as registered in the cluster. + type: string + fsType: + description: |- + fsType to mount. Ex. "ext4", "xfs", "ntfs". + If not provided, the empty value is passed to the associated CSI driver + which will determine the default filesystem to apply. + type: string + nodePublishSecretRef: + description: |- + nodePublishSecretRef is a reference to the secret object containing + sensitive information to pass to the CSI driver to complete the CSI + NodePublishVolume and NodeUnpublishVolume calls. + This field is optional, and may be empty if no secret is required. If the + secret object contains more than one secret, all secret references are passed. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). + type: boolean + volumeAttributes: + additionalProperties: + type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. + type: object + required: + - driver + type: object + downwardAPI: + description: downwardAPI represents downward API about the pod + that should populate this volume + properties: + defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + Defaults to 0644. + Directories within the path are not affected by this setting. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + items: + description: Items is a list of downward API volume file + items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field + properties: + fieldRef: + description: 'Required: Selects a field of the pod: + only annotations, labels, name, namespace and uid + are supported.' + properties: + apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". + type: string + fieldPath: + description: Path of the field to select in the + specified API version. + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + path: + description: 'Required: Path is the relative path + name of the file to be created. Must not be absolute + or contain the ''..'' path. Must be utf-8 encoded. + The first item of the relative path must not start + with ''..''' + type: string + resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + properties: + containerName: + description: 'Container name: required for volumes, + optional for env vars' + type: string + divisor: + anyOf: + - type: integer + - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + description: 'Required: resource to select' + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + properties: + medium: + description: |- + medium represents what type of storage medium should back this directory. + The default is "" which means to use the node's default medium. + Must be an empty string (default) or Memory. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + description: |- + sizeLimit is the total amount of local storage required for this EmptyDir volume. + The size limit is also applicable for memory medium. + The maximum usage on memory medium EmptyDir would be the minimum value between + the SizeLimit specified here and the sum of memory limits of all containers in a pod. + The default is nil which means that the limit is undefined. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. + properties: + volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. + properties: + metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. + type: object + spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. + properties: + accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. + properties: + apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. + type: string + kind: + description: Kind is the type of resource being + referenced + type: string + name: + description: Name is the name of resource being + referenced + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + properties: + apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. + type: string + kind: + description: Kind is the type of resource being + referenced + type: string + name: + description: Name is the name of resource being + referenced + type: string + namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + type: string + required: + - kind + - name + type: object + resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + type: object + type: object + selector: + description: selector is a label query over volumes + to consider for binding. + properties: + matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that + the selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + type: string + volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). + type: string + volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. + type: string + volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. + type: string + type: object + required: + - spec + type: object + type: object + fc: + description: fc represents a Fibre Channel resource that is + attached to a kubelet's host machine and then exposed to the + pod. + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + type: string + lun: + description: 'lun is Optional: FC target lun number' + format: int32 + type: integer + readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + type: boolean + targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. + properties: + driver: + description: driver is the name of the driver to use for + this volume. + type: string + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + type: string + options: + additionalProperties: + type: string + description: 'options is Optional: this field holds extra + command options if any.' + type: object + readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + type: boolean + secretRef: + description: |- + secretRef is Optional: secretRef is reference to the secret object containing + sensitive information to pass to the plugin scripts. This may be + empty if no secret object is specified. If the secret object + contains more than one secret, all secrets are passed to the plugin + scripts. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. + properties: + datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated + type: string + datasetUUID: + description: datasetUUID is the UUID of the dataset. This + is unique identifier of a Flocker dataset + type: string + type: object + gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + properties: + fsType: + description: |- + fsType is filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + type: string + partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". + Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + format: int32 + type: integer + pdName: + description: |- + pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + type: string + readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + type: boolean + required: + - pdName + type: object + gitRepo: + description: |- + gitRepo represents a git repository at a particular revision. + Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an + EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir + into the Pod's container. + properties: + directory: + description: |- + directory is the target directory name. + Must not contain or start with '..'. If '.' is supplied, the volume directory will be the + git repository. Otherwise, if specified, the volume will contain the git repository in + the subdirectory with the given name. + type: string + repository: + description: repository is the URL + type: string + revision: + description: revision is the commit hash for the specified + revision. + type: string + required: + - repository + type: object + glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md + properties: + endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + type: string + path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + type: string + readOnly: + description: |- + readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + Defaults to false. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + type: boolean + required: + - endpoints + - path + type: object + hostPath: + description: |- + hostPath represents a pre-existing file or directory on the host + machine that is directly exposed to the container. This is generally + used for system agents or other privileged things that are allowed + to see the host machine. Most containers will NOT need this. + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + properties: + path: + description: |- + path of the directory on the host. + If the path is a symlink, it will follow the link to the real path. + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + type: string + type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + type: string + required: + - path + type: object + image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. + properties: + pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + type: string + reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. + type: string + type: object + iscsi: + description: |- + iscsi represents an ISCSI Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + More info: https://examples.k8s.io/volumes/iscsi/README.md + properties: + chapAuthDiscovery: + description: chapAuthDiscovery defines whether support iSCSI + Discovery CHAP authentication + type: boolean + chapAuthSession: + description: chapAuthSession defines whether support iSCSI + Session CHAP authentication + type: boolean + fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + type: string + initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. + type: string + iqn: + description: iqn is the target iSCSI Qualified Name. + type: string + iscsiInterface: + default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). + type: string + lun: + description: lun represents iSCSI Target Lun number. + format: int32 + type: integer + portals: + description: |- + portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + type: boolean + secretRef: + description: secretRef is the CHAP Secret for iSCSI target + and initiator authentication + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + description: |- + targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + nfs: + description: |- + nfs represents an NFS mount on the host that shares a pod's lifetime + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + properties: + path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + type: string + readOnly: + description: |- + readOnly here will force the NFS export to be mounted with read-only permissions. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + type: boolean + server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + properties: + claimName: + description: |- + claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + type: string + readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + type: string + pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk + type: string + required: + - pdID + type: object + portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. + properties: + fsType: + description: |- + fSType represents the filesystem type to mount + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. + type: string + readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + type: boolean + volumeID: + description: volumeID uniquely identifies a Portworx volume + type: string + required: + - volumeID + type: object + projected: + description: projected items for all in one resources secrets, + configmaps, and downward API + properties: + defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + Directories within the path are not affected by this setting. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. + items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. + properties: + clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. + properties: + labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". + properties: + matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that + the selector applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. + type: string + optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. + type: boolean + path: + description: Relative path from the volume root + to write the bundle. + type: string + signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. + type: string + required: + - path + type: object + configMap: + description: configMap information about the configMap + data to project + properties: + items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. If specified, the listed keys will be + projected into the specified paths, and unlisted keys will not be + present. If a key is specified which is not present in the ConfigMap, + the volume setup will error unless it is marked optional. Paths must be + relative and may not contain the '..' path or start with '..'. + items: + description: Maps a string key to a path within + a volume. + properties: + key: + description: key is the key to project. + type: string + mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: optional specify whether the ConfigMap + or its keys must be defined + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + description: downwardAPI information about the downwardAPI + data to project + properties: + items: + description: Items is a list of DownwardAPIVolume + file + items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field + properties: + fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name, namespace and uid are supported.' + properties: + apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". + type: string + fieldPath: + description: Path of the field to select + in the specified API version. + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + path: + description: 'Required: Path is the relative + path name of the file to be created. Must + not be absolute or contain the ''..'' + path. Must be utf-8 encoded. The first + item of the relative path must not start + with ''..''' + type: string + resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + properties: + containerName: + description: 'Container name: required + for volumes, optional for env vars' + type: string + divisor: + anyOf: + - type: integer + - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + description: 'Required: resource to + select' + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + description: secret information about the secret data + to project + properties: + items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. If specified, the listed keys will be + projected into the specified paths, and unlisted keys will not be + present. If a key is specified which is not present in the Secret, + the volume setup will error unless it is marked optional. Paths must be + relative and may not contain the '..' path or start with '..'. + items: + description: Maps a string key to a path within + a volume. + properties: + key: + description: key is the key to project. + type: string + mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: optional field specify whether the + Secret or its key must be defined + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + description: serviceAccountToken is information about + the serviceAccountToken data to project + properties: + audience: + description: |- + audience is the intended audience of the token. A recipient of a token + must identify itself with an identifier specified in the audience of the + token, and otherwise should reject the token. The audience defaults to the + identifier of the apiserver. + type: string + expirationSeconds: + description: |- + expirationSeconds is the requested duration of validity of the service + account token. As the token approaches expiration, the kubelet volume + plugin will proactively rotate the service account token. The kubelet will + start trying to rotate the token if the token is older than 80 percent of + its time to live or if the token is older than 24 hours.Defaults to 1 hour + and must be at least 10 minutes. + format: int64 + type: integer + path: + description: |- + path is the path relative to the mount point of the file to project the + token into. + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. + properties: + group: + description: |- + group to map volume access to + Default is no group + type: string + readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. + type: boolean + registry: + description: |- + registry represents a single or multiple Quobyte Registry services + specified as a string as host:port pair (multiple entries are separated with commas) + which acts as the central registry for volumes + type: string + tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin + type: string + user: + description: |- + user to map volume access to + Defaults to serivceaccount user + type: string + volume: + description: volume is a string that references an already + created Quobyte volume by name. + type: string + required: + - registry + - volume + type: object + rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md + properties: + fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + type: string + image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + type: string + keyring: + default: /etc/ceph/keyring + description: |- + keyring is the path to key ring for RBDUser. + Default is /etc/ceph/keyring. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + type: string + monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + type: string + readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + type: boolean + secretRef: + description: |- + secretRef is name of the authentication secret for RBDUser. If provided + overrides keyring. + Default is nil. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + user: + default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + type: string + required: + - image + - monitors + type: object + scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. + properties: + fsType: + default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". + type: string + gateway: + description: gateway is the host address of the ScaleIO + API Gateway. + type: string + protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. + type: string + readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + type: boolean + secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false + type: boolean + storageMode: + default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. + type: string + storagePool: + description: storagePool is the ScaleIO Storage Pool associated + with the protection domain. + type: string + system: + description: system is the name of the storage system as + configured in ScaleIO. + type: string + volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + properties: + defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. Defaults to 0644. + Directories within the path are not affected by this setting. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + items: + description: |- + items If unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. If specified, the listed keys will be + projected into the specified paths, and unlisted keys will not be + present. If a key is specified which is not present in the Secret, + the volume setup will error unless it is marked optional. Paths must be + relative and may not contain the '..' path or start with '..'. + items: + description: Maps a string key to a path within a volume. + properties: + key: + description: key is the key to project. + type: string + mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + format: int32 + type: integer + path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + description: optional field specify whether the Secret or + its keys must be defined + type: boolean + secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + type: string + type: object + storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + type: string + readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + type: boolean + secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. + type: string + volumeNamespace: + description: |- + volumeNamespace specifies the scope of the volume within StorageOS. If no + namespace is specified then the Pod's namespace will be used. This allows the + Kubernetes name scoping to be mirrored within StorageOS for tighter integration. + Set VolumeName to any name to override the default behaviour. + Set to "default" if you are not using namespaces within StorageOS. + Namespaces that do not pre-exist within StorageOS will be created. + type: string + type: object + vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. + properties: + fsType: + description: |- + fsType is filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + type: string + storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. + type: string + storagePolicyName: + description: storagePolicyName is the storage Policy Based + Management (SPBM) profile name. + type: string + volumePath: + description: volumePath is the path that identifies vSphere + volume vmdk + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + image: + properties: + pullPolicy: + description: PullPolicy describes a policy for if/when to pull + a container image + type: string + registry: + type: string + repository: + type: string + tag: + type: string + type: object + imagePullSecrets: + items: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + type: array + ingress: + properties: + annotations: + additionalProperties: + type: string + type: object + className: + type: string + enabled: + type: boolean + hosts: + items: + properties: + host: + type: string + paths: + items: + properties: + path: + type: string + pathType: + description: PathType represents the type of path + referred to by a HTTPIngressPath. + type: string + type: object + type: array + type: object + type: array + tls: + items: + description: IngressTLS describes the transport layer security + associated with an ingress. + properties: + hosts: + description: |- + hosts is a list of hosts included in the TLS certificate. The values in + this list must match the name/s used in the tlsSecret. Defaults to the + wildcard host setting for the loadbalancer controller fulfilling this + Ingress, if left unspecified. + items: + type: string + type: array + x-kubernetes-list-type: atomic + secretName: + description: |- + secretName is the name of the secret used to terminate TLS traffic on + port 443. Field is left optional to allow TLS routing based on SNI + hostname alone. If the SNI host in a listener conflicts with the "Host" + header field used by an IngressRule, the SNI host is used for termination + and value of the "Host" header is used for routing. + type: string + type: object + type: array + type: object + licenseSecretRef: + description: SecretKeySelector selects a key of a Secret. + properties: + key: + description: The key of the secret to select from. Must be a + valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + livenessProbe: + description: |- + Probe describes a health check to be performed against a container to determine whether it is + alive or ready to receive traffic. + properties: + exec: + description: Exec specifies a command to execute in the container. + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. + format: int32 + type: integer + grpc: + description: GRPC specifies a GRPC HealthCheckRequest. + properties: + port: + description: Port number of the gRPC service. Number must + be in the range 1 to 65535. + format: int32 + type: integer + service: + default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. + type: string + required: + - port + type: object + httpGet: + description: HTTPGet specifies an HTTP GET request to perform. + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + type: string + httpHeaders: + description: Custom headers to set in the request. HTTP allows + repeated headers. + items: + description: HTTPHeader describes a custom header to be + used in HTTP probes + properties: + name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. + type: string + value: + description: The header field value + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + description: Path to access on the HTTP server. + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. + type: string + required: + - port + type: object + initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. + format: int32 + type: integer + successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + format: int32 + type: integer + tcpSocket: + description: TCPSocket specifies a connection to a TCP port. + properties: + host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. + format: int64 + type: integer + timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + type: object + nodeSelector: + additionalProperties: + type: string + type: object + podAnnotations: + additionalProperties: + type: string + type: object + podLabels: + additionalProperties: + type: string + type: object + podSecurityContext: + description: |- + PodSecurityContext holds pod-level security attributes and common container settings. + Some fields are also present in container.securityContext. Field values of + container.securityContext take precedence over field values of PodSecurityContext. + properties: + appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". + type: string + type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. + type: string + required: + - type + type: object + fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. + format: int64 + type: integer + fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. + type: string + runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. + format: int64 + type: integer + runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + type: boolean + runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. + format: int64 + type: integer + seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. + type: string + seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. + properties: + level: + description: Level is SELinux level label that applies to + the container. + type: string + role: + description: Role is a SELinux role label that applies to + the container. + type: string + type: + description: Type is a SELinux type label that applies to + the container. + type: string + user: + description: User is a SELinux user label that applies to + the container. + type: string + type: object + seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. + type: string + type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. + type: string + required: + - type + type: object + supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. + type: string + sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. + items: + description: Sysctl defines a kernel parameter to be set + properties: + name: + description: Name of a property to set + type: string + value: + description: Value of a property to set + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. + properties: + gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. + type: string + gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. + type: string + hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. + type: boolean + runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + type: string + type: object + type: object + priorityClassName: + type: string + readinessProbe: + description: |- + Probe describes a health check to be performed against a container to determine whether it is + alive or ready to receive traffic. + properties: + exec: + description: Exec specifies a command to execute in the container. + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. + format: int32 + type: integer + grpc: + description: GRPC specifies a GRPC HealthCheckRequest. + properties: + port: + description: Port number of the gRPC service. Number must + be in the range 1 to 65535. + format: int32 + type: integer + service: + default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. + type: string + required: + - port + type: object + httpGet: + description: HTTPGet specifies an HTTP GET request to perform. + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + type: string + httpHeaders: + description: Custom headers to set in the request. HTTP allows + repeated headers. + items: + description: HTTPHeader describes a custom header to be + used in HTTP probes + properties: + name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. + type: string + value: + description: The header field value + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + description: Path to access on the HTTP server. + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. + type: string + required: + - port + type: object + initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. + format: int32 + type: integer + successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + format: int32 + type: integer + tcpSocket: + description: TCPSocket specifies a connection to a TCP port. + properties: + host: + description: 'Optional: Host name to connect to, defaults + to the pod IP.' + type: string + port: + anyOf: + - type: integer + - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. + format: int64 + type: integer + timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + format: int32 + type: integer + type: object + replicaCount: + format: int32 + type: integer + resources: + description: ResourceRequirements describes the compute resource requirements. + properties: + claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. + items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. + properties: + name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. + type: string + request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + type: object + type: object + secret: + properties: + authentication: + properties: + jwtSigningKey: + type: string + oidc: + properties: + clientSecret: + type: string + type: object + type: object + create: + type: boolean + kafka: + properties: + awsMskIamSecretKey: + type: string + saslPassword: + type: string + tlsCa: + type: string + tlsCert: + type: string + tlsKey: + type: string + tlsPassphrase: + type: string + type: object + license: + type: string + redpanda: + properties: + adminApi: + properties: + password: + type: string + tlsCa: + type: string + tlsCert: + type: string + tlsKey: + type: string + type: object + type: object + schemaRegistry: + properties: + bearerToken: + type: string + password: + type: string + tlsCa: + type: string + tlsCert: + type: string + tlsKey: + type: string + type: object + serde: + properties: + protobufGitBasicAuthPassword: + type: string + type: object + type: object + secretMounts: + items: + properties: + defaultMode: + format: int32 + type: integer + name: + type: string + path: + type: string + secretName: + type: string + subPath: + type: string + type: object + type: array + securityContext: + description: |- + SecurityContext holds security configuration that will be applied to a container. + Some fields are present in both SecurityContext and PodSecurityContext. When both + are set, the values in SecurityContext take precedence. + properties: + allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. + type: boolean + appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". + type: string + type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. + type: string + required: + - type + type: object + capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. + properties: + add: + description: Added capabilities + items: + description: Capability represent POSIX capabilities type + type: string + type: array + x-kubernetes-list-type: atomic + drop: + description: Removed capabilities + items: + description: Capability represent POSIX capabilities type + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. + type: boolean + procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. + type: string + readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. + type: boolean + runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. + format: int64 + type: integer + runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + type: boolean + runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. + format: int64 + type: integer + seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. + properties: + level: + description: Level is SELinux level label that applies to + the container. + type: string + role: + description: Role is a SELinux role label that applies to + the container. + type: string + type: + description: Type is a SELinux type label that applies to + the container. + type: string + user: + description: User is a SELinux user label that applies to + the container. + type: string + type: object + seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. + properties: + localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. + type: string + type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. + type: string + required: + - type + type: object + windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. + properties: + gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. + type: string + gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. + type: string + hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. + type: boolean + runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + type: string + type: object + type: object + service: + properties: + annotations: + additionalProperties: + type: string + type: object + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + targetPort: + format: int32 + type: integer + type: + description: Service Type string describes ingress methods for + a service + type: string + type: object + serviceAccount: + properties: + annotations: + additionalProperties: + type: string + type: object + automountServiceAccountToken: + type: boolean + name: + type: string + type: object + strategy: + description: DeploymentStrategy describes how to replace existing + pods with new ones. + properties: + rollingUpdate: + description: |- + Rolling update config params. Present only if DeploymentStrategyType = + RollingUpdate. + properties: + maxSurge: + anyOf: + - type: integer + - type: string + description: |- + The maximum number of pods that can be scheduled above the desired number of + pods. + Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). + This can not be 0 if MaxUnavailable is 0. + Absolute number is calculated from percentage by rounding up. + Defaults to 25%. + Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when + the rolling update starts, such that the total number of old and new pods do not exceed + 130% of desired pods. Once old pods have been killed, + new ReplicaSet can be scaled up further, ensuring that total number of pods running + at any time during the update is at most 130% of desired pods. + x-kubernetes-int-or-string: true + maxUnavailable: + anyOf: + - type: integer + - type: string + description: |- + The maximum number of pods that can be unavailable during the update. + Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). + Absolute number is calculated from percentage by rounding down. + This can not be 0 if MaxSurge is 0. + Defaults to 25%. + Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods + immediately when the rolling update starts. Once new pods are ready, old ReplicaSet + can be scaled down further, followed by scaling up the new ReplicaSet, ensuring + that the total number of pods available at all times during the update is at + least 70% of desired pods. + x-kubernetes-int-or-string: true + type: object + type: + description: Type of deployment. Can be "Recreate" or "RollingUpdate". + Default is RollingUpdate. + type: string + type: object + tolerations: + items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . + properties: + effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + type: string + key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. + type: string + operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. + type: string + tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. + format: int64 + type: integer + value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. + type: string + type: object + type: array + topologySpreadConstraints: + items: + description: TopologySpreadConstraint specifies how to spread matching + pods among the given topology. + properties: + labelSelector: + description: |- + LabelSelector is used to find matching pods. + Pods that match this label selector are counted to determine the number of pods + in their corresponding topology domain. + properties: + matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. + items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: key is the label key that the selector + applies to. + type: string + operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. + type: string + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select the pods over which + spreading will be calculated. The keys are used to lookup values from the + incoming pod labels, those key-value labels are ANDed with labelSelector + to select the group of existing pods over which spreading will be calculated + for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + MatchLabelKeys cannot be set when LabelSelector isn't set. + Keys that don't exist in the incoming pod labels will + be ignored. A null or empty list means only match against labelSelector. + + This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + description: |- + MaxSkew describes the degree to which pods may be unevenly distributed. + When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference + between the number of matching pods in the target topology and the global minimum. + The global minimum is the minimum number of matching pods in an eligible domain + or zero if the number of eligible domains is less than MinDomains. + For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + labelSelector spread as 2/2/1: + In this case, the global minimum is 1. + | zone1 | zone2 | zone3 | + | P P | P P | P | + - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; + scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) + violate MaxSkew(1). + - if MaxSkew is 2, incoming pod can be scheduled onto any zone. + When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence + to topologies that satisfy it. + It's a required field. Default value is 1 and 0 is not allowed. + format: int32 + type: integer + minDomains: + description: |- + MinDomains indicates a minimum number of eligible domains. + When the number of eligible domains with matching topology keys is less than minDomains, + Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. + And when the number of eligible domains with matching topology keys equals or greater than minDomains, + this value has no effect on scheduling. + As a result, when the number of eligible domains is less than minDomains, + scheduler won't schedule more than maxSkew Pods to those domains. + If value is nil, the constraint behaves as if MinDomains is equal to 1. + Valid values are integers greater than 0. + When value is not nil, WhenUnsatisfiable must be DoNotSchedule. + + For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same + labelSelector spread as 2/2/2: + | zone1 | zone2 | zone3 | + | P P | P P | P P | + The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. + In this situation, new pod with the same labelSelector cannot be scheduled, + because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, + it will violate MaxSkew. + format: int32 + type: integer + nodeAffinityPolicy: + description: |- + NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + when calculating pod topology spread skew. Options are: + - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. + - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. + + If this value is nil, the behavior is equivalent to the Honor policy. + type: string + nodeTaintsPolicy: + description: |- + NodeTaintsPolicy indicates how we will treat node taints when calculating + pod topology spread skew. Options are: + - Honor: nodes without taints, along with tainted nodes for which the incoming pod + has a toleration, are included. + - Ignore: node taints are ignored. All nodes are included. + + If this value is nil, the behavior is equivalent to the Ignore policy. + type: string + topologyKey: + description: |- + TopologyKey is the key of node labels. Nodes that have a label with this key + and identical values are considered to be in the same topology. + We consider each as a "bucket", and try to put balanced number + of pods into each bucket. + We define a domain as a particular instance of a topology. + Also, we define an eligible domain as a domain whose nodes meet the requirements of + nodeAffinityPolicy and nodeTaintsPolicy. + e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. + And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. + It's a required field. + type: string + whenUnsatisfiable: + description: |- + WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + the spread constraint. + - DoNotSchedule (default) tells the scheduler not to schedule it. + - ScheduleAnyway tells the scheduler to schedule the pod in any location, + but giving higher precedence to topologies that would help reduce the + skew. + A constraint is considered "Unsatisfiable" for an incoming pod + if and only if every possible node assignment for that pod would violate + "MaxSkew" on some topology. + For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + labelSelector spread as 3/1/1: + | zone1 | zone2 | zone3 | + | P P P | P | P | + If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled + to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies + MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler + won't make it *more* imbalanced. + It's a required field. + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + type: object + status: + properties: + availableReplicas: + description: Total number of available non-terminating pods (ready + for at least minReadySeconds) targeted by this Console's Deployment. + format: int32 + type: integer + observedGeneration: + description: The generation observed by the Console controller. + format: int64 + type: integer + readyReplicas: + description: Total number of non-terminating pods targeted by this + Console's Deployment with a Ready Condition. + format: int32 + type: integer + replicas: + description: Total number of non-terminating Pods targeted by this + Console's Deployment. + format: int32 + type: integer + unavailableReplicas: + description: |- + Total number of unavailable pods targeted by this deployment. This is the total number of + pods that are still required for the deployment to have 100% available capacity. They may + either be pods that are running but not yet available or pods that still have not been created. + format: int32 + type: integer + updatedReplicas: + description: Total number of non-terminating pods targeted by this + Console's Deployment that have the desired template spec. + format: int32 + type: integer + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/operator/config/crd/bases/cluster.redpanda.com_redpandas.yaml b/operator/config/crd/bases/cluster.redpanda.com_redpandas.yaml index da0cabfe8..46a922880 100644 --- a/operator/config/crd/bases/cluster.redpanda.com_redpandas.yaml +++ b/operator/config/crd/bases/cluster.redpanda.com_redpandas.yaml @@ -1499,7 +1499,9 @@ spec: type: array type: object console: - description: Defines Redpanda Console settings. + description: |- + Defines Redpanda Console settings. + Deprecated: Use the dedicated Console CRD. properties: affinity: description: Defines affinity rules for Pod assignment. @@ -22607,7 +22609,9 @@ spec: type: array type: object console: - description: Defines Redpanda Console settings. + description: |- + Defines Redpanda Console settings. + Deprecated: Use the dedicated Console CRD. properties: affinity: description: Defines affinity rules for Pod assignment. diff --git a/operator/config/crd/bases/crds.go b/operator/config/crd/bases/crds.go index b3d2ed302..d06a53ed8 100644 --- a/operator/config/crd/bases/crds.go +++ b/operator/config/crd/bases/crds.go @@ -89,6 +89,11 @@ func Redpanda() *apiextensionsv1.CustomResourceDefinition { return mustT(ByName("redpandas.cluster.redpanda.com")) } +// Console returns the Redpanda CustomResourceDefinition. +func Console() *apiextensionsv1.CustomResourceDefinition { + return mustT(ByName("consoles.cluster.redpanda.com")) +} + // Topic returns the Topic CustomResourceDefinition. func Topic() *apiextensionsv1.CustomResourceDefinition { return mustT(ByName("topics.cluster.redpanda.com")) @@ -119,13 +124,13 @@ func ShadowLink() *apiextensionsv1.CustomResourceDefinition { return mustT(ByName("shadowlinks.cluster.redpanda.com")) } -// Cluster returns the Cluster CustomResourceDefinition. -func Cluster() *apiextensionsv1.CustomResourceDefinition { +// VectorizedCluster returns the Cluster CustomResourceDefinition. +func VectorizedCluster() *apiextensionsv1.CustomResourceDefinition { return mustT(ByName("clusters.redpanda.vectorized.io")) } // Console returns the Console CustomResourceDefinition. -func Console() *apiextensionsv1.CustomResourceDefinition { +func VectorizedConsole() *apiextensionsv1.CustomResourceDefinition { return mustT(ByName("consoles.redpanda.vectorized.io")) } diff --git a/operator/config/crd/bases/crds_test.go b/operator/config/crd/bases/crds_test.go index f23b3bdd1..e68869864 100644 --- a/operator/config/crd/bases/crds_test.go +++ b/operator/config/crd/bases/crds_test.go @@ -20,14 +20,15 @@ import ( func TestCRDS(t *testing.T) { names := map[string]struct{}{ "clusters.redpanda.vectorized.io": {}, + "consoles.cluster.redpanda.com": {}, "consoles.redpanda.vectorized.io": {}, + "nodepools.cluster.redpanda.com": {}, "redpandas.cluster.redpanda.com": {}, "roles.cluster.redpanda.com": {}, "schemas.cluster.redpanda.com": {}, + "shadowlinks.cluster.redpanda.com": {}, "topics.cluster.redpanda.com": {}, "users.cluster.redpanda.com": {}, - "nodepools.cluster.redpanda.com": {}, - "shadowlinks.cluster.redpanda.com": {}, } foundNames := map[string]struct{}{} @@ -37,11 +38,12 @@ func TestCRDS(t *testing.T) { require.Equal(t, names, foundNames) + require.Equal(t, "consoles.cluster.redpanda.com", crds.Console().Name) + require.Equal(t, "nodepools.cluster.redpanda.com", crds.NodePool().Name) require.Equal(t, "redpandas.cluster.redpanda.com", crds.Redpanda().Name) - require.Equal(t, "topics.cluster.redpanda.com", crds.Topic().Name) - require.Equal(t, "users.cluster.redpanda.com", crds.User().Name) require.Equal(t, "roles.cluster.redpanda.com", crds.Role().Name) require.Equal(t, "schemas.cluster.redpanda.com", crds.Schema().Name) - require.Equal(t, "nodepools.cluster.redpanda.com", crds.NodePool().Name) require.Equal(t, "shadowlinks.cluster.redpanda.com", crds.ShadowLink().Name) + require.Equal(t, "topics.cluster.redpanda.com", crds.Topic().Name) + require.Equal(t, "users.cluster.redpanda.com", crds.User().Name) } diff --git a/operator/config/rbac/bases/operator/role.yaml b/operator/config/rbac/bases/operator/role.yaml index 554fc6a82..ddcd6ab35 100644 --- a/operator/config/rbac/bases/operator/role.yaml +++ b/operator/config/rbac/bases/operator/role.yaml @@ -145,6 +145,7 @@ rules: - apiGroups: - cluster.redpanda.com resources: + - consoles - nodepools - redpandas verbs: @@ -158,18 +159,7 @@ rules: - apiGroups: - cluster.redpanda.com resources: - - nodepools/finalizers - - redpandas/finalizers - - roles/finalizers - - schemas/finalizers - - shadowlinks/finalizers - - topics/finalizers - - users/finalizers - verbs: - - update -- apiGroups: - - cluster.redpanda.com - resources: + - consoles/status - nodepools/status - redpandas/status - roles/status @@ -181,6 +171,18 @@ rules: - get - patch - update +- apiGroups: + - cluster.redpanda.com + resources: + - nodepools/finalizers + - redpandas/finalizers + - roles/finalizers + - schemas/finalizers + - shadowlinks/finalizers + - topics/finalizers + - users/finalizers + verbs: + - update - apiGroups: - cluster.redpanda.com resources: diff --git a/operator/config/rbac/itemized/console.yaml b/operator/config/rbac/itemized/console.yaml new file mode 100644 index 000000000..bf8102a4f --- /dev/null +++ b/operator/config/rbac/itemized/console.yaml @@ -0,0 +1,77 @@ +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: console +rules: +- apiGroups: + - "" + resources: + - configmaps + - secrets + - serviceaccounts + - services + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - cluster.redpanda.com + resources: + - consoles/status + verbs: + - get + - patch + - update +- apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch diff --git a/operator/crd-docs-templates/type.tpl b/operator/crd-docs-templates/type.tpl index 6c1d99b5b..095675e10 100644 --- a/operator/crd-docs-templates/type.tpl +++ b/operator/crd-docs-templates/type.tpl @@ -1,6 +1,6 @@ {{- define "type" -}} {{- $type := . -}} -{{- if asciidocShouldRenderType $type -}} +{{- if and (asciidocShouldRenderType $type) (not $type.Markers.hidefromdoc) -}} [id="{{ asciidocTypeID $type | asciidocRenderAnchorID }}"] ==== {{ $type.Name }} @@ -16,10 +16,17 @@ {{- end }} {{- end }} -{{ if $type.References -}} +{{- $references := list -}} +{{- range $type.SortedReferences -}} +{{- if (not .Markers.hidefromdoc) -}} +{{- $references = (append $references .) -}} +{{- end -}} +{{- end }} + +{{ if $references -}} .Appears In: **** -{{- range $type.SortedReferences }} +{{- range $references }} - {{ asciidocRenderTypeLink . }} {{- end }} **** diff --git a/operator/crd-ref-docs-config.yaml b/operator/crd-ref-docs-config.yaml index 2cf0d29df..6489a5c70 100644 --- a/operator/crd-ref-docs-config.yaml +++ b/operator/crd-ref-docs-config.yaml @@ -11,6 +11,8 @@ processor: customMarkers: - name: "hidefromdoc" target: field + - name: "hidefromdoc" + target: type render: kubernetesVersion: 1.28 diff --git a/operator/go.mod b/operator/go.mod index d52cd3562..95b8ffa75 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -14,6 +14,7 @@ require ( github.com/fsnotify/fsnotify v1.9.0 github.com/go-logr/logr v1.4.3 github.com/google/gofuzz v1.2.0 + github.com/imdario/mergo v0.3.16 github.com/jcmturner/gokrb5/v8 v8.4.4 github.com/json-iterator/go v1.1.12 github.com/moby/moby v24.0.7+incompatible @@ -27,6 +28,7 @@ require ( github.com/redpanda-data/common-go/rpadmin v0.1.17-0.20250918052456-493894730cb7 github.com/redpanda-data/console/backend v0.0.0-20250915195818-3cd9fabec94b github.com/redpanda-data/redpanda-operator/charts/console v0.0.0-20250718150737-e01f8476d560 + github.com/redpanda-data/redpanda-operator/charts/console/v3 v3.1.0 github.com/redpanda-data/redpanda-operator/charts/redpanda/v25 v25.0.0 github.com/redpanda-data/redpanda-operator/gotohelm v1.2.1-0.20250909192010-c59ff494d04a github.com/redpanda-data/redpanda-operator/pkg v0.0.0-20250528175436-e8cca0053dc6 @@ -185,7 +187,6 @@ require ( github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/homeport/dyff v1.7.1 // indirect github.com/huandu/xstrings v1.5.0 // indirect - github.com/imdario/mergo v0.3.16 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/invopop/jsonschema v0.12.0 // indirect github.com/jcmturner/aescts/v2 v2.0.0 // indirect @@ -256,7 +257,6 @@ require ( github.com/prometheus/procfs v0.17.0 // indirect github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect github.com/redpanda-data/common-go/secrets v0.1.3 // indirect - github.com/redpanda-data/redpanda-operator/charts/console/v3 v3.1.0 // indirect github.com/rivo/uniseg v0.4.7 // indirect github.com/rogpeppe/go-internal v1.14.1 // indirect github.com/rubenv/sql-migrate v1.8.0 // indirect diff --git a/operator/internal/controller/console/controller.go b/operator/internal/controller/console/controller.go new file mode 100644 index 000000000..f27eed2ab --- /dev/null +++ b/operator/internal/controller/console/controller.go @@ -0,0 +1,358 @@ +// Copyright 2025 Redpanda Data, Inc. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.md +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0 + +package console + +import ( + "context" + "fmt" + "math/rand" + "reflect" + "time" + + "github.com/cockroachdb/errors" + "github.com/imdario/mergo" + appsv1 "k8s.io/api/apps/v1" + corev1 "k8s.io/api/core/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/utils/ptr" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" + + "github.com/redpanda-data/redpanda-operator/charts/console/v3" + redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" + "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2/conversion" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" + "github.com/redpanda-data/redpanda-operator/operator/pkg/functional" + "github.com/redpanda-data/redpanda-operator/pkg/kube" + "github.com/redpanda-data/redpanda-operator/pkg/otelutil/log" +) + +const ( + finalizerKey = "operator.redpanda.com/finalizer" + managedByService = "redpanda-operator" +) + +// console resources +// +kubebuilder:rbac:groups=cluster.redpanda.com,resources=consoles,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=cluster.redpanda.com,resources=consoles/status,verbs=get;update;patch +// +kubebuilder:rbac:groups=autoscaling,resources=horizontalpodautoscalers,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=core,resources=configmaps;secrets;services;serviceaccounts,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete + +type Controller struct { + Ctl *kube.Ctl + + // rng is used to generate Console's JWT Signing keys, if they're not + // explicitly specified. If nil, SetupWithManager will set it with a seeded + // value. + rng *rand.Rand +} + +func (c *Controller) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error { + // If rng is not set for testing, create and seed a new one. + if c.rng == nil { + // TODO: Weak RNG is probably acceptable here but best to doublecheck + c.rng = rand.New(rand.NewSource(time.Now().UnixMicro())) //nolint:gosec + } + + builder := ctrl.NewControllerManagedBy(mgr) + + // NB: As of writing, all console types are namespace scoped. + for _, t := range console.Types() { + builder = builder.Owns(t) + } + + eventHandler, err := controller.RegisterClusterSourceIndex(ctx, mgr, "console", &redpandav1alpha2.Console{}, &redpandav1alpha2.ConsoleList{}) + if err != nil { + return err + } + + return builder. + For(&redpandav1alpha2.Console{}). + // Configure a watch on redpandas using controller-runtime's indexing. + // If a redpanda is updated, any console's referring to it will be + // re-reconciled. + Watches(&redpandav1alpha2.Redpanda{}, eventHandler). + Complete(c) +} + +func (c *Controller) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { + cr, err := kube.Get[redpandav1alpha2.Console](ctx, c.Ctl, req.NamespacedName) + if err != nil { + if apierrors.IsNotFound(err) { + return ctrl.Result{}, nil + } + return ctrl.Result{}, err + } + + syncer, err := c.syncerFor(cr) + if err != nil { + return ctrl.Result{}, err + } + + // If we're being deleted, clean up any left over objects and remove the + // finalizer. As of writing, there are no Cluster scope resources deployed + // so we don't NEED to use a finalizer. It's here to prevent accidents if + // we need cluster scoped resources one day. + if !cr.DeletionTimestamp.IsZero() { + log.Info(ctx, "GC'ing Console", "key", kube.AsKey(cr)) + + if controllerutil.RemoveFinalizer(cr, finalizerKey) { + if _, err := syncer.DeleteAll(ctx); err != nil { + return ctrl.Result{}, err + } + } + + // Clean up the JWT secret, if it exists. + if err := c.Ctl.Delete(ctx, &corev1.Secret{ + ObjectMeta: metav1.ObjectMeta{ + Name: c.jwtSecretName(cr), + Namespace: cr.Namespace, + }, + }); err != nil && !apierrors.IsNotFound(err) { + return ctrl.Result{}, err + } + + // NB: Apply can't be used to remove finalizers. + if err := c.Ctl.Update(ctx, cr); err != nil { + return ctrl.Result{}, err + } + + return ctrl.Result{}, nil + } + + log.Info(ctx, "reconciling Console", "key", kube.AsKey(cr)) + + // Add the finalizer, if not present. + if controllerutil.AddFinalizer(cr, finalizerKey) { + if err := c.Ctl.Apply(ctx, cr, client.ForceOwnership); err != nil { + return ctrl.Result{}, err + } + } + + if err := c.maybeSetJWTToken(ctx, cr); err != nil { + return ctrl.Result{}, err + } + + objs, err := syncer.Sync(ctx) + if err != nil { + return ctrl.Result{}, err + } + + for _, obj := range objs { + switch obj := obj.(type) { + case *appsv1.Deployment: + // Only advance ObservedGeneration if we've successfully applied a + // Deployment. + cr.Status.ObservedGeneration = cr.Generation + + cr.Status.AvailableReplicas = obj.Status.AvailableReplicas + cr.Status.ReadyReplicas = obj.Status.ReadyReplicas + cr.Status.Replicas = obj.Status.Replicas + cr.Status.UnavailableReplicas = obj.Status.UnavailableReplicas + cr.Status.UpdatedReplicas = obj.Status.UpdatedReplicas + } + } + + if err := c.Ctl.ApplyStatus(ctx, cr, client.ForceOwnership); err != nil { + return ctrl.Result{}, err + } + + return ctrl.Result{}, nil +} + +func (c *Controller) syncerFor(cr *redpandav1alpha2.Console) (*kube.Syncer, error) { + gvk, err := kube.GVKFor(c.Ctl.Scheme(), cr) + if err != nil { + return nil, err + } + + return &kube.Syncer{ + Ctl: c.Ctl, + Namespace: cr.Namespace, + Renderer: c.rendererFor(cr), + Owner: *metav1.NewControllerRef(cr, gvk), + OwnershipLabels: c.ownershipLabelsFor(cr), + }, nil +} + +func (c *Controller) ownershipLabelsFor(cr *redpandav1alpha2.Console) map[string]string { + return map[string]string{ + // These labels are technically applied by the chart but we re-apply them + // here so we can use them to manage resource ownership as well. + "app.kubernetes.io/name": console.ChartName, + "app.kubernetes.io/managed-by": managedByService, + "app.kubernetes.io/instance": cr.Name, + } +} + +func (c *Controller) rendererFor(console *redpandav1alpha2.Console) *render { + return &render{ + ctl: c.Ctl, + console: console, + labels: c.ownershipLabelsFor(console), + } +} + +func (c *Controller) randKey() []byte { + key := make([]byte, 32) + for i := range key { + // Printable ASCII characters are in the range 31-127. + key[i] = byte(c.rng.Intn(127-31) + 31) + } + return key +} + +func (c *Controller) jwtSecretName(cr *redpandav1alpha2.Console) string { + return fmt.Sprintf("%s-jwt-secret", cr.Name) +} + +// maybeSetJWTToken idempotently sets the [Console]'s JWTSigningKey, if one is +// not explicitly provided. +// +// This generated key is stored in an immutable secret that is managed outside +// of the Syncer to prevent re-minting. +func (c *Controller) maybeSetJWTToken(ctx context.Context, cr *redpandav1alpha2.Console) error { + explicitJWTKey := cr.Spec.Secret.Authentication != nil && cr.Spec.Secret.Authentication.JWTSigningKey != nil + if explicitJWTKey { + return nil + } + + name := c.jwtSecretName(cr) + + secret, err := kube.Get[corev1.Secret](ctx, c.Ctl, kube.ObjectKey{Namespace: cr.Namespace, Name: name}) + if err != nil && !apierrors.IsNotFound(err) { + return err + } + + if secret == nil { + gvk, err := kube.GVKFor(c.Ctl.Scheme(), cr) + if err != nil { + return err + } + + // NB: Create and Immutable are used here to ensure that key generation + // is idempotent. Immutable prevents accidental updates or changes and + // Create prevents race conditions from causing a re-mint. + secret, err = kube.Create(ctx, c.Ctl, corev1.Secret{ + ObjectMeta: metav1.ObjectMeta{ + Name: name, + Namespace: cr.Namespace, + // NB: ownership labels are explicitly NOT set here. This + // object is out of scope of the syncer. + OwnerReferences: []metav1.OwnerReference{ + *metav1.NewControllerRef(cr, gvk), + }, + }, + Immutable: ptr.To(true), + Data: map[string][]byte{ + "key": c.randKey(), + }, + }) + if err != nil { + return err + } + } + + if cr.Spec.Secret.Authentication == nil { + cr.Spec.Secret.Authentication = &redpandav1alpha2.AuthenticationSecrets{} + } + + cr.Spec.Secret.Authentication.JWTSigningKey = ptr.To(string(secret.Data["key"])) + + return nil +} + +// render implements [kube.Renderer]. +type render struct { + ctl *kube.Ctl + labels map[string]string + console *redpandav1alpha2.Console +} + +func (r *render) Types() []kube.Object { + return console.Types() +} + +func (r *render) Render(ctx context.Context) ([]kube.Object, error) { + state, err := r.state(ctx) + if err != nil { + return nil, err + } + + objs := console.Render(state) + + return functional.Filter(objs, func(obj kube.Object) bool { + return !reflect.ValueOf(obj).IsNil() + }), nil +} + +func (r *render) state(ctx context.Context) (*console.RenderState, error) { + clusterValues, err := r.clusterFragment(ctx) + if err != nil { + return nil, err + } + + // Convert the Console CR into chart values. + userValues, err := redpandav1alpha2.ConvertConsoleToConsolePartialRenderValues(&r.console.Spec.ConsoleValues) + if err != nil { + return nil, errors.WithStack(err) + } + + // Merge the user values into the generated cluster configuration. + if err := mergo.Merge(&clusterValues, userValues, mergo.WithAppendSlice); err != nil { + return nil, errors.WithStack(err) + } + + return console.NewRenderState(r.console.Namespace, r.console.Name, r.labels, clusterValues) +} + +// clusterFragment returns a [console.PartialRenderValues] containing details +// on how to connect to the cluster specified in ClusterSource. +func (r *render) clusterFragment(ctx context.Context) (console.PartialRenderValues, error) { + if r.console.Spec.ClusterSource == nil { + return console.PartialRenderValues{}, nil + } + + if ref := r.console.Spec.ClusterSource.ClusterRef; ref != nil { + key := kube.ObjectKey{ + Name: ref.Name, + Namespace: r.console.Namespace, + } + + // TODO: Add support for vectorized clusters? + var rp redpandav1alpha2.Redpanda + if err := r.ctl.Get(ctx, key, &rp); err != nil { + return console.PartialRenderValues{}, err + } + + state, err := conversion.ConvertV2ToRenderState(nil, &conversion.V2Defaulters{ + RedpandaImage: func(ri *redpandav1alpha2.RedpandaImage) *redpandav1alpha2.RedpandaImage { return ri }, + SidecarImage: func(ri *redpandav1alpha2.RedpandaImage) *redpandav1alpha2.RedpandaImage { return ri }, + }, &rp, nil) + if err != nil { + return console.PartialRenderValues{}, err + } + + cfg := state.AsStaticConfigSource() + return console.StaticConfigurationSourceToPartialRenderValues(&cfg), nil + } + + if cfg := r.console.Spec.ClusterSource.StaticConfiguration; cfg != nil { + irCfg := redpandav1alpha2.ConvertStaticConfigToIR(r.console.Namespace, cfg) + + return console.StaticConfigurationSourceToPartialRenderValues(irCfg), nil + } + + return console.PartialRenderValues{}, nil +} diff --git a/operator/internal/controller/console/controller_test.go b/operator/internal/controller/console/controller_test.go new file mode 100644 index 000000000..233d1ed51 --- /dev/null +++ b/operator/internal/controller/console/controller_test.go @@ -0,0 +1,283 @@ +// Copyright 2025 Redpanda Data, Inc. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.md +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0 + +package console + +import ( + "context" + "fmt" + "math/rand" + "slices" + "strings" + "testing" + "time" + + "github.com/stretchr/testify/require" + corev1 "k8s.io/api/core/v1" + apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/utils/ptr" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/yaml" + + consolechart "github.com/redpanda-data/redpanda-operator/charts/console/v3" + redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" + crds "github.com/redpanda-data/redpanda-operator/operator/config/crd/bases" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" + "github.com/redpanda-data/redpanda-operator/pkg/kube" + "github.com/redpanda-data/redpanda-operator/pkg/kube/kubetest" + "github.com/redpanda-data/redpanda-operator/pkg/testutil" +) + +func TestController(t *testing.T) { + golden := testutil.NewTxTar(t, "testdata/controller-tests.golden.txtar") + + testCases := []struct { + name string + console *redpandav1alpha2.Console + }{ + { + name: "static-config", + console: &redpandav1alpha2.Console{ + ObjectMeta: metav1.ObjectMeta{ + Name: "console-static", + }, + Spec: redpandav1alpha2.ConsoleSpec{ + ClusterSource: &redpandav1alpha2.ClusterSource{ + StaticConfiguration: &redpandav1alpha2.StaticConfigurationSource{ + Kafka: &redpandav1alpha2.KafkaAPISpec{ + Brokers: []string{"kafka-broker:9092"}, + SASL: &redpandav1alpha2.KafkaSASL{ + Username: "testuser", + Mechanism: redpandav1alpha2.SASLMechanismPlain, + Password: redpandav1alpha2.SecretKeyRef{ + Name: "kafka-secret", + Key: "password", + }, + }, + }, + Admin: &redpandav1alpha2.AdminAPISpec{ + URLs: []string{"http://admin-api:9644"}, + }, + }, + }, + }, + }, + }, + { + name: "cluster-ref", + console: &redpandav1alpha2.Console{ + ObjectMeta: metav1.ObjectMeta{ + Name: "console-cluster-ref", + }, + Spec: redpandav1alpha2.ConsoleSpec{ + ClusterSource: &redpandav1alpha2.ClusterSource{ + ClusterRef: &redpandav1alpha2.ClusterRef{ + Name: "test-redpanda", + }, + }, + }, + }, + }, + { + name: "no-cluster-source", + console: &redpandav1alpha2.Console{ + ObjectMeta: metav1.ObjectMeta{ + Name: "console-no-cluster", + }, + }, + }, + { + name: "jwt-set", + console: &redpandav1alpha2.Console{ + ObjectMeta: metav1.ObjectMeta{ + Name: "console-jwt-set", + }, + Spec: redpandav1alpha2.ConsoleSpec{ + ConsoleValues: redpandav1alpha2.ConsoleValues{ + Secret: redpandav1alpha2.SecretConfig{ + Authentication: &redpandav1alpha2.AuthenticationSecrets{ + JWTSigningKey: ptr.To("some-secret-key"), + }, + }, + }, + }, + }, + }, + } + + ctl := kubetest.NewEnv(t, kube.Options{ + Options: client.Options{ + Scheme: controller.UnifiedScheme, + }, + }) + + require.NoError(t, kube.ApplyAllAndWait(t.Context(), ctl, func(crd *apiextensionsv1.CustomResourceDefinition, err error) (bool, error) { + if err != nil { + return false, err + } + + for _, cond := range crd.Status.Conditions { + if cond.Type == apiextensionsv1.Established { + return cond.Status == apiextensionsv1.ConditionTrue, nil + } + } + + return false, nil + }, crds.All()...)) + + // Create namespace + ns, err := kube.Create(t.Context(), ctl, corev1.Namespace{ + ObjectMeta: metav1.ObjectMeta{ + Name: "test-ns", + }, + }) + require.NoError(t, err) + + require.NoError(t, ctl.Apply(t.Context(), &redpandav1alpha2.Redpanda{ + ObjectMeta: metav1.ObjectMeta{ + Name: "test-redpanda", + Namespace: ns.Name, + }, + })) + + consoleCtrl := Controller{ + Ctl: ctl, + rng: rand.New(rand.NewSource(0)), + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + // Create console CR with namespace set + console := tc.console.DeepCopy() + console.Namespace = ns.Name + + require.NoError(t, ctl.Apply(t.Context(), console)) + + // Reconcile the console a few times to ensure determinism. + for range 3 { + _, err = consoleCtrl.Reconcile(t.Context(), ctrl.Request{NamespacedName: kube.AsKey(console)}) + require.NoError(t, err) + + // Get updated console status + require.NoError(t, ctl.Get(t.Context(), kube.AsKey(console), console)) + + // Assert that ObservedGeneration has been advanced. + require.Equal(t, console.Generation, console.Status.ObservedGeneration) + // And that we've had a finalizer added. + require.NotEmpty(t, console.Finalizers) + + // Scrape all objects created by the controller using ownership labels + objects := scrapeControllerObjects(t, ctl, console) + + manifest, err := yaml.Marshal(objects) + require.NoError(t, err) + + golden.AssertGolden(t, testutil.YAML, tc.name, manifest) + } + + // Delete the CR to verify GC'ing works as expected. Use a bounded + // context to prevent this test from hanging if something goes + // wrong. + doneCh := make(chan error, 1) + go func() { + ctx, cancel := context.WithTimeout(t.Context(), 30*time.Second) + defer cancel() + + doneCh <- ctl.DeleteAndWait(ctx, console) + + close(doneCh) + }() + + // Reconcile the deletion a few times. + for range 3 { + _, err = consoleCtrl.Reconcile(t.Context(), ctrl.Request{NamespacedName: kube.AsKey(console)}) + require.NoError(t, err) + } + + require.NoError(t, <-doneCh) + + // Assert that all resources have been GC'd. + require.Empty(t, scrapeControllerObjects(t, ctl, console)) + }) + } +} + +// scrapeControllerObjects finds all objects created by the console controller using ownership labels +func scrapeControllerObjects(t *testing.T, ctl *kube.Ctl, console *redpandav1alpha2.Console) []kube.Object { + // Get ownership labels used by the controller + ownershipLabels := map[string]string{ + "app.kubernetes.io/name": "console", + "app.kubernetes.io/managed-by": "redpanda-operator", + "app.kubernetes.io/instance": console.Name, + } + + var objects []kube.Object + for _, objType := range consolechart.Types() { + list, err := kube.ListFor(ctl.Scheme(), objType) + require.NoError(t, err) + + err = ctl.List( + t.Context(), + console.Namespace, + list, + client.MatchingLabels(ownershipLabels), + ) + require.NoError(t, err) + + objs, err := kube.Items[kube.Object](list) + require.NoError(t, err) + + for _, obj := range objs { + cleanObjectForGolden(ctl.Scheme(), obj) + objects = append(objects, obj) + } + } + + // If a JWT secret has been created, pull that as well. + secret, err := kube.Get[corev1.Secret](t.Context(), ctl, kube.ObjectKey{Namespace: console.Namespace, Name: console.Name + "-jwt-secret"}) + if err == nil { + cleanObjectForGolden(ctl.Scheme(), secret) + objects = append(objects, secret) + } + + slices.SortFunc(objects, func(i, j client.Object) int { + iKey := fmt.Sprintf("%T%s%s", i, i.GetNamespace(), i.GetName()) + jKey := fmt.Sprintf("%T%s%s", j, j.GetNamespace(), j.GetName()) + return strings.Compare(iKey, jKey) + }) + + return objects +} + +// cleanObjectForGolden removes dynamic fields that change between test runs +func cleanObjectForGolden(scheme *runtime.Scheme, obj client.Object) { + gvks, _, err := scheme.ObjectKinds(obj) + if err != nil { + panic(err) // unlikely to occur. + } + obj.GetObjectKind().SetGroupVersionKind(gvks[0]) + + // Clear dynamic metadata fields + obj.SetCreationTimestamp(metav1.Time{}) + obj.SetFinalizers(nil) + obj.SetGeneration(0) + obj.SetManagedFields(nil) + obj.SetOwnerReferences(nil) + obj.SetResourceVersion("") + obj.SetUID("") + + // Clean service-specific dynamic fields + if svc, ok := obj.(*corev1.Service); ok { + svc.Spec.ClusterIP = "" + svc.Spec.ClusterIPs = nil + } +} diff --git a/operator/internal/controller/console/testdata/controller-tests.golden.txtar b/operator/internal/controller/console/testdata/controller-tests.golden.txtar new file mode 100644 index 000000000..17d572348 --- /dev/null +++ b/operator/internal/controller/console/testdata/controller-tests.golden.txtar @@ -0,0 +1,817 @@ +-- cluster-ref -- +- apiVersion: v1 + data: + config.yaml: | + # from .Values.config + kafka: + brokers: + - test-redpanda-0.test-redpanda.test-ns.svc.cluster.local.:9093 + - test-redpanda-1.test-redpanda.test-ns.svc.cluster.local.:9093 + - test-redpanda-2.test-redpanda.test-ns.svc.cluster.local.:9093 + tls: + caFilepath: /etc/tls/certs/secrets/test-redpanda-default-cert/ca.crt + enabled: true + redpanda: + adminApi: + enabled: true + tls: + caFilepath: /etc/tls/certs/secrets/test-redpanda-default-cert/ca.crt + enabled: true + urls: + - https://test-redpanda.test-ns.svc.cluster.local.:9644 + schemaRegistry: + enabled: true + tls: + caFilepath: /etc/tls/certs/secrets/test-redpanda-default-cert/ca.crt + enabled: true + urls: + - https://test-redpanda-0.test-redpanda.test-ns.svc.cluster.local.:8081 + - https://test-redpanda-1.test-redpanda.test-ns.svc.cluster.local.:8081 + - https://test-redpanda-2.test-redpanda.test-ns.svc.cluster.local.:8081 + kind: ConfigMap + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-cluster-ref + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-cluster-ref-console + namespace: test-ns +- apiVersion: apps/v1 + kind: Deployment + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-cluster-ref + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-cluster-ref-console + namespace: test-ns + spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + app.kubernetes.io/instance: console-cluster-ref + app.kubernetes.io/name: console + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 78ea4be66cc35f74b22029b54133e3b8fe014982670188a71a4e8581e621daac + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-cluster-ref + app.kubernetes.io/name: console + spec: + affinity: {} + automountServiceAccountToken: false + containers: + - args: + - --config.filepath=/etc/console/configs/config.yaml + env: + - name: AUTHENTICATION_JWTSIGNINGKEY + valueFrom: + secretKeyRef: + key: authentication-jwt-signingkey + name: console-cluster-ref-console + image: docker.redpanda.com/redpandadata/console:v3.2.2 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 3 + httpGet: + path: /admin/health + port: http + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + name: console + ports: + - containerPort: 8080 + name: http + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /admin/health + port: http + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + runAsNonRoot: true + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /etc/console/configs + name: configs + readOnly: true + - mountPath: /etc/console/secrets + name: secrets + readOnly: true + - mountPath: /etc/tls/certs + name: redpanda-certificates + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + fsGroup: 99 + fsGroupChangePolicy: Always + runAsUser: 99 + serviceAccount: console-cluster-ref-console + serviceAccountName: console-cluster-ref-console + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + name: console-cluster-ref-console + name: configs + - name: secrets + secret: + defaultMode: 420 + secretName: console-cluster-ref-console + - name: redpanda-certificates + projected: + defaultMode: 420 + sources: + - secret: + items: + - key: ca.crt + path: secrets/test-redpanda-default-cert/ca.crt + name: test-redpanda-default-cert + status: {} +- apiVersion: v1 + data: + authentication-jwt-signingkey: YDt1UCdNPDFuW3NpPiZzZz0oLS9JL2JDWHV7JyVafDk= + authentication-oidc-client-secret: "" + kafka-sasl-aws-msk-iam-secret-key: "" + kafka-sasl-password: "" + kafka-tls-ca: "" + kafka-tls-cert: "" + kafka-tls-key: "" + license: "" + redpanda-admin-api-password: "" + redpanda-admin-api-tls-ca: "" + redpanda-admin-api-tls-cert: "" + redpanda-admin-api-tls-key: "" + schema-registry-bearertoken: "" + schema-registry-password: "" + schemaregistry-tls-ca: "" + schemaregistry-tls-cert: "" + schemaregistry-tls-key: "" + serde-protobuf-git-basicauth-password: "" + kind: Secret + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-cluster-ref + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-cluster-ref-console + namespace: test-ns + type: Opaque +- apiVersion: v1 + data: + key: YDt1UCdNPDFuW3NpPiZzZz0oLS9JL2JDWHV7JyVafDk= + immutable: true + kind: Secret + metadata: + creationTimestamp: null + name: console-cluster-ref-jwt-secret + namespace: test-ns + type: Opaque +- apiVersion: v1 + automountServiceAccountToken: false + kind: ServiceAccount + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-cluster-ref + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-cluster-ref-console + namespace: test-ns +- apiVersion: v1 + kind: Service + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-cluster-ref + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-cluster-ref-console + namespace: test-ns + spec: + internalTrafficPolicy: Cluster + ipFamilies: + - IPv4 + ipFamilyPolicy: SingleStack + ports: + - name: http + port: 8080 + protocol: TCP + targetPort: 8080 + selector: + app.kubernetes.io/instance: console-cluster-ref + app.kubernetes.io/name: console + sessionAffinity: None + type: ClusterIP + status: + loadBalancer: {} +-- jwt-set -- +- apiVersion: v1 + data: + config.yaml: | + # from .Values.config + {} + kind: ConfigMap + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-jwt-set + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-jwt-set-console + namespace: test-ns +- apiVersion: apps/v1 + kind: Deployment + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-jwt-set + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-jwt-set-console + namespace: test-ns + spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + app.kubernetes.io/instance: console-jwt-set + app.kubernetes.io/name: console + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 28d978af90a43439edaee767a120fd85a15f923d1977979170de19b9e74c5895 + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-jwt-set + app.kubernetes.io/name: console + spec: + affinity: {} + automountServiceAccountToken: false + containers: + - args: + - --config.filepath=/etc/console/configs/config.yaml + env: + - name: AUTHENTICATION_JWTSIGNINGKEY + valueFrom: + secretKeyRef: + key: authentication-jwt-signingkey + name: console-jwt-set-console + image: docker.redpanda.com/redpandadata/console:v3.2.2 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 3 + httpGet: + path: /admin/health + port: http + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + name: console + ports: + - containerPort: 8080 + name: http + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /admin/health + port: http + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + runAsNonRoot: true + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /etc/console/configs + name: configs + readOnly: true + - mountPath: /etc/console/secrets + name: secrets + readOnly: true + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + fsGroup: 99 + fsGroupChangePolicy: Always + runAsUser: 99 + serviceAccount: console-jwt-set-console + serviceAccountName: console-jwt-set-console + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + name: console-jwt-set-console + name: configs + - name: secrets + secret: + defaultMode: 420 + secretName: console-jwt-set-console + status: {} +- apiVersion: v1 + data: + authentication-jwt-signingkey: c29tZS1zZWNyZXQta2V5 + authentication-oidc-client-secret: "" + kafka-sasl-aws-msk-iam-secret-key: "" + kafka-sasl-password: "" + kafka-tls-ca: "" + kafka-tls-cert: "" + kafka-tls-key: "" + license: "" + redpanda-admin-api-password: "" + redpanda-admin-api-tls-ca: "" + redpanda-admin-api-tls-cert: "" + redpanda-admin-api-tls-key: "" + schema-registry-bearertoken: "" + schema-registry-password: "" + schemaregistry-tls-ca: "" + schemaregistry-tls-cert: "" + schemaregistry-tls-key: "" + serde-protobuf-git-basicauth-password: "" + kind: Secret + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-jwt-set + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-jwt-set-console + namespace: test-ns + type: Opaque +- apiVersion: v1 + automountServiceAccountToken: false + kind: ServiceAccount + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-jwt-set + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-jwt-set-console + namespace: test-ns +- apiVersion: v1 + kind: Service + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-jwt-set + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-jwt-set-console + namespace: test-ns + spec: + internalTrafficPolicy: Cluster + ipFamilies: + - IPv4 + ipFamilyPolicy: SingleStack + ports: + - name: http + port: 8080 + protocol: TCP + targetPort: 8080 + selector: + app.kubernetes.io/instance: console-jwt-set + app.kubernetes.io/name: console + sessionAffinity: None + type: ClusterIP + status: + loadBalancer: {} +-- no-cluster-source -- +- apiVersion: v1 + data: + config.yaml: | + # from .Values.config + {} + kind: ConfigMap + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-no-cluster + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-no-cluster-console + namespace: test-ns +- apiVersion: apps/v1 + kind: Deployment + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-no-cluster + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-no-cluster-console + namespace: test-ns + spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + app.kubernetes.io/instance: console-no-cluster + app.kubernetes.io/name: console + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 28d978af90a43439edaee767a120fd85a15f923d1977979170de19b9e74c5895 + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-no-cluster + app.kubernetes.io/name: console + spec: + affinity: {} + automountServiceAccountToken: false + containers: + - args: + - --config.filepath=/etc/console/configs/config.yaml + env: + - name: AUTHENTICATION_JWTSIGNINGKEY + valueFrom: + secretKeyRef: + key: authentication-jwt-signingkey + name: console-no-cluster-console + image: docker.redpanda.com/redpandadata/console:v3.2.2 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 3 + httpGet: + path: /admin/health + port: http + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + name: console + ports: + - containerPort: 8080 + name: http + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /admin/health + port: http + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + runAsNonRoot: true + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /etc/console/configs + name: configs + readOnly: true + - mountPath: /etc/console/secrets + name: secrets + readOnly: true + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + fsGroup: 99 + fsGroupChangePolicy: Always + runAsUser: 99 + serviceAccount: console-no-cluster-console + serviceAccountName: console-no-cluster-console + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + name: console-no-cluster-console + name: configs + - name: secrets + secret: + defaultMode: 420 + secretName: console-no-cluster-console + status: {} +- apiVersion: v1 + data: + authentication-jwt-signingkey: fUImb3hQLlUzRkEkaDsuaj0lY0ojcDlRQ1UzJ28jR2E= + authentication-oidc-client-secret: "" + kafka-sasl-aws-msk-iam-secret-key: "" + kafka-sasl-password: "" + kafka-tls-ca: "" + kafka-tls-cert: "" + kafka-tls-key: "" + license: "" + redpanda-admin-api-password: "" + redpanda-admin-api-tls-ca: "" + redpanda-admin-api-tls-cert: "" + redpanda-admin-api-tls-key: "" + schema-registry-bearertoken: "" + schema-registry-password: "" + schemaregistry-tls-ca: "" + schemaregistry-tls-cert: "" + schemaregistry-tls-key: "" + serde-protobuf-git-basicauth-password: "" + kind: Secret + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-no-cluster + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-no-cluster-console + namespace: test-ns + type: Opaque +- apiVersion: v1 + data: + key: fUImb3hQLlUzRkEkaDsuaj0lY0ojcDlRQ1UzJ28jR2E= + immutable: true + kind: Secret + metadata: + creationTimestamp: null + name: console-no-cluster-jwt-secret + namespace: test-ns + type: Opaque +- apiVersion: v1 + automountServiceAccountToken: false + kind: ServiceAccount + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-no-cluster + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-no-cluster-console + namespace: test-ns +- apiVersion: v1 + kind: Service + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-no-cluster + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-no-cluster-console + namespace: test-ns + spec: + internalTrafficPolicy: Cluster + ipFamilies: + - IPv4 + ipFamilyPolicy: SingleStack + ports: + - name: http + port: 8080 + protocol: TCP + targetPort: 8080 + selector: + app.kubernetes.io/instance: console-no-cluster + app.kubernetes.io/name: console + sessionAffinity: None + type: ClusterIP + status: + loadBalancer: {} +-- static-config -- +- apiVersion: v1 + data: + config.yaml: | + # from .Values.config + kafka: + brokers: + - kafka-broker:9092 + sasl: + enabled: true + mechanism: PLAIN + username: testuser + redpanda: + adminApi: + enabled: true + urls: + - http://admin-api:9644 + kind: ConfigMap + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-static + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-static-console + namespace: test-ns +- apiVersion: apps/v1 + kind: Deployment + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-static + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-static-console + namespace: test-ns + spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + app.kubernetes.io/instance: console-static + app.kubernetes.io/name: console + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: d69ddbd3eb4553d96e3639308acc20a197c960b9580f562a5491bd9d7a5a2f78 + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-static + app.kubernetes.io/name: console + spec: + affinity: {} + automountServiceAccountToken: false + containers: + - args: + - --config.filepath=/etc/console/configs/config.yaml + env: + - name: KAFKA_SASL_PASSWORD + valueFrom: + secretKeyRef: + key: password + name: kafka-secret + - name: AUTHENTICATION_JWTSIGNINGKEY + valueFrom: + secretKeyRef: + key: authentication-jwt-signingkey + name: console-static-console + image: docker.redpanda.com/redpandadata/console:v3.2.2 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 3 + httpGet: + path: /admin/health + port: http + scheme: HTTP + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + name: console + ports: + - containerPort: 8080 + name: http + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /admin/health + port: http + scheme: HTTP + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + securityContext: + runAsNonRoot: true + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /etc/console/configs + name: configs + readOnly: true + - mountPath: /etc/console/secrets + name: secrets + readOnly: true + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: + fsGroup: 99 + fsGroupChangePolicy: Always + runAsUser: 99 + serviceAccount: console-static-console + serviceAccountName: console-static-console + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + name: console-static-console + name: configs + - name: secrets + secret: + defaultMode: 420 + secretName: console-static-console + status: {} +- apiVersion: v1 + data: + authentication-jwt-signingkey: eTE4KVpfbiRnT2daKls3bX4hQT0qc2lbYElfT25rTGM= + authentication-oidc-client-secret: "" + kafka-sasl-aws-msk-iam-secret-key: "" + kafka-sasl-password: "" + kafka-tls-ca: "" + kafka-tls-cert: "" + kafka-tls-key: "" + license: "" + redpanda-admin-api-password: "" + redpanda-admin-api-tls-ca: "" + redpanda-admin-api-tls-cert: "" + redpanda-admin-api-tls-key: "" + schema-registry-bearertoken: "" + schema-registry-password: "" + schemaregistry-tls-ca: "" + schemaregistry-tls-cert: "" + schemaregistry-tls-key: "" + serde-protobuf-git-basicauth-password: "" + kind: Secret + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-static + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-static-console + namespace: test-ns + type: Opaque +- apiVersion: v1 + data: + key: eTE4KVpfbiRnT2daKls3bX4hQT0qc2lbYElfT25rTGM= + immutable: true + kind: Secret + metadata: + creationTimestamp: null + name: console-static-jwt-secret + namespace: test-ns + type: Opaque +- apiVersion: v1 + automountServiceAccountToken: false + kind: ServiceAccount + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-static + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-static-console + namespace: test-ns +- apiVersion: v1 + kind: Service + metadata: + creationTimestamp: null + labels: + app.kubernetes.io/instance: console-static + app.kubernetes.io/managed-by: redpanda-operator + app.kubernetes.io/name: console + name: console-static-console + namespace: test-ns + spec: + internalTrafficPolicy: Cluster + ipFamilies: + - IPv4 + ipFamilyPolicy: SingleStack + ports: + - name: http + port: 8080 + protocol: TCP + targetPort: 8080 + selector: + app.kubernetes.io/instance: console-static + app.kubernetes.io/name: console + sessionAffinity: None + type: ClusterIP + status: + loadBalancer: {} diff --git a/operator/internal/controller/redpanda/index.go b/operator/internal/controller/index.go similarity index 90% rename from operator/internal/controller/redpanda/index.go rename to operator/internal/controller/index.go index e53a70787..5c285a7ba 100644 --- a/operator/internal/controller/redpanda/index.go +++ b/operator/internal/controller/index.go @@ -7,7 +7,7 @@ // the Business Source License, use of this software will be governed // by the Apache License, Version 2.0 -package redpanda +package controller import ( "context" @@ -33,7 +33,7 @@ func clusterReferenceIndexName(name string) string { return fmt.Sprintf("__%s_referencing_cluster", name) } -func registerClusterSourceIndex[T client.Object, U clientList[T]](ctx context.Context, mgr ctrl.Manager, name string, o T, l U) (handler.EventHandler, error) { +func RegisterClusterSourceIndex[T redpandav1alpha2.ClusterReferencingObject, U clientList[T]](ctx context.Context, mgr ctrl.Manager, name string, o T, l U) (handler.EventHandler, error) { indexName := clusterReferenceIndexName(name) if err := mgr.GetFieldIndexer().IndexField(ctx, o, indexName, indexByClusterSource(func(cr *redpandav1alpha2.ClusterRef) bool { return cr.IsV2() @@ -43,7 +43,7 @@ func registerClusterSourceIndex[T client.Object, U clientList[T]](ctx context.Co return enqueueFromSourceCluster(mgr, name, l), nil } -func registerV1ClusterSourceIndex[T client.Object, U clientList[T]](ctx context.Context, mgr ctrl.Manager, name string, o T, l U) (handler.EventHandler, error) { +func RegisterV1ClusterSourceIndex[T redpandav1alpha2.ClusterReferencingObject, U clientList[T]](ctx context.Context, mgr ctrl.Manager, name string, o T, l U) (handler.EventHandler, error) { indexName := clusterReferenceIndexName(name) if err := mgr.GetFieldIndexer().IndexField(ctx, o, indexName, indexByClusterSource(func(cr *redpandav1alpha2.ClusterRef) bool { return cr.IsV1() @@ -109,7 +109,7 @@ func enqueueFromSourceCluster[T client.Object, U clientList[T]](mgr ctrl.Manager }) } -func fromSourceCluster[T client.Object, U clientList[T]](ctx context.Context, c client.Client, name string, cluster *redpandav1alpha2.Redpanda, l U) ([]T, error) { +func FromSourceCluster[T client.Object, U clientList[T]](ctx context.Context, c client.Client, name string, cluster *redpandav1alpha2.Redpanda, l U) ([]T, error) { list := reflect.New(reflect.TypeOf(l).Elem()).Interface().(U) err := c.List(ctx, list, &client.ListOptions{ FieldSelector: fields.OneTermEqualSelector(clusterReferenceIndexName(name), client.ObjectKeyFromObject(cluster).String()), diff --git a/operator/internal/controller/redpanda/nodepool_controller.go b/operator/internal/controller/redpanda/nodepool_controller.go index ed2ed5cc7..b5628577c 100644 --- a/operator/internal/controller/redpanda/nodepool_controller.go +++ b/operator/internal/controller/redpanda/nodepool_controller.go @@ -27,6 +27,7 @@ import ( "github.com/redpanda-data/redpanda-operator/charts/redpanda/v25" redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" "github.com/redpanda-data/redpanda-operator/operator/internal/lifecycle" "github.com/redpanda-data/redpanda-operator/operator/internal/statuses" "github.com/redpanda-data/redpanda-operator/operator/pkg/feature" @@ -49,7 +50,7 @@ type NodePoolReconciler struct { // SetupWithManager sets up the controller with the Manager. func (r *NodePoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error { - enqueueNodePoolFromCluster, err := registerClusterSourceIndex(ctx, mgr, "pool", &redpandav1alpha2.NodePool{}, &redpandav1alpha2.NodePoolList{}) + enqueueNodePoolFromCluster, err := controller.RegisterClusterSourceIndex(ctx, mgr, "pool", &redpandav1alpha2.NodePool{}, &redpandav1alpha2.NodePoolList{}) if err != nil { return err } diff --git a/operator/internal/controller/redpanda/redpanda_controller.go b/operator/internal/controller/redpanda/redpanda_controller.go index a281f1970..86b7bd095 100644 --- a/operator/internal/controller/redpanda/redpanda_controller.go +++ b/operator/internal/controller/redpanda/redpanda_controller.go @@ -36,6 +36,7 @@ import ( "github.com/redpanda-data/redpanda-operator/charts/redpanda/v25" redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" "github.com/redpanda-data/redpanda-operator/operator/cmd/syncclusterconfig" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" "github.com/redpanda-data/redpanda-operator/operator/internal/lifecycle" "github.com/redpanda-data/redpanda-operator/operator/internal/statuses" internalclient "github.com/redpanda-data/redpanda-operator/operator/pkg/client" @@ -265,7 +266,7 @@ func (r *RedpandaReconciler) fetchInitialState(ctx context.Context, rp *redpanda var err error var existingPools []*redpandav1alpha2.NodePool if r.UseNodePools { - existingPools, err = fromSourceCluster(ctx, r.Client, "pool", rp, &redpandav1alpha2.NodePoolList{}) + existingPools, err = controller.FromSourceCluster(ctx, r.Client, "pool", rp, &redpandav1alpha2.NodePoolList{}) if err != nil { logger.Error(err, "fetching desired node pools") return nil, err diff --git a/operator/internal/controller/redpanda/role_controller.go b/operator/internal/controller/redpanda/role_controller.go index 69e9110aa..ff006757e 100644 --- a/operator/internal/controller/redpanda/role_controller.go +++ b/operator/internal/controller/redpanda/role_controller.go @@ -23,6 +23,7 @@ import ( redpandav1alpha2ac "github.com/redpanda-data/redpanda-operator/operator/api/applyconfiguration/redpanda/v1alpha2" redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" vectorizedv1alpha1 "github.com/redpanda-data/redpanda-operator/operator/api/vectorized/v1alpha1" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" internalclient "github.com/redpanda-data/redpanda-operator/operator/pkg/client" "github.com/redpanda-data/redpanda-operator/operator/pkg/client/acls" "github.com/redpanda-data/redpanda-operator/operator/pkg/client/kubernetes" @@ -164,26 +165,27 @@ func SetupRoleController(ctx context.Context, mgr ctrl.Manager, includeV1 bool) c := mgr.GetClient() config := mgr.GetConfig() factory := internalclient.NewFactory(config, c) - controller := NewResourceController(c, factory, &RoleReconciler{}, "RoleReconciler") builder := ctrl.NewControllerManagedBy(mgr). For(&redpandav1alpha2.Role{}). Owns(&corev1.Secret{}) if includeV1 { - enqueueV1Role, err := registerV1ClusterSourceIndex(ctx, mgr, "role_v1", &redpandav1alpha2.Role{}, &redpandav1alpha2.RoleList{}) + enqueueV1Role, err := controller.RegisterV1ClusterSourceIndex(ctx, mgr, "role_v1", &redpandav1alpha2.Role{}, &redpandav1alpha2.RoleList{}) if err != nil { return err } builder.Watches(&vectorizedv1alpha1.Cluster{}, enqueueV1Role) } - enqueueV2Role, err := registerClusterSourceIndex(ctx, mgr, "role", &redpandav1alpha2.Role{}, &redpandav1alpha2.RoleList{}) + enqueueV2Role, err := controller.RegisterClusterSourceIndex(ctx, mgr, "role", &redpandav1alpha2.Role{}, &redpandav1alpha2.RoleList{}) if err != nil { return err } builder.Watches(&redpandav1alpha2.Redpanda{}, enqueueV2Role) + controller := NewResourceController(c, factory, &RoleReconciler{}, "RoleReconciler") + // Every 5 minutes try and check to make sure no manual modifications // happened on the resource synced to the cluster and attempt to correct // any drift. diff --git a/operator/internal/controller/redpanda/schema_controller.go b/operator/internal/controller/redpanda/schema_controller.go index b3ea84803..e555320e6 100644 --- a/operator/internal/controller/redpanda/schema_controller.go +++ b/operator/internal/controller/redpanda/schema_controller.go @@ -21,6 +21,7 @@ import ( redpandav1alpha2ac "github.com/redpanda-data/redpanda-operator/operator/api/applyconfiguration/redpanda/v1alpha2" redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" vectorizedv1alpha1 "github.com/redpanda-data/redpanda-operator/operator/api/vectorized/v1alpha1" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" internalclient "github.com/redpanda-data/redpanda-operator/operator/pkg/client" "github.com/redpanda-data/redpanda-operator/operator/pkg/client/kubernetes" "github.com/redpanda-data/redpanda-operator/operator/pkg/utils" @@ -86,25 +87,26 @@ func SetupSchemaController(ctx context.Context, mgr ctrl.Manager, includeV1 bool c := mgr.GetClient() config := mgr.GetConfig() factory := internalclient.NewFactory(config, c) - controller := NewResourceController(c, factory, &SchemaReconciler{}, "SchemaReconciler") builder := ctrl.NewControllerManagedBy(mgr). For(&redpandav1alpha2.Schema{}) if includeV1 { - enqueueV1Schema, err := registerV1ClusterSourceIndex(ctx, mgr, "schema_v1", &redpandav1alpha2.Schema{}, &redpandav1alpha2.SchemaList{}) + enqueueV1Schema, err := controller.RegisterV1ClusterSourceIndex(ctx, mgr, "schema_v1", &redpandav1alpha2.Schema{}, &redpandav1alpha2.SchemaList{}) if err != nil { return err } builder.Watches(&vectorizedv1alpha1.Cluster{}, enqueueV1Schema) } - enqueueV2Schema, err := registerClusterSourceIndex(ctx, mgr, "schema", &redpandav1alpha2.Schema{}, &redpandav1alpha2.SchemaList{}) + enqueueV2Schema, err := controller.RegisterClusterSourceIndex(ctx, mgr, "schema", &redpandav1alpha2.Schema{}, &redpandav1alpha2.SchemaList{}) if err != nil { return err } builder.Watches(&redpandav1alpha2.Redpanda{}, enqueueV2Schema) + controller := NewResourceController(c, factory, &SchemaReconciler{}, "SchemaReconciler") + // Every 5 minutes try and check to make sure no manual modifications // happened on the resource synced to the cluster and attempt to correct // any drift. diff --git a/operator/internal/controller/redpanda/shadow_link_controller.go b/operator/internal/controller/redpanda/shadow_link_controller.go index ab1574b13..d9cb34490 100644 --- a/operator/internal/controller/redpanda/shadow_link_controller.go +++ b/operator/internal/controller/redpanda/shadow_link_controller.go @@ -20,6 +20,7 @@ import ( redpandav1alpha2ac "github.com/redpanda-data/redpanda-operator/operator/api/applyconfiguration/redpanda/v1alpha2" redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" vectorizedv1alpha1 "github.com/redpanda-data/redpanda-operator/operator/api/vectorized/v1alpha1" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" internalclient "github.com/redpanda-data/redpanda-operator/operator/pkg/client" "github.com/redpanda-data/redpanda-operator/operator/pkg/client/kubernetes" "github.com/redpanda-data/redpanda-operator/operator/pkg/utils" @@ -103,25 +104,26 @@ func SetupShadowLinkController(ctx context.Context, mgr ctrl.Manager, includeV1 c := mgr.GetClient() config := mgr.GetConfig() factory := internalclient.NewFactory(config, c) - controller := NewResourceController(c, factory, &ShadowLinkReconciler{}, "ShadowLinkReconciler") builder := ctrl.NewControllerManagedBy(mgr). For(&redpandav1alpha2.ShadowLink{}) if includeV1 { - enqueueV1ShadowLink, err := registerV1ClusterSourceIndex(ctx, mgr, "shadow_link_v1", &redpandav1alpha2.ShadowLink{}, &redpandav1alpha2.ShadowLinkList{}) + enqueueV1ShadowLink, err := controller.RegisterV1ClusterSourceIndex(ctx, mgr, "shadow_link_v1", &redpandav1alpha2.ShadowLink{}, &redpandav1alpha2.ShadowLinkList{}) if err != nil { return err } builder.Watches(&vectorizedv1alpha1.Cluster{}, enqueueV1ShadowLink) } - enqueueV2ShadowLink, err := registerClusterSourceIndex(ctx, mgr, "shadow_link", &redpandav1alpha2.ShadowLink{}, &redpandav1alpha2.ShadowLinkList{}) + enqueueV2ShadowLink, err := controller.RegisterClusterSourceIndex(ctx, mgr, "shadow_link", &redpandav1alpha2.ShadowLink{}, &redpandav1alpha2.ShadowLinkList{}) if err != nil { return err } builder.Watches(&redpandav1alpha2.Redpanda{}, enqueueV2ShadowLink) + controller := NewResourceController(c, factory, &ShadowLinkReconciler{}, "ShadowLinkReconciler") + // Every 5 minutes try and check to make sure no manual modifications // happened on the resource synced to the cluster and attempt to correct // any drift. diff --git a/operator/internal/controller/redpanda/topic_controller.go b/operator/internal/controller/redpanda/topic_controller.go index f450af801..df1ef541c 100644 --- a/operator/internal/controller/redpanda/topic_controller.go +++ b/operator/internal/controller/redpanda/topic_controller.go @@ -33,6 +33,7 @@ import ( redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" vectorizedv1alpha1 "github.com/redpanda-data/redpanda-operator/operator/api/vectorized/v1alpha1" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" internalclient "github.com/redpanda-data/redpanda-operator/operator/pkg/client" "github.com/redpanda-data/redpanda-operator/pkg/otelutil/log" ) @@ -131,14 +132,14 @@ func SetupTopicController(ctx context.Context, mgr ctrl.Manager, includeV1 bool) For(&redpandav1alpha2.Topic{}) if includeV1 { - enqueueV1Schema, err := registerV1ClusterSourceIndex(ctx, mgr, "topic_v1", &redpandav1alpha2.Topic{}, &redpandav1alpha2.TopicList{}) + enqueueV1Schema, err := controller.RegisterV1ClusterSourceIndex(ctx, mgr, "topic_v1", &redpandav1alpha2.Topic{}, &redpandav1alpha2.TopicList{}) if err != nil { return err } builder.Watches(&vectorizedv1alpha1.Cluster{}, enqueueV1Schema) } - enqueueV2Topic, err := registerClusterSourceIndex(ctx, mgr, "topic", &redpandav1alpha2.Topic{}, &redpandav1alpha2.TopicList{}) + enqueueV2Topic, err := controller.RegisterClusterSourceIndex(ctx, mgr, "topic", &redpandav1alpha2.Topic{}, &redpandav1alpha2.TopicList{}) if err != nil { return err } diff --git a/operator/internal/controller/redpanda/user_controller.go b/operator/internal/controller/redpanda/user_controller.go index 1779bc8ff..da1c8e6bc 100644 --- a/operator/internal/controller/redpanda/user_controller.go +++ b/operator/internal/controller/redpanda/user_controller.go @@ -23,6 +23,7 @@ import ( redpandav1alpha2ac "github.com/redpanda-data/redpanda-operator/operator/api/applyconfiguration/redpanda/v1alpha2" redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" vectorizedv1alpha1 "github.com/redpanda-data/redpanda-operator/operator/api/vectorized/v1alpha1" + "github.com/redpanda-data/redpanda-operator/operator/internal/controller" internalclient "github.com/redpanda-data/redpanda-operator/operator/pkg/client" "github.com/redpanda-data/redpanda-operator/operator/pkg/client/acls" "github.com/redpanda-data/redpanda-operator/operator/pkg/client/kubernetes" @@ -164,26 +165,27 @@ func SetupUserController(ctx context.Context, mgr ctrl.Manager, includeV1 bool) c := mgr.GetClient() config := mgr.GetConfig() factory := internalclient.NewFactory(config, c) - controller := NewResourceController(c, factory, &UserReconciler{}, "UserReconciler") builder := ctrl.NewControllerManagedBy(mgr). For(&redpandav1alpha2.User{}). Owns(&corev1.Secret{}) if includeV1 { - enqueueV1User, err := registerV1ClusterSourceIndex(ctx, mgr, "user_v1", &redpandav1alpha2.User{}, &redpandav1alpha2.UserList{}) + enqueueV1User, err := controller.RegisterV1ClusterSourceIndex(ctx, mgr, "user_v1", &redpandav1alpha2.User{}, &redpandav1alpha2.UserList{}) if err != nil { return err } builder.Watches(&vectorizedv1alpha1.Cluster{}, enqueueV1User) } - enqueueV2User, err := registerClusterSourceIndex(ctx, mgr, "user", &redpandav1alpha2.User{}, &redpandav1alpha2.UserList{}) + enqueueV2User, err := controller.RegisterClusterSourceIndex(ctx, mgr, "user", &redpandav1alpha2.User{}, &redpandav1alpha2.UserList{}) if err != nil { return err } builder.Watches(&redpandav1alpha2.Redpanda{}, enqueueV2User) + controller := NewResourceController(c, factory, &UserReconciler{}, "UserReconciler") + // Every 5 minutes try and check to make sure no manual modifications // happened on the resource synced to the cluster and attempt to correct // any drift. diff --git a/operator/internal/controller/scheme.go b/operator/internal/controller/scheme.go index df6770bc3..127863342 100644 --- a/operator/internal/controller/scheme.go +++ b/operator/internal/controller/scheme.go @@ -24,18 +24,18 @@ import ( var ( v1SchemeFns = []func(s *runtime.Scheme) error{ - clientgoscheme.AddToScheme, + apiextensionsv1.AddToScheme, certmanagerv1.AddToScheme, + clientgoscheme.AddToScheme, vectorizedv1alpha1.Install, - apiextensionsv1.AddToScheme, } v2SchemeFns = []func(s *runtime.Scheme) error{ - clientgoscheme.AddToScheme, + apiextensionsv1.AddToScheme, certmanagerv1.AddToScheme, + clientgoscheme.AddToScheme, + monitoringv1.AddToScheme, redpandav1alpha1.Install, redpandav1alpha2.Install, - monitoringv1.AddToScheme, - apiextensionsv1.AddToScheme, } V1Scheme *runtime.Scheme diff --git a/pkg/chartutil/chartutil.go b/pkg/chartutil/chartutil.go new file mode 100644 index 000000000..dc2ac49d6 --- /dev/null +++ b/pkg/chartutil/chartutil.go @@ -0,0 +1,83 @@ +// Copyright 2025 Redpanda Data, Inc. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.md +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0 + +// package chartutil is a collection of gotohelm friendly utility functions. +// These functions help provide consistent behaviors and experiences across the +// charts we maintains. +package chartutil + +import ( + "regexp" + "strings" +) + +// ParseFlags parses a list of CLI flags into a map of flag name -> value. It +// should be used to merge user provided flags with chart defaults. +// +// e.g. []string{`--foo=""`, "--bar=1", "-t"} -> map[string]string{"--foo": `""`, "--bar": "1", "-t": ""} +// +// It does not distinguish between flags with values of an empty string and +// flags with no values. e.g. `--value` and `--value=` -> map[string]string{} +// +// Values without preceding -'s are considered invalid and skipped. e.g. +// `[]string{"true"}` -> `map[string]string{}`. +func ParseFlags(args []string) map[string]string { + parsed := map[string]string{} + + // NB: templates/gotohelm don't supported c style for loops (or ++) which + // is the ideal for this situation. The janky code you see is a rough + // equivalent for the following: + // for i := 0; i < len(args); i++ { + i := -1 // Start at -1 so our increment can be at the start of the loop. + for range args { // Range needs to range over something and we'll always have < len(args) iterations. + i = i + 1 + if i >= len(args) { + break + } + + // All flags should start with - or --. + // If not present, skip this value. + if !strings.HasPrefix(args[i], "-") { + continue + } + + flag := args[i] + + // Handle values like: `--flag value` or `--flag=value` + // There's no strings.Index in sprig, so RegexSplit is the next best + // option. + spl := regexSplit(" |=", flag, 2) + if len(spl) == 2 { + parsed[spl[0]] = spl[1] + continue + } + + // If no ' ' or =, consume the next value if it's not formatted like a + // flag: `--flag`, `value` + if i+1 < len(args) && !strings.HasPrefix(args[i+1], "-") { + parsed[flag] = args[i+1] + i = i + 1 + continue + } + + // Otherwise, assume this is a bare flag and assign it an empty string. + parsed[flag] = "" + } + + return parsed +} + +// Rather than depend on helmette, which would cause a circular dependency, we +// provide our own sprig stubs. + +// +gotohelm:builtin=mustRegexSplit +func regexSplit(pattern, s string, n int) []string { + r := regexp.MustCompile(pattern) + return r.Split(s, n) +} diff --git a/pkg/chartutil/chartutil_test.go b/pkg/chartutil/chartutil_test.go new file mode 100644 index 000000000..04625b1a3 --- /dev/null +++ b/pkg/chartutil/chartutil_test.go @@ -0,0 +1,90 @@ +// Copyright 2025 Redpanda Data, Inc. +// +// Use of this software is governed by the Business Source License +// included in the file licenses/BSL.md +// +// As of the Change Date specified in that file, in accordance with +// the Business Source License, use of this software will be governed +// by the Apache License, Version 2.0 + +package chartutil + +import ( + "testing" + + "github.com/stretchr/testify/assert" + "pgregory.net/rapid" +) + +func TestParseFlags(t *testing.T) { + tcs := []struct { + In []string + Out map[string]string + }{ + {In: nil, Out: map[string]string{}}, + {In: []string{}, Out: map[string]string{}}, + {In: []string{"-t"}, Out: map[string]string{"-t": ""}}, + // Invalid values are skipped. + {In: []string{"t"}, Out: map[string]string{}}, + { + In: []string{"-t", "--v", "1", "--foo=bar", "-hello='world'"}, + Out: map[string]string{ + "-t": "", + "--v": "1", + "--foo": "bar", + "-hello": "'world'", + }, + }, + { + In: []string{"-v 1", "invalid", "--foo", "baz"}, + Out: map[string]string{ + "-v": "1", + "--foo": "baz", + }, + }, + { + In: []string{ + "-foo=bar", + "-baz 1", + "--help", "topic", + }, + Out: map[string]string{ + "-foo": "bar", + "-baz": "1", + "--help": "topic", + }, + }, + { + In: []string{ + "invalid", + "-valid=bar", + "--trailing spaces ", + "--bare=", + "ignored-perhaps-confusingly", + "--final", + }, + Out: map[string]string{ + "-valid": "bar", + "--trailing": "spaces ", + "--bare": "", + "--final": "", + }, + }, + } + + for _, tc := range tcs { + actual := ParseFlags(tc.In) + assert.Equal(t, tc.Out, actual, "%#v parsed incorrect", tc.In) + } + + t.Run("NotPanics", rapid.MakeCheck(func(t *rapid.T) { + // We could certainly be more inventive with + // the inputs here but this is more of a + // fuzz test than a property test. + in := rapid.SliceOf(rapid.String()).Draw(t, "input") + + assert.NotPanics(t, func() { + ParseFlags(in) + }) + })) +} diff --git a/pkg/go.mod b/pkg/go.mod index 830167f42..a19ca573a 100644 --- a/pkg/go.mod +++ b/pkg/go.mod @@ -38,6 +38,7 @@ require ( go.opentelemetry.io/otel/trace v1.36.0 go.opentelemetry.io/proto/otlp v1.6.0 golang.org/x/mod v0.25.0 + golang.org/x/time v0.11.0 golang.org/x/tools v0.34.0 google.golang.org/protobuf v1.36.9 gopkg.in/yaml.v3 v3.0.1 @@ -267,7 +268,6 @@ require ( golang.org/x/sys v0.36.0 // indirect golang.org/x/term v0.33.0 // indirect golang.org/x/text v0.27.0 // indirect - golang.org/x/time v0.11.0 // indirect gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect google.golang.org/api v0.233.0 // indirect google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect diff --git a/pkg/k3d/k3d.go b/pkg/k3d/k3d.go index 7741695de..c0c1db285 100644 --- a/pkg/k3d/k3d.go +++ b/pkg/k3d/k3d.go @@ -186,6 +186,9 @@ Use testutils.SkipIfNotIntegration or testutils.SkipIfNotAcceptance to gate test // Pod eviction happens in a timely fashion. `--k3s-arg`, `--kube-apiserver-arg=default-not-ready-toleration-seconds=10@server:*`, `--k3s-arg`, `--kube-apiserver-arg=default-unreachable-toleration-seconds=10@server:*`, + // Disable the traefik Ingress controller. We don't use Ingress for + // anything and will install a standalone version if one is required. + `--k3s-arg`, `--disable=traefik@server:*`, `--verbose`, } diff --git a/pkg/kube/ctl.go b/pkg/kube/ctl.go index ef0a3ebbf..f4a2c9882 100644 --- a/pkg/kube/ctl.go +++ b/pkg/kube/ctl.go @@ -17,6 +17,7 @@ import ( "time" "github.com/cockroachdb/errors" + "golang.org/x/time/rate" corev1 "k8s.io/api/core/v1" k8serrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta" @@ -188,6 +189,7 @@ func (c *Ctl) List(ctx context.Context, namespace string, objs ObjectList, opts // Apply "applies" the provided [Object] via SSA (Server Side Apply). func (c *Ctl) Apply(ctx context.Context, obj Object, opts ...client.PatchOption) error { obj.SetManagedFields(nil) + obj.SetResourceVersion("") if err := setGVK(c.Scheme(), obj); err != nil { return err @@ -203,6 +205,24 @@ func (c *Ctl) Apply(ctx context.Context, obj Object, opts ...client.PatchOption) return nil } +// ApplyStatus "applies" the .Status of the provided [Object] via SSA (Server Side Apply). +func (c *Ctl) ApplyStatus(ctx context.Context, obj Object, opts ...client.SubResourcePatchOption) error { + obj.SetManagedFields(nil) + obj.SetResourceVersion("") + + if err := setGVK(c.Scheme(), obj); err != nil { + return err + } + + // Prepend field owner to allow caller's to override it. + opts = append([]client.SubResourcePatchOption{c.fieldOwner}, opts...) + + if err := c.client.Status().Patch(ctx, obj, client.Apply, opts...); err != nil { + return errors.WithStack(err) + } + return nil +} + // ApplyAndWait is the equivalent of calling [Ctl.Apply] followed by [Ctl.WaitFor]. func (c *Ctl) ApplyAndWait(ctx context.Context, obj Object, cond CondFn[Object]) error { if err := c.Apply(ctx, obj); err != nil { @@ -262,6 +282,20 @@ func (c *Ctl) CreateAndWait(ctx context.Context, obj Object, cond CondFn[Object] return c.WaitFor(ctx, obj, cond) } +func (c *Ctl) Update(ctx context.Context, obj Object, opts ...client.UpdateOption) error { + if err := c.client.Update(ctx, obj, opts...); err != nil { + return errors.WithStack(err) + } + return nil +} + +func (c *Ctl) UpdateStatus(ctx context.Context, obj Object, opts ...client.SubResourceUpdateOption) error { + if err := c.client.Status().Update(ctx, obj, opts...); err != nil { + return errors.WithStack(err) + } + return nil +} + // Delete declaratively initiates deletion the given [Object]. // // Unlike other Ctl methods, Delete does not update obj. @@ -305,7 +339,7 @@ func IsDeleted[T Object](obj T, err error) (bool, error) { // have a deadline a default of 5m will be used. func (c *Ctl) WaitFor(ctx context.Context, obj Object, cond CondFn[Object]) error { const timeout = 5 * time.Minute - const logEvery = 10 * time.Second + logEvery := rate.Sometimes{First: 1, Interval: 10 * time.Second} // If ctx doesn't have a deadline, we'll apply the default. if _, ok := ctx.Deadline(); !ok { @@ -314,8 +348,7 @@ func (c *Ctl) WaitFor(ctx context.Context, obj Object, cond CondFn[Object]) erro defer cancel() } - start := time.Now() - lastLog := start + interval := intervalFromDeadline(ctx) // TODO(chrisseto): We should be able to pull this off obj but Get doesn't // seem to set TypeMeta? @@ -326,6 +359,7 @@ func (c *Ctl) WaitFor(ctx context.Context, obj Object, cond CondFn[Object]) erro gvk := kinds[0] + start := time.Now() for { err := c.Get(ctx, AsKey(obj), obj) @@ -339,13 +373,12 @@ func (c *Ctl) WaitFor(ctx context.Context, obj Object, cond CondFn[Object]) erro return nil } - if time.Since(lastLog) >= logEvery { - lastLog = time.Now() + logEvery.Do(func() { log.Info(ctx, "waiting for Cond", "key", AsKey(obj), "gvk", gvk, "waited", time.Since(start)) - } + }) select { - case <-time.After(10 * time.Second): + case <-time.After(interval): continue case <-ctx.Done(): return errors.WithStack(ctx.Err()) @@ -353,6 +386,32 @@ func (c *Ctl) WaitFor(ctx context.Context, obj Object, cond CondFn[Object]) erro } } +// intervalFromDeadline determines a sliding interval at which to perform checks based +// off the deadline of the given context.Context. Clamped to [1s, 10s]. +// +// deadline | interval +// 10s | 1s +// 30s | 3s +// 1m | 6s +// 5m | 10s +func intervalFromDeadline(ctx context.Context) time.Duration { + const ( + min = time.Second + max = 10 * time.Second + scale = 10 + ) + deadline, _ := ctx.Deadline() + // As we're using deadline, we round up to the nearest 5s block to account + // for any duration between minting the deadline and this computation. + interval := (time.Until(deadline).Round(5*time.Second) / scale).Round(time.Second) + if interval > max { + return max + } else if interval < min { + return min + } + return interval +} + // Logs returns a log stream for `container` in the [corev1.Pod]. func (c *Ctl) Logs(ctx context.Context, pod *corev1.Pod, options corev1.PodLogOptions) (io.ReadCloser, error) { client, err := c.restClient() diff --git a/pkg/kube/ctl_test.go b/pkg/kube/ctl_test.go index 6513d2dae..fd264b095 100644 --- a/pkg/kube/ctl_test.go +++ b/pkg/kube/ctl_test.go @@ -54,11 +54,38 @@ func TestCtl(t *testing.T) { require.NoError(t, err) require.Len(t, cms.Items, 3) + t.Run("Apply", func(t *testing.T) { + s := &corev1.Secret{ + ObjectMeta: metav1.ObjectMeta{ + Name: "conflict-me", + Namespace: ns.Name, + }, + Data: map[string][]byte{}, + } + + require.NoError(t, ctl.Create(t.Context(), s)) + + // Modify to change (increment) resource version. + // DeepCopy and an explicit scope is used so `s`'s ResourceVersion is unchanged. + { + s := s.DeepCopy() + s.Data = map[string][]byte{"key": []byte("value")} + require.NoError(t, ctl.Apply(t.Context(), s)) + } + + // Update fails with an optimistic locking error as .ResourceVersion is not zero. + s.Data = map[string][]byte{"key": []byte("valuevalue")} + require.EqualError(t, ctl.Update(ctx, s), "Operation cannot be fulfilled on secrets \"conflict-me\": the object has been modified; please apply your changes to the latest version and try again") + + // Apply succeeds, it does not support optimistic locking. + require.NoError(t, ctl.Apply(ctx, s)) + }) + t.Run("Delete", func(t *testing.T) { s := &corev1.Secret{ ObjectMeta: metav1.ObjectMeta{ Name: "delete-me", - Namespace: "hello-world", + Namespace: ns.Name, // Set a finalizer to stall deletion. Finalizers: []string{"i-prevent.com/deletion"}, }, diff --git a/pkg/kube/syncer.go b/pkg/kube/syncer.go index 948822aa9..4891a8ec5 100644 --- a/pkg/kube/syncer.go +++ b/pkg/kube/syncer.go @@ -174,7 +174,7 @@ func (s *Syncer) listInPurview(ctx context.Context) ([]Object, error) { return nil, err } - list, err := listFor(s.Ctl.client.Scheme(), t) + list, err := ListFor(s.Ctl.client.Scheme(), t) if err != nil { return nil, err } diff --git a/pkg/kube/util.go b/pkg/kube/util.go index e6d5a4ae7..c8faf0dd9 100644 --- a/pkg/kube/util.go +++ b/pkg/kube/util.go @@ -15,7 +15,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" ) -func listFor(scheme *runtime.Scheme, obj Object) (ObjectList, error) { +func ListFor(scheme *runtime.Scheme, obj Object) (ObjectList, error) { gvk, err := GVKFor(scheme, obj) if err != nil { return nil, err diff --git a/taskfiles/charts.yml b/taskfiles/charts.yml index de54bd328..c17790227 100644 --- a/taskfiles/charts.yml +++ b/taskfiles/charts.yml @@ -34,7 +34,7 @@ tasks: - task: genschema vars: { CHART: operator, DIR: operator/chart } - task: gotohelm - vars: { CHART: operator, DIR: operator/chart } + vars: { CHART: operator, DIR: operator/chart, BUNDLE: ['github.com/redpanda-data/redpanda-operator/pkg/chartutil']} generate:redpanda: desc: "Generate files for the redpanda Helm chart" @@ -47,6 +47,8 @@ tasks: vars: CHART: redpanda OUT: "./chart/templates" + BUNDLE: + - github.com/redpanda-data/redpanda-operator/pkg/chartutil SUBCHARTS: - github.com/redpanda-data/redpanda-operator/charts/console/v3 - github.com/redpanda-data/redpanda-operator/charts/console/v3/chart diff --git a/taskfiles/k8s.yml b/taskfiles/k8s.yml index 972da778a..294f52c84 100644 --- a/taskfiles/k8s.yml +++ b/taskfiles/k8s.yml @@ -43,6 +43,8 @@ tasks: PATH: ./internal/controller/pvcunbinder - NAME: v2-manager PATH: ./internal/controller/redpanda + - NAME: console + PATH: ./internal/controller/console - NAME: v1-manager PATH: ./internal/controller/vectorized - NAME: decommission @@ -88,7 +90,8 @@ tasks: ./config/rbac/itemized/sidecar.yaml \ ./config/rbac/itemized/crd-installation.yaml \ ./config/rbac/itemized/v1-manager.yaml \ - ./config/rbac/itemized/v2-manager.yaml + ./config/rbac/itemized/v2-manager.yaml \ + ./config/rbac/itemized/console.yaml # Some integration tests use their RBAC declarations but generally # require some additional permissions (e.g. leader election, running @@ -120,6 +123,10 @@ tasks: - find ./api/applyconfiguration/redpanda/v1alpha2 -type f -exec sed -i'' 's/"redpanda\/v1/"cluster.redpanda.com\/v1/g' {} \; - rm -rf api/applyconfiguration/utils.go api/applyconfiguration/internal + # Generate rote conversion functions. + # Must run after deepcopy is generated. + - goverter gen ./api/redpanda/v1alpha2/ + generate:crd-docs: desc: Generates an example ascii doc from our crd-ref-docs configuration. dir: 'operator'