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

Fix where etcd-cluster-spec is writen when etcd's BackupStore is defined -v2 #9474

Merged

Conversation

rdrgmnzs
Copy link
Contributor

@rdrgmnzs rdrgmnzs commented Jul 2, 2020

Currently if a user defines a non-standard backupStore location, such as:

  • backups:
    backupStore: s3://my-bucket/etcdBackup/my-cluster.local

the etcd-cluster-spec is still written to the default location and ignores the store set in backupStore. This in turn causes etcd-manager to not start etcd since it still honors the user defined backupStore location.


This is an alternative to #9319

/assign @justinsb

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 2, 2020
@k8s-ci-robot k8s-ci-robot added area/api approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 2, 2020
@rdrgmnzs rdrgmnzs force-pushed the fix-non-standard-backupStore-v2 branch from 0a521ca to dcbd81f Compare July 2, 2020 06:20
@rdrgmnzs rdrgmnzs force-pushed the fix-non-standard-backupStore-v2 branch from dcbd81f to 627b715 Compare July 2, 2020 07:01
@justinsb
Copy link
Member

justinsb commented Jul 2, 2020

Thanks so much @rdrgmnzs - both for finding & fixing and for tweaking to try the other approach. I think this version is clearer, so I think we should get this one in!

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 2, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justinsb, rdrgmnzs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 4d20013 into kubernetes:master Jul 2, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Jul 2, 2020
k8s-ci-robot added a commit that referenced this pull request Jul 2, 2020
Automated cherry pick of #9474 onto release-1.18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/api cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants