Skip to content

Conversation

burnsie7
Copy link
Contributor

Reported by Apple.

kubectl create secret generic datadog-agent --from-literal api-key="<DATADOG_API_KEY>" --namespace="default"

Results in a bad key.

kubectl create secret generic datadog-agent --from-literal='api-key=<DATADOG_API_KEY>' --namespace="default"

Is correct.

See examples of use of the --from-literal key here:

https://kubernetes.io/docs/concepts/configuration/secret/

What does this PR do?

Motivation

Preview

https://docs-staging.datadoghq.com/<BRANCH_NAME>/

Additional Notes


Reviewer checklist

  • Review the changed files.
  • Review the URLs listed in the Preview section.
  • Review any mentions of "Contact Datadog support" for internal support documentation.

Reported by Apple.

`kubectl create secret generic datadog-agent --from-literal api-key="<DATADOG_API_KEY>" --namespace="default"`

Results in a bad key.

`kubectl create secret generic datadog-agent --from-literal='api-key=<DATADOG_API_KEY>' --namespace="default"`

Is correct.

See examples of use of the --from-literal key here:

https://kubernetes.io/docs/concepts/configuration/secret/
@burnsie7 burnsie7 requested a review from FatineBts April 20, 2021 19:22
@burnsie7 burnsie7 requested a review from a team as a code owner April 20, 2021 19:22
@github-actions github-actions bot added the agent Content changed in the Agent folder label Apr 20, 2021
@cswatt cswatt merged commit 387f1a4 into master Apr 20, 2021
@cswatt cswatt deleted the burnsie7-patch-1 branch April 20, 2021 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent Content changed in the Agent folder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants