Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE]: set etcd snapshotRetention/cron #16

Open
shabazzfsher opened this issue Feb 20, 2024 · 2 comments
Open

[RFE]: set etcd snapshotRetention/cron #16

shabazzfsher opened this issue Feb 20, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@shabazzfsher
Copy link

#Feature Request

Request description:
User cannot configure any of the ETCD section. So setting Cron Schedule or S3 configuration are both unavailable.

https://github.com/rancherfederal/rancher-cluster-templates/blob/main/charts/cluster-templates/templates/cluster.yaml#L81

Example:
Here is an example of what it should look like.

etcd:
  {{- if .Values.etcd.s3.endpoint }}
    s3:
      bucket: {{ .Values.etcd.s3.bucket }}
      {{- if .Values.etcd.s3.cloudCredentialName }}
      cloudCredentialName: "{{ .Values.etcd.s3.cloudCredentialName }}"
      {{- end }}
      endpoint: {{ .Values.etcd.s3.endpoint }}
      {{- if .Values.etcd.s3.endpointCA }}
      endpointCA: {{ .Values.etcd.s3.endpointCA }}
      {{- end }}
      {{- if .Values.etcd.s3.folder }}
      folder: {{ .Values.etcd.s3.folder }}
      {{- end }}
      region: {{ .Values.etcd.s3.region }}
  {{- end }}
    snapshotRetention: {{ .Values.etcd.snapshotRetention }}
    snapshotScheduleCron: {{ .Values.etcd.snapshotScheduleCron }}
@shabazzfsher shabazzfsher changed the title RFE: set etcd snapshotRetention/cron [RFE]: set etcd snapshotRetention/cron Feb 20, 2024
@bcdurden
Copy link

bcdurden commented Apr 3, 2024

The Rancher CRD supports these fields, they appear to just not be enabled yet in the helmchart.

>kubectl explain cluster.spec.rkeConfig
GROUP:      provisioning.cattle.io
KIND:       Cluster
VERSION:    v1

FIELD: rkeConfig <Object>

DESCRIPTION:
    <empty>
FIELDS:
  additionalManifest	<string>
    <no description>

  chartValues	<Object>
    <no description>

  etcd	<Object>
    <no description>

  etcdSnapshotCreate	<Object>
    <no description>

  etcdSnapshotRestore	<Object>
    <no description>
...

@bcdurden bcdurden added the enhancement New feature or request label Apr 3, 2024
@zackbradys zackbradys self-assigned this Apr 16, 2024
@zackbradys
Copy link
Member

We are working on this feature and functionality in the next release of rancher-cluster-templates. Thank you for your patience on getting this supported in the chart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants