Skip to content

Commit

Permalink
docs(vector): Clarify usage of secrets.generic and env (#129)
Browse files Browse the repository at this point in the history
* docs(vector): Clarify usage of secrets.generic and env

Signed-off-by: Spencer Gilbert <[email protected]>

* verson bump

Signed-off-by: Spencer Gilbert <[email protected]>
  • Loading branch information
spencergilbert authored Dec 14, 2021
1 parent e28ba32 commit 1396dd4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion charts/vector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ podManagementPolicy: OrderedReady
## Create a Secret resource for Vector to use
secrets:
# secrets.generic -- Each Key/Value will be added to the Secret's data key, each value should be raw and NOT base64 encoded
## Any secrets can be provided here, it's commonly used for credentials and other access related values.
## NOTE: Don't commit unencrypted secrets to git!
generic: {}
# my_variable: "my-secret-value"
# datadog_api_key: "api-key"
# awsAccessKeyId: "access-key"
# awsSecretAccessKey: "secret-access-key"

Expand Down Expand Up @@ -126,11 +129,17 @@ args:
- "/etc/vector/"

# env -- Set environment variables in Vector containers
## The examples below leverage examples from secrets.generic and assume no name overrides with a Release name of "vector"
env: []
# - name: MY_VARIABLE
# valueFrom:
# secretKeyRef:
# name: vector
# key: my_variable
# - name: AWS_ACCESS_KEY_ID
# valueFrom:
# secretKeyRef:
# name: vector-aggregator
# name: vector
# key: awsAcessKeyId

# containerPorts -- Manually define Vector's Container ports, overrides automated generation of Container ports
Expand Down

0 comments on commit 1396dd4

Please sign in to comment.