Skip to content

Commit 742d0e9

Browse files
authored
Update CRDB operator init container URL (#21324)
1 parent a401e5f commit 742d0e9

File tree

4 files changed

+4
-64
lines changed

4 files changed

+4
-64
lines changed

src/current/v25.2/override-templates-cockroachdb-operator.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -37,37 +37,7 @@ cockroachdb:
3737
# initContainers captures the list of init containers for CockroachDB pods.
3838
initContainers:
3939
- name : cockroachdb-init
40-
image: us-docker.pkg.dev/cockroach-cloud-images/data-plane/init-container@sha256:c3e4ba851802a429c7f76c639a64b9152d206cebb31162c1760f05e98f7c4254
41-
# containers captures the list of containers for CockroachDB pods.
42-
containers:
43-
- name: cockroachdb
44-
image: cockroachdb/cockroach:v25.2.2
45-
# imagePullSecrets captures the secrets for fetching images from private registries.
46-
imagePullSecrets: []
47-
~~~
48-
49-
At least one value for `containers` must be specified if any part of `podTemplate` is being modified. For example, the following `podTemplate` configuration overrides pod anti-affinity behavior and specifies a default `cockroachdb/cockroach:v25.2.2` container image:
50-
51-
~~~ yaml
52-
cockroachdb:
53-
crdbCluster:
54-
podTemplate:
55-
spec:
56-
affinity:
57-
podAntiAffinity:
58-
preferredDuringSchedulingIgnoredDuringExecution:
59-
- weight: 100
60-
podAffinityTerm:
61-
labelSelector:
62-
matchExpressions:
63-
- key: app.kubernetes.io/component
64-
operator: In
65-
values:
66-
- cockroachdb
67-
topologyKey: kubernetes.io/hostname
68-
containers:
69-
- name: cockroachdb
70-
image: cockroachdb/cockroach:v25.2.2
40+
image: us-docker.pkg.dev/releases-prod/self-hosted/init-container@sha256:example1234567890abcdefghijklmnopqrstuvwxyz
7141
~~~
7242

7343
## Override the default `cockroach start` flags

src/current/v25.3/override-templates-cockroachdb-operator.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -37,37 +37,7 @@ cockroachdb:
3737
# initContainers captures the list of init containers for CockroachDB pods.
3838
initContainers:
3939
- name : cockroachdb-init
40-
image: us-docker.pkg.dev/cockroach-cloud-images/data-plane/init-container@sha256:c3e4ba851802a429c7f76c639a64b9152d206cebb31162c1760f05e98f7c4254
41-
# containers captures the list of containers for CockroachDB pods.
42-
containers:
43-
- name: cockroachdb
44-
image: cockroachdb/cockroach:v25.3.2
45-
# imagePullSecrets captures the secrets for fetching images from private registries.
46-
imagePullSecrets: []
47-
~~~
48-
49-
At least one value for `containers` must be specified if any part of `podTemplate` is being modified. For example, the following `podTemplate` configuration overrides pod anti-affinity behavior and specifies a default `cockroachdb/cockroach:v25.3.2` container image:
50-
51-
~~~ yaml
52-
cockroachdb:
53-
crdbCluster:
54-
podTemplate:
55-
spec:
56-
affinity:
57-
podAntiAffinity:
58-
preferredDuringSchedulingIgnoredDuringExecution:
59-
- weight: 100
60-
podAffinityTerm:
61-
labelSelector:
62-
matchExpressions:
63-
- key: app.kubernetes.io/component
64-
operator: In
65-
values:
66-
- cockroachdb
67-
topologyKey: kubernetes.io/hostname
68-
containers:
69-
- name: cockroachdb
70-
image: cockroachdb/cockroach:v25.3.2
40+
image: us-docker.pkg.dev/releases-prod/self-hosted/init-container@sha256:example1234567890abcdefghijklmnopqrstuvwxyz
7141
~~~
7242

7343
## Override the default `cockroach start` flags

src/current/v25.4/override-templates-cockroachdb-operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cockroachdb:
3737
# initContainers captures the list of init containers for CockroachDB pods.
3838
initContainers:
3939
- name : cockroachdb-init
40-
image: us-docker.pkg.dev/cockroach-cloud-images/data-plane/init-container@sha256:example1234567890abcdefghijklmnopqrstuvwxyz
40+
image: us-docker.pkg.dev/releases-prod/self-hosted/init-container@sha256:example1234567890abcdefghijklmnopqrstuvwxyz
4141
~~~
4242

4343
## Override the default `cockroach start` flags

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cockroachdb:
3737
# initContainers captures the list of init containers for CockroachDB pods.
3838
initContainers:
3939
- name : cockroachdb-init
40-
image: us-docker.pkg.dev/cockroach-cloud-images/data-plane/init-container@sha256:example1234567890abcdefghijklmnopqrstuvwxyz
40+
image: us-docker.pkg.dev/releases-prod/self-hosted/init-container@sha256:example1234567890abcdefghijklmnopqrstuvwxyz
4141
~~~
4242

4343
## Override the default `cockroach start` flags

0 commit comments

Comments
 (0)