You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy/charts/venafi-kubernetes-agent/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ If you do not have one, you can sign up for a free trial now at:
26
26
| authentication.venafiConnection.namespace | string |`"venafi"`| The namespace of a VenafiConnection resource which contains the configuration for authenticating to Venafi. |
27
27
| command | list |`[]`| Specify the command to run overriding default binary. |
28
28
| config | object |`{"clientId":"","clusterDescription":"","clusterName":"","configmap":{"key":null,"name":null},"ignoredSecretTypes":["kubernetes.io/service-account-token","kubernetes.io/dockercfg","kubernetes.io/dockerconfigjson","kubernetes.io/basic-auth","kubernetes.io/ssh-auth","bootstrap.kubernetes.io/token","helm.sh/release.v1"],"period":"0h1m0s","server":"https://api.venafi.cloud/"}`| Configuration section for the Venafi Kubernetes Agent itself |
29
-
| config.clientId | string |`""`| The client-id returned from the Venafi Control Plane |
29
+
| config.clientId | string |`""`| The client-id to be used for authenticating with the Venafi Control Plane. Only useful when using a Key Pair Service Account in the Venafi Control Plane. You can obtain the cliend ID by creating a Key Pair Service Account in the Venafi Control Plane.|
30
30
| config.clusterDescription | string |`""`| Description for the cluster resource if it needs to be created in Venafi Control Plane |
31
31
| config.clusterName | string |`""`| Name for the cluster resource if it needs to be created in Venafi Control Plane |
32
32
| 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. |
33
33
| config.ignoredSecretTypes | list |`["kubernetes.io/service-account-token","kubernetes.io/dockercfg","kubernetes.io/dockerconfigjson","kubernetes.io/basic-auth","kubernetes.io/ssh-auth","bootstrap.kubernetes.io/token","helm.sh/release.v1"]`| Reduce the memory usage of the agent and reduce the load on the Kubernetes API server by omitting various common Secret types when listing Secrets. These Secret types will be added to a "type!=<type>" field selector in the agent config. * https://docs.venafi.cloud/vaas/k8s-components/t-cfg-tlspk-agent/#configuration * https://kubernetes.io/docs/concepts/configuration/secret/#secret-types * https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/#list-of-supported-fields|
34
34
| config.period | string |`"0h1m0s"`| Send data back to the platform every minute unless changed |
35
-
| 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/|
35
+
| config.server | string |`"https://api.venafi.cloud/"`|API URL of the Venafi Control Plane API. For EU tenants, set this value tohttps://api.venafi.eu/. If you are using the VenafiConnection authentication method, you must set the API URL using the field `spec.vcp.url` on the VenafiConnection resource instead.|
36
36
| crds.forceRemoveValidationAnnotations | bool |`false`| The 'x-kubernetes-validations' annotation is not supported in Kubernetes 1.22 and below. This annotation is used by CEL, which is a feature introduced in Kubernetes 1.25 that improves how validation is performed. This option allows to force the 'x-kubernetes-validations' annotation to be excluded, even on Kubernetes 1.25+ clusters. |
37
37
| crds.venafiConnection | object |`{"include":false}`| Optionally include the VenafiConnection CRDs |
38
38
| crds.venafiConnection.include | bool |`false`| When set to false, the rendered output does not contain the VenafiConnection CRDs and RBAC. This is useful for when the Venafi Connection resources are already installed separately. |
returnConfig{}, nil, fmt.Errorf("failed to parse server URL: %w", err)
270
+
// In VenafiConnection mode, we don't need the server field. For the other
271
+
// modes, we do need to validate the server field.
272
+
varbaseURLstring
273
+
ifflags.VenConnName!="" {
274
+
ifcfg.Server!="" {
275
+
log.Printf("ignoring the server field specified in the config file. In Venafi Connection mode, this field is not needed. Use the VenafiConnection's spec.vcp.url field instead.")
276
+
}
277
+
} else {
278
+
baseURL=cfg.Server
279
+
ifbaseURL=="" {
280
+
log.Printf("Using deprecated Endpoint configuration. User Server instead.")
0 commit comments