Skip to content

Commit

Permalink
fixup! operator: remove templates in favor of following kustomize
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseto authored and RafalKorepta committed May 18, 2024
1 parent 7d07dce commit edec0f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions charts/operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ Sets resources requests/limits for Redpanda Operator Pods. By default requests a

### [scope](https://artifacthub.io/packages/helm/redpanda-data/operator?modal=values&path=scope)

Sets the scope of the Redpanda Operator. Valid values are `Cluster` or `Namespace`. The Cluster scope is deprecated because it deploys the deprecated version of the Redpanda Operator. Use the default Namespace scope. In the Namespace scope, the Redpanda Operator manages Redpanda resources that are deployed in the same namespace as itself.
Sets the scope of the Redpanda Operator. Valid values are `Cluster` or `Namespace`. The Cluster scope is deprecated because it deploys the deprecated version of the Redpanda Operator. Use the default Namespace scope. In the Namespace scope, the Redpanda Operator manages Redpanda resources that are deployed in the same namespace as itself. WARNING: This field does not do what you think it does. For historical purposes, scope controls the mode of operation for the operator. "Namespace" will run operator V2 AKA the Redpanda reconciler and "Cluster" will run operator V1 AKA the Cluster reconciler. Do not change this unless you know what this warning message means.

**Default:** `"Namespace"`

Expand Down Expand Up @@ -350,15 +350,15 @@ Taints to be tolerated by Pods. For details, see the [Kubernetes documentation](

### [webhook](https://artifacthub.io/packages/helm/redpanda-data/operator?modal=values&path=webhook)

Specifies whether to create Webhook resources both to intercept and potentially modify or reject Kubernetes API requests as well as authenticate requests to the Kubernetes API. Only valid when `scope` is set to Cluster.
Specifies whether to create Webhook resources both to intercept and potentially modify or reject Kubernetes API requests as well as authenticate requests to the Kubernetes API.

**Default:** `{"enabled":false}`
**Default:** `{"enabled":true}`

### [webhook.enabled](https://artifacthub.io/packages/helm/redpanda-data/operator?modal=values&path=webhook.enabled)

Creates the Webhook resources.

**Default:** `false`
**Default:** `true`

### [webhookSecretName](https://artifacthub.io/packages/helm/redpanda-data/operator?modal=values&path=webhookSecretName)

Expand Down
4 changes: 2 additions & 2 deletions charts/operator/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resources:
- https://github.com/redpanda-data/redpanda-operator//src/go/k8s/config/rbac?ref=v2.1.18-23.3.13
- https://github.com/redpanda-data/redpanda-operator//src/go/k8s/config/webhook?ref=v2.1.18-23.3.13
- https://github.com/redpanda-data/redpanda-operator//src/go/k8s/config/rbac?ref=v2.1.19-24.1.2
- https://github.com/redpanda-data/redpanda-operator//src/go/k8s/config/webhook?ref=v2.1.19-24.1.2
namePrefix: '{{ include "redpanda-operator.fullname" $ }}-'
namespace: '{{ $.Release.Namespace }}'
patches:
Expand Down

0 comments on commit edec0f0

Please sign in to comment.