Skip to content

[CRDB-48126] Added Operator charts, modified CockroachDB charts to support cc-operator#468

Merged
NishanthNalluri merged 2 commits intomasterfrom
nishanth/cc-operator-charts
Mar 10, 2025
Merged

[CRDB-48126] Added Operator charts, modified CockroachDB charts to support cc-operator#468
NishanthNalluri merged 2 commits intomasterfrom
nishanth/cc-operator-charts

Conversation

@NishanthNalluri
Copy link
Copy Markdown
Contributor

@NishanthNalluri NishanthNalluri commented Mar 6, 2025

  • Added CC-Operator Charts
  • Support to release in custom namespace
  • CockroachDB charts have been updated to integrate with the cc-operator

Prev PR's: [#456] [#455]

JIRA: [CRDB-48126]
Parent: [CRDB-43233]

{{- join "," $godebugList -}}
{{- end }}


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could we indent the changes appropriately?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this has been addressed here and in operator/templates/_helpers.tpl.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One commit changes got missed while doing reset, fixed all of them now

{{- end }}
features:
- reconcile
- reconcile-beta
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most likely, we don't need this feature. Could you confirm?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmcarp I see the reconcile-beta feature is added for migrating tests, can we remove this here?

Comment on lines +64 to +66
# All properties below are solely to pass validation. They aren't used by the
# betaclusterctrl controller so the values don't matter so long as they're
# valid.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we could update this comment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These things are from managed service template, @jmcarp We can remove this comment entirely right?

@NishanthNalluri NishanthNalluri force-pushed the nishanth/cc-operator-charts branch from 8761ba8 to 218ad19 Compare March 6, 2025 21:03
{{- join "," $godebugList -}}
{{- end }}


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this has been addressed here and in operator/templates/_helpers.tpl.

@pritesh-lahoti pritesh-lahoti self-requested a review March 7, 2025 01:59
@NishanthNalluri NishanthNalluri force-pushed the nishanth/cc-operator-charts branch 2 times, most recently from 9c9fafd to f68a938 Compare March 7, 2025 20:32
# A map of CRDB cluster settings.
# See https://www.cockroachlabs.com/docs/stable/cluster-settings.html
clusterSettings: ~

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change

@NishanthNalluri NishanthNalluri force-pushed the nishanth/cc-operator-charts branch from a6259c7 to 14d1ec5 Compare March 10, 2025 14:15
Fix: e2e test cases

Fix: e2e test cases
@NishanthNalluri NishanthNalluri force-pushed the nishanth/cc-operator-charts branch from bba2070 to cee35d2 Compare March 10, 2025 14:49
@NishanthNalluri NishanthNalluri merged commit 72abb70 into master Mar 10, 2025
9 checks passed
@NishanthNalluri NishanthNalluri deleted the nishanth/cc-operator-charts branch March 10, 2025 15:28
@NishanthNalluri NishanthNalluri changed the title Added Operator charts, modified cockroachdb charts to support cc-operator [CRDB-48126] Added Operator charts, modified CockroachDB charts to support cc-operator Mar 11, 2025
Comment on lines +27 to +31
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "cockroachdb.fullname" . }}-node-reader
namespace: {{ .Release.Namespace | quote }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "cockroachdb.fullname" . }}-node-reader
namespace: {{ .Release.Namespace | quote }}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "cockroachdb.clusterfullname" . }}-node-reader

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for letting us know, we've fixed this issue and released a new version 16.0.4. Please feel free to upgrade and let us know, if you face any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants