Skip to content

Conversation

pchaigno
Copy link
Member

The commands to perform key rotations don't work because of YAML's indentations. The key keys can be indented:

$ ks get secrets cilium-ipsec-keys -o yaml | grep -C1 keys:
data:
  keys: MSByZmM0MTA2KGdjbShhZXMpKSA0NDQzNDI0MTM0MzMzMjMxMjQyMzIyMjExNDEzMTIxMWY0ZjNmMmYxIDEyOA==
kind: Secret

This pull request fixes the regular expression.

Fixes: #15365

The commands to perform key rotations don't work because of YAML's
indentations. The key keys can be indented:

    $ ks get secrets cilium-ipsec-keys -o yaml | grep -C1 keys:
    data:
      keys: MSByZmM0MTA2KGdjbShhZXMpKSA0NDQzNDI0MTM0MzMzMjMxMjQyMzIyMjExNDEzMTIxMWY0ZjNmMmYxIDEyOA==
    kind: Secret

This commit fixes the regular expression.

Fixes: 458c623 ("Documentation: fix key rotation command in encryption guide")
Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno pchaigno added area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. release-note/misc This PR makes changes that have no direct user impact. needs-backport/1.7 labels Mar 26, 2021
@pchaigno pchaigno requested a review from a team as a code owner March 26, 2021 18:26
@pchaigno pchaigno requested a review from qmonnet March 26, 2021 18:26
@qmonnet qmonnet added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 26, 2021
@qmonnet qmonnet removed their assignment Mar 26, 2021
@aanm aanm merged commit aabc7bf into cilium:master Mar 29, 2021
@pchaigno pchaigno deleted the docs-fix-key-rotation branch March 29, 2021 16:27
This was referenced Mar 31, 2021
@aanm aanm mentioned this pull request Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants