Skip to content

Commit ce34e46

Browse files
author
Konstantin Bogdanov
committed
Update Helm chart
1 parent 505c561 commit ce34e46

File tree

5 files changed

+43
-238
lines changed

5 files changed

+43
-238
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ The YDB Kubernetes operator deploys and manages Yandex Database resources on a K
77
1. Helm 3.1.0+
88
2. Kubernetes 1.20+.
99
3. [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
10-
4. Support for ([Dynamic Volume Provisioning](https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/)).
1110

1211
## Limitations
1312

deploy/ydb-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.0
18+
version: 0.3.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

deploy/ydb-operator/README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
# YDB Kubernetes Operator Helm chart
22

3-
## Parameters
3+
## Add repo
44

5-
### Docker image configuration
5+
```console
6+
helm repo add ydb https://charts.ydb.tech
7+
helm repo update
8+
```
69

7-
| Name | Description | Value |
8-
| ------------------ | ----------------------------------------- | ----------------------------------------- |
9-
| `image.pullPolicy` | Политика скачивания образа | `IfNotPresent` |
10-
| `image.repository` | Image repository | `cr.yandex/crpbo4q9lbgkn85vr1rm/operator` |
11-
| `image.tag` | Image tag | `latest` |
12-
| `imagePullSecrets` | Secrets to use for Docker registry access | `[]` |
10+
_See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation._
1311

12+
## Install Chart
1413

15-
### Resource quotas
14+
```console
15+
# Helm
16+
$ helm install [RELEASE_NAME] ydb/operator
17+
```
1618

17-
| Name | Description | Value |
18-
| -------------------- | ---------------------------------------------- | ----- |
19-
| `resources.limits` | The resource limits for Operator container | `{}` |
20-
| `resources.requests` | The requested resources for Operator container | `{}` |
19+
## Configuration
2120

21+
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments:
2222

23+
```console
24+
helm show values ydb/operator
25+
```

deploy/ydb-operator/values.yaml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1-
## @section Docker image configuration
2-
##
3-
4-
## YDB operator image
1+
## Docker image configuration
52
##
63
image:
7-
## @param image.pullPolicy Operator container pull policy
4+
## Operator container pull policy
85
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
96
##
107
pullPolicy: IfNotPresent
11-
## @param image.repository Operator image repository
128
repository: cr.yandex/yc/ydb-kubernetes-operator
13-
## @param image.tag Operator image tag
14-
tag: 0.2.0
9+
tag: 0.4.3
1510

16-
## @param imagePullSecrets Secrets to use for Docker registry access
11+
## Secrets to use for Docker registry access
1712
## Secrets must be provided manually.
1813
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1914
## Example:
@@ -22,22 +17,20 @@ image:
2217
##
2318
imagePullSecrets: []
2419

25-
## @skip nameOverride
2620
nameOverride: ""
27-
## @skip fullnameOverride
2821
fullnameOverride: ""
2922

30-
## @section Resource quotas
23+
## Resource quotas
3124
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
3225
resources:
33-
## @param resources.limits The resource limits for Operator container
34-
## Например:
26+
## The resource limits for Operator container
27+
## Example:
3528
## limits:
3629
## cpu: 250m
3730
## memory: 512Mi
3831
limits: {}
39-
## @param resources.requests The requested resources for Operator container
40-
## Например:
32+
## The requested resources for Operator container
33+
## Example:
4134
## requests:
4235
## cpu: 250m
4336
## memory: 256Mi
@@ -48,6 +41,8 @@ service:
4841
type: ClusterIP
4942

5043
metrics:
44+
## Create ServiceMonitor resources
45+
##
5146
enabled: true
5247

5348
webhook:
@@ -57,6 +52,10 @@ webhook:
5752
type: ClusterIP
5853
port: 9443
5954

55+
## If enabled, generate a self-signed certificate, then patch the webhook configurations with the generated data.
56+
## On chart upgrades (or if the secret exists) the cert will not be re-generated. You can use this to provide your own
57+
## certs ahead of time if you wish.
58+
##
6059
patch:
6160
enabled: true
6261
image:
@@ -74,15 +73,15 @@ webhook:
7473
tolerations: []
7574

7675
## SecurityContext holds pod-level security attributes and common container settings.
77-
## This defaults to non root user with uid 2000 and gid 2000. *v1.PodSecurityContext false
76+
## This defaults to non-root user with uid 2000 and gid 2000. *v1.PodSecurityContext false
7877
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
7978
##
8079
securityContext:
8180
runAsGroup: 2000
8281
runAsNonRoot: true
8382
runAsUser: 2000
8483

85-
# Use certmanager to generate webhook certs
84+
# Use cert-manager to generate webhook certs
8685
certManager:
8786
enabled: false
8887
# self-signed root certificate

0 commit comments

Comments
 (0)