Skip to content

Commit

Permalink
Add clientID to configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Sep 3, 2020
1 parent dfcb024 commit dab05a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions charts/fleet-agent/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{if .Values.labels }}
kind: ConfigMap
apiVersion: v1
metadata:
Expand All @@ -7,5 +6,5 @@ data:
config: |-
{
"labels":{{toJson .Values.labels}}
"clientID":"{{.Values.clientID}}"
}
{{end}}
5 changes: 5 additions & 0 deletions charts/fleet-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ token: ""
# Labels to add to the cluster upon registration only. They are not added after the fact.
#labels:
# foo: bar
# The client ID of the cluster to associate with
clientID: ""

# Please do not change the below setting unless you really know what you are doing
internal:
systemNamespace: fleet-system
managedReleaseName: fleet-agent

# The namespace of the cluster we are register with
clusterNamespace: ""

0 comments on commit dab05a2

Please sign in to comment.