Skip to content

Conversation

dajudge
Copy link
Contributor

@dajudge dajudge commented Oct 25, 2021

I just stumbled across a piece of documentation that IMO is slightly unclear. The comments for the key material in cluster credentials in the example don't state clearly that the PEM encoded keys/certs must additionally be base64 encoded - I consequently did it wrong the first time around.

I suggest adding some clarifying additional info in the example's comment.

Fixes #7544

Fixes argoproj#7544

Signed-off-by: Alex Stockinger <mail@alexstockinger.de>
Copy link
Member

@jessesuen jessesuen left a comment

Choose a reason for hiding this comment

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

Do you think a commented-out example would clear up all confusion?

Copy link
Contributor

@wtam2018 wtam2018 left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Oct 26, 2021

Codecov Report

Merging #7545 (77f1f23) into master (1804d77) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7545   +/-   ##
=======================================
  Coverage   41.38%   41.38%           
=======================================
  Files         161      161           
  Lines       21619    21619           
=======================================
  Hits         8948     8948           
  Misses      11408    11408           
  Partials     1263     1263           
Impacted Files Coverage Δ
util/settings/settings.go 46.83% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1804d77...77f1f23. Read the comment docs.

@alexmt alexmt merged commit 0dbffb8 into argoproj:master Oct 28, 2021
behoof4mind pushed a commit to iits-consulting/argo-cd that referenced this pull request Oct 29, 2021
Fixes argoproj#7544

Signed-off-by: Alex Stockinger <mail@alexstockinger.de>
Signed-off-by: Denis Lavrushko <denis.lavrushko@iits-consulting.de>
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.

Cluster Credentials doc don't state required base64 encoding of key material
4 participants