Skip to content

Commit c4ce321

Browse files
DOCSP-40646 Provide a switch to not install webhook cluster roles: added missing params (#1746)
1 parent 7f88d04 commit c4ce321

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

source/reference/helm-operator-settings.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,3 +602,24 @@ The default value is **true**.
602602
.. code-block:: yaml
603603

604604
subresourceEnabled: true
605+
606+
.. _webhook-install-cluster-role:
607+
608+
webhook.installClusterRole
609+
--------------------------
610+
611+
Flag allows you to configure user :k8sdocs:`validating admission
612+
webhooks </reference/access-authn-authz/admission-controllers/#validatingadmissionwebhook>`
613+
for |k8s| :k8sdocs:`cluster roles
614+
</reference/access-authn-authz/rbac/#default-roles-and-role-bindings>` .
615+
616+
617+
Set this flag to ``false`` if your deployment doesn't allow |k8s| cluster
618+
roles.
619+
620+
The default value is **true**.
621+
622+
.. code-block:: yaml
623+
624+
webhook:
625+
installClusterRole: false

source/release-notes.txt

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ Helm Chart Installation Changes
5050
- Adds an ``operator.maxConcurrentReconciles`` parameter that allows
5151
you to control the number of reconciliations the |k8s-op-short| can
5252
perform in parallel. The default value is 1.
53-
- Adds the ``operator.webhook.installClusterRole`` parameter that
53+
- Adds the :ref:`operator.webhook.installClusterRole
54+
<webhook-install-cluster-role>` parameter that
5455
controls whether to install the cluster role allowing the |k8s-op-short|
55-
to configure admission webhooks. Set this parameter to false when
56+
to configure admission webhooks. Set this parameter to ``false`` when
5657
the cluster roles aren't allowed. The default value is ``true``.
5758

5859
Bug Fixes
@@ -162,12 +163,6 @@ New Features
162163
Helm Chart Installation Changes
163164
`````````````````````````````````
164165

165-
- Adds a new ``operator.webhook.registerConfiguration`` parameter that
166-
controls whether the |k8s-op-short| should perform an automatic admission
167-
webhook configuration by setting the ``MDB_WEBHOOK_REGISTER_CONFIGURATION``
168-
environment variable for the |k8s-op-short|. The default is ``true``.
169-
The variable is set to ``false`` for OLM and OpenShift deployments.
170-
171166
- Changes the default ``agent.version`` to ``107.0.0.8502-1``. This changes
172167
the default Agent used in |k8s-op-short| deployments that you install using
173168
a Helm chart.

0 commit comments

Comments
 (0)