Skip to content

Commit 15c631a

Browse files
authored
Merge pull request #510 from jetstack/add-cluster-description-helm
feat(onboarding): Add onboarding values to the helm chart
2 parents 5067343 + 615ae2b commit 15c631a

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

deploy/charts/venafi-kubernetes-agent/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: venafi-kubernetes-agent
33
description: |-
44
The Venafi Kubernetes Agent connects your Kubernetes or Openshift cluster to the Venafi Control Plane.
55
type: application
6-
version: 0.1.43
7-
appVersion: "v0.1.43"
6+
version: 0.1.44
7+
appVersion: "v0.1.44"

deploy/charts/venafi-kubernetes-agent/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The Venafi Kubernetes Agent connects your Kubernetes or Openshift cluster to the Venafi Control Plane.
44

5-
![Version: 0.1.43](https://img.shields.io/badge/Version-0.1.43-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.43](https://img.shields.io/badge/AppVersion-v0.1.43-informational?style=flat-square)
5+
![Version: 0.1.44](https://img.shields.io/badge/Version-0.1.44-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.44](https://img.shields.io/badge/AppVersion-v0.1.44-informational?style=flat-square)
66

77
## Additional Information
88

@@ -146,8 +146,10 @@ You should see the following events for your service account:
146146
| authentication.secretKey | string | `"privatekey.pem"` | Key name in the referenced secret |
147147
| authentication.secretName | string | `"agent-credentials"` | Name of the secret containing the private key |
148148
| command | list | `[]` | Specify the command to run overriding default binary. |
149-
| config | object | `{"clientId":"","configmap":{"key":null,"name":null},"period":"0h1m0s","server":"https://api.venafi.cloud/"}` | Configuration section for the Venafi Kubernetes Agent itself |
149+
| config | object | `{"clientId":"","clusterDescription":"","clusterName":"","configmap":{"key":null,"name":null},"period":"0h1m0s","server":"https://api.venafi.cloud/"}` | Configuration section for the Venafi Kubernetes Agent itself |
150150
| config.clientId | string | `""` | The client-id returned from the Venafi Control Plane |
151+
| config.clusterDescription | string | `""` | Description for the cluster resource if it needs to be created in Venafi Control Plane |
152+
| config.clusterName | string | `""` | Name for the cluster resource if it needs to be created in Venafi Control Plane |
151153
| config.configmap | object | `{"key":null,"name":null}` | Specify ConfigMap details to load config from an existing resource. This should be blank by default unless you have you own config. |
152154
| config.period | string | `"0h1m0s"` | Send data back to the platform every minute unless changed |
153155
| config.server | string | `"https://api.venafi.cloud/"` | Overrides the server if using a proxy in your environment For the EU variant use: https://api.venafi.eu/ |

deploy/charts/venafi-kubernetes-agent/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ metadata:
88
{{- include "venafi-kubernetes-agent.labels" . | nindent 4 }}
99
data:
1010
config.yaml: |-
11+
cluster_id: {{ .Values.config.clusterName | quote }}
12+
cluster_description: {{ .Values.config.clusterDescription | quote }}
1113
server: {{ .Values.config.server | quote }}
1214
venafi-cloud:
1315
uploader_id: "no"

deploy/charts/venafi-kubernetes-agent/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ config:
9191
clientId: ""
9292
# -- Send data back to the platform every minute unless changed
9393
period: "0h1m0s"
94+
# -- Name for the cluster resource if it needs to be created in Venafi Control Plane
95+
clusterName: ""
96+
# -- Description for the cluster resource if it needs to be created in Venafi Control Plane
97+
clusterDescription: ""
9498

9599
# -- Specify ConfigMap details to load config from an existing resource.
96100
# This should be blank by default unless you have you own config.

0 commit comments

Comments
 (0)