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

Override the keystore script #726

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

doublek
Copy link
Contributor

@doublek doublek commented Jul 17, 2020

Description

  • Anytime the init container ran (such as on node restarts), elasticsearch-keystore create fails if the keystore already exists. We use elasticsearch-keystore list to test before calling elasticsearch-keystore create.

  • The -f was needed for elasticsearch-keystore add-file otherwise it needed stdin/tty for presenting a confirmation dialogue.

Note that this init container is only created by ECK operator when OIDC auth is enabled.

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

@doublek doublek force-pushed the eck-custom-keystore-init branch 2 times, most recently from 0c45e9f to 3b39b8c Compare July 17, 2020 22:49
@doublek doublek marked this pull request as ready for review July 17, 2020 23:19
@doublek doublek added enterprise Feature applies to enterprise only kind/bug Something isn't working labels Jul 17, 2020
@matthewdupre matthewdupre merged commit 59da151 into tigera:master Jul 17, 2020
@doublek doublek deleted the eck-custom-keystore-init branch July 17, 2020 23:24
matthewdupre added a commit that referenced this pull request Jul 17, 2020
…gera-release-v1.9

Automated cherry pick of #726: Override the keystore script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise Feature applies to enterprise only kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants