Skip to content

Commit

Permalink
⚙️ Add basic ClusterAgentConfiguration settings
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonshatch authored and gamingrobot committed Sep 20, 2024
1 parent c75bce9 commit bc76dbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/helm/templates/cluster-defaults.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
spec:
template:
spec:
enableYamlVariableReplacement: {{ .Values.clusterDefaults.enableYamlVariableReplacement | default false }}
suppressDefaultApplicationName: {{ .Values.clusterDefaults.suppressDefaultApplicationName | default false }}
suppressDefaultServerName: {{ .Values.clusterDefaults.suppressDefaultServerName | default false }}
yaml: |-
{{ .Values.clusterDefaults.yaml | indent 8 }}
---
Expand Down
6 changes: 6 additions & 0 deletions manifests/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ clusterDefaults:
serviceKeyValue:
# Required if existingSecret is not set. The User Name from the Contrast UI.
userNameValue:
#If true, parse and replace %variables% in the yaml.
enableYamlVariableReplacement: false
#If false, automatically set the Contrast application name on injected workloads (the workload name), rather than use the default (generated by the agent).
suppressDefaultApplicationName: false
#If false, automatically set the Contrast server name on injected workloads ('kubernetes-{namespace}'), rather than use the default (normally the pod name).
suppressDefaultServerName: false
# Optional. Any custom configuration to use. Must be in the format of the standard YAML file.
yaml: |-
enable: true
Expand Down

0 comments on commit bc76dbb

Please sign in to comment.