You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/capsule/README.md
+3-67Lines changed: 3 additions & 67 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,6 @@
2
2
3
3
Use the Capsule Operator for easily implementing, managing, and maintaining multitenancy and access control in Kubernetes.
4
4
5
-
## Requirements
6
-
7
-
*[Helm 3](https://github.com/helm/helm/releases) is required when installing the Capsule Operator chart. Follow Helm’s official [steps](https://helm.sh/docs/intro/install/) for installing helm on your particular operating system.
8
-
9
-
* A Kubernetes cluster 1.16+ with following [Admission Controllers](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) enabled:
10
-
11
-
* PodNodeSelector
12
-
* LimitRanger
13
-
* ResourceQuota
14
-
* MutatingAdmissionWebhook
15
-
* ValidatingAdmissionWebhook
16
-
17
-
* A [`kubeconfig`](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) file accessing the Kubernetes cluster with cluster admin permissions.
18
-
19
5
## Major Changes
20
6
21
7
In the following sections you see actions which are required when you are upgrading to a specific version.
@@ -33,58 +19,7 @@ The following Values have changed key or Value:
33
19
*`mutatingWebhooksTimeoutSeconds` has moved to `webhooks.mutatingWebhooksTimeoutSeconds`
34
20
*`validatingWebhooksTimeoutSeconds` has moved to `webhooks.validatingWebhooksTimeoutSeconds`
35
21
36
-
## Installation
37
-
38
-
**When using OCI we recommend our dedicated [OCI Repository](https://artifacthub.io/packages/helm/capsule/capsule) for this chart**
39
-
40
-
The Capsule Operator requires it's CRDs to be installed before the operator itself. Since the Helm CRD lifecycle has limitations, we recommend to install the CRDs separately. Our chart supports the installation of crds via a dedicated Release.
41
-
The Capsule Operator Chart can be used to instantly deploy the Capsule Operator on your Kubernetes cluster.
There are two methods for specifying overrides of values during chart installation: `--values` and `--set`.
74
-
75
-
The `--values` option is the preferred method because it allows you to keep your overrides in a YAML file, rather than specifying them all on the command line. Create a copy of the YAML file `values.yaml` and add your overrides to it.
76
-
77
-
Specify your overrides file when you install the chart:
The values in your overrides file `myvalues.yaml` will override their counterparts in the chart's values.yaml file. Any values in `values.yaml` that weren’t overridden will keep their defaults.
82
-
83
-
If you only need to make minor customizations, you can specify them on the command line by using the `--set` option. For example:
@@ -162,13 +97,14 @@ Here the values you can override:
162
97
| manager.kind | string |`"Deployment"`| Set the controller deployment mode as `Deployment` or `DaemonSet`. |
163
98
| manager.livenessProbe | object |`{"httpGet":{"path":"/healthz","port":10080}}`| Configure the liveness probe using Deployment probe spec |
164
99
| manager.options.capsuleConfiguration | string |`"default"`| Change the default name of the capsule configuration name |
165
-
| manager.options.capsuleUserGroups | list |`["projectcapsule.dev"]`|Override the Capsule user groups|
100
+
| manager.options.capsuleUserGroups | list |`["projectcapsule.dev"]`|Names of the groups considered as Capsule users.|
166
101
| manager.options.forceTenantPrefix | bool |`false`| Boolean, enforces the Tenant owner, during Namespace creation, to name it using the selected Tenant name as prefix, separated by a dash |
167
102
| manager.options.generateCertificates | bool |`true`| Specifies whether capsule webhooks certificates should be generated by capsule operator |
168
103
| manager.options.ignoreUserWithGroups | list |`[]`| Define groups which when found in the request of a user will be ignored by the Capsule this might be useful if you have one group where all the users are in, but you want to separate administrators from normal users with additional groups. |
169
104
| manager.options.logLevel | string |`"4"`| Set the log verbosity of the capsule with a value from 1 to 10 |
170
105
| manager.options.nodeMetadata | object |`{"forbiddenAnnotations":{"denied":[],"deniedRegex":""},"forbiddenLabels":{"denied":[],"deniedRegex":""}}`| Allows to set the forbidden metadata for the worker nodes that could be patched by a Tenant |
171
106
| manager.options.protectedNamespaceRegex | string |`""`| If specified, disallows creation of namespaces matching the passed regexp |
107
+
| manager.options.userNames | list |`[]`| Names of the users considered as Capsule users. |
172
108
| manager.rbac.create | bool |`true`| Specifies whether RBAC resources should be created. |
173
109
| manager.rbac.existingClusterRoles | list |`[]`| Specifies further cluster roles to be added to the Capsule manager service account. |
174
110
| manager.rbac.existingRoles | list |`[]`| Specifies further cluster roles to be added to the Capsule manager service account. |
Copy file name to clipboardExpand all lines: charts/capsule/README.md.gotmpl
+1-67Lines changed: 1 addition & 67 deletions
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,6 @@
2
2
3
3
Use the Capsule Operator for easily implementing, managing, and maintaining multitenancy and access control in Kubernetes.
4
4
5
-
## Requirements
6
-
7
-
* [Helm 3](https://github.com/helm/helm/releases) is required when installing the Capsule Operator chart. Follow Helm’s official [steps](https://helm.sh/docs/intro/install/) for installing helm on your particular operating system.
8
-
9
-
* A Kubernetes cluster 1.16+ with following [Admission Controllers](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) enabled:
10
-
11
-
* PodNodeSelector
12
-
* LimitRanger
13
-
* ResourceQuota
14
-
* MutatingAdmissionWebhook
15
-
* ValidatingAdmissionWebhook
16
-
17
-
* A [`kubeconfig`](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) file accessing the Kubernetes cluster with cluster admin permissions.
18
-
19
5
## Major Changes
20
6
21
7
In the following sections you see actions which are required when you are upgrading to a specific version.
@@ -33,59 +19,7 @@ The following Values have changed key or Value:
33
19
* `mutatingWebhooksTimeoutSeconds` has moved to `webhooks.mutatingWebhooksTimeoutSeconds`
34
20
* `validatingWebhooksTimeoutSeconds` has moved to `webhooks.validatingWebhooksTimeoutSeconds`
35
21
36
-
37
-
## Installation
38
-
39
-
**When using OCI we recommend our dedicated [OCI Repository](https://artifacthub.io/packages/helm/capsule/capsule) for this chart**
40
-
41
-
The Capsule Operator requires it's CRDs to be installed before the operator itself. Since the Helm CRD lifecycle has limitations, we recommend to install the CRDs separately. Our chart supports the installation of crds via a dedicated Release.
42
-
The Capsule Operator Chart can be used to instantly deploy the Capsule Operator on your Kubernetes cluster.
There are two methods for specifying overrides of values during chart installation: `--values` and `--set`.
75
-
76
-
The `--values` option is the preferred method because it allows you to keep your overrides in a YAML file, rather than specifying them all on the command line. Create a copy of the YAML file `values.yaml` and add your overrides to it.
77
-
78
-
Specify your overrides file when you install the chart:
The values in your overrides file `myvalues.yaml` will override their counterparts in the chart's values.yaml file. Any values in `values.yaml` that weren’t overridden will keep their defaults.
83
-
84
-
If you only need to make minor customizations, you can specify them on the command line by using the `--set` option. For example:
Copy file name to clipboardExpand all lines: charts/capsule/values.yaml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,9 @@ manager:
141
141
logLevel: '4'
142
142
# -- Boolean, enforces the Tenant owner, during Namespace creation, to name it using the selected Tenant name as prefix, separated by a dash
143
143
forceTenantPrefix: false
144
-
# -- Override the Capsule user groups
144
+
# -- Names of the users considered as Capsule users.
145
+
userNames: []
146
+
# -- Names of the groups considered as Capsule users.
145
147
capsuleUserGroups: ["projectcapsule.dev"]
146
148
# -- Define groups which when found in the request of a user will be ignored by the Capsule
147
149
# this might be useful if you have one group where all the users are in, but you want to separate administrators from normal users with additional groups.
0 commit comments