Skip to content

Commit 0814a94

Browse files
Fix links, helmchart, install docs (#63)
1 parent 04d59bc commit 0814a94

5 files changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For users who want to quickly try the operator:
4242
1. Install the Custom Resource Definitions(CRD) and operator (Requires cert-manager to issue webhook certificates):
4343
- Using pre-built manifests:
4444
```sh
45-
kubectl apply -f https://github.com/ClickHouse/clickhouse-operator/releases/download/latest/clickhouse-operator.yaml
45+
kubectl apply -f https://github.com/ClickHouse/clickhouse-operator/releases/latest/download/clickhouse-operator.yaml
4646
```
4747
- Using helm chart
4848
```sh

bundle.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
55
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
66
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
77
LABEL operators.operatorframework.io.bundle.package.v1=clickhouse-operator
8-
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
8+
LABEL operators.operatorframework.io.bundle.channels.v1=stable
9+
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
910
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.42.0
1011
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1112
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4

dist/chart/templates/manager/manager.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ spec:
5050
- name: manager
5151
{{- $args := .Values.manager.args }}
5252
{{- if .Values.metrics.enable }}
53-
{{- $args = append $args (printf "--metrics-bind-address=%s" .Values.metrics.port) }}
54-
{{- $args = append $args (printf "--metrics-secure=%s" .Values.metrics.secure) }}
53+
{{- $args = append $args (printf "--metrics-bind-address=:%v" .Values.metrics.port) }}
54+
{{- $args = append $args (printf "--metrics-secure=%t" .Values.metrics.secure) }}
5555
{{- end }}
5656
{{- if .Values.certManager.enable }}
5757
{{- $args = append $args "--webhook-cert-path=/tmp/k8s-server/serving-certs" }}
@@ -78,7 +78,7 @@ spec:
7878
periodSeconds: 10
7979
ports:
8080
{{- if .Values.webhook.enable }}
81-
- containerPort: 9443
81+
- containerPort: {{ .Values.webhook.port }}
8282
name: webhook-server
8383
protocol: TCP
8484
{{- end }}
@@ -91,7 +91,7 @@ spec:
9191
securityContext: {{ toYaml .Values.manager.podSecurityContext | nindent 22 }}
9292
{{- if .Values.certManager.enable }}
9393
volumeMounts:
94-
- mountPath: /tmp/k8s-webhook-server/serving-certs
94+
- mountPath: /tmp/k8s-server/serving-certs
9595
name: serving-certs
9696
readOnly: true
9797
{{- end }}

docs/installation/kubectl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This guide covers installing the ClickHouse Operator using kubectl and manifest
1515
Install the operator and CRDs from the latest release:
1616

1717
```bash
18-
kubectl apply -f https://github.com/ClickHouse/clickhouse-operator/releases/download/<release>/clickhouse-operator.yaml
18+
kubectl apply -f https://github.com/ClickHouse/clickhouse-operator/releases/latest/download/clickhouse-operator.yaml
1919
```
2020

2121
This will:

docs/installation/olm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ metadata:
7070
name: clickhouse-operator
7171
namespace: clickhouse-operator-system
7272
spec:
73-
channel: stable
73+
channel: stable-v0
7474
name: clickhouse-operator
7575
source: clickhouse-operator-catalog
7676
sourceNamespace: clickhouse-operator-system

0 commit comments

Comments
 (0)