Skip to content

Commit dfbeb28

Browse files
committed
Additional Pritesh feedback
1 parent c4ed6da commit dfbeb28

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/current/v26.1/override-templates-cockroachdb-operator.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This page describes advanced configurations that override the supported default
2424

2525
The `cockroachdb.crdbCluster.podTemplate` field allows you to override the default pod metadata and specification configured by the {{ site.data.products.cockroachdb-operator }}. The values in this field are merged with the default pod specification, where settings in `podTemplate` override any values in the default.
2626

27-
The `podTemplate` field includes a `containers` field that specifies the container name and image that the template is applied to. By default, this resolves to the `cockroachdb` container name and can be excluded from modifications to the CockroachDB pod template YAML. For advanced configurations, you may need to provide specific images for the `containers` and `initContainers`. For example, the following `podTemplate` configuration specifies a default `cockroachdb/cockroach:v25.4.0` container image:
27+
The `podTemplate` field includes a `containers` field that specifies the container name and image that the template is applied to. By default, this resolves to the `cockroachdb` container name and can be excluded from modifications to the CockroachDB pod template YAML. If needed, you can provide specific images for the `containers` and `initContainers`. For example, the following `podTemplate` configuration specifies a custom init container:
2828

2929
~~~ yaml
3030
cockroachdb:
@@ -38,12 +38,6 @@ cockroachdb:
3838
initContainers:
3939
- name : cockroachdb-init
4040
image: us-docker.pkg.dev/cockroach-cloud-images/data-plane/init-container@sha256:example1234567890abcdefghijklmnopqrstuvwxyz
41-
# containers captures the list of containers for CockroachDB pods.
42-
containers:
43-
- name: cockroachdb
44-
image: cockroachdb/cockroach:v25.4.0
45-
# imagePullSecrets captures the secrets for fetching images from private registries.
46-
imagePullSecrets: []
4741
~~~
4842

4943
## Override the default `cockroach start` flags

src/current/v26.1/schedule-cockroachdb-operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ cockroachdb:
374374
metadata:
375375
labels:
376376
app.kubernetes.io/name: "cockroachdb"
377-
annotations
377+
annotations:
378378
kubernetes.io/description: "This is a CockroachDB pod."
379379
~~~
380380

0 commit comments

Comments
 (0)