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-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,12 @@ If you do not have one, you can sign up for a free trial now at:
25
25
| authentication.venafiConnection.name | string |`"venafi-components"`| The name of a VenafiConnection resource which contains the configuration for authenticating to Venafi. |
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
-
| 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 |
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
29
| config.clientId | string |`""`| The client-id returned from 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
+
| 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|
33
34
| config.period | string |`"0h1m0s"`| Send data back to the platform every minute unless changed |
34
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
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. |
Secrets can be gathered using the following config:
70
70
@@ -79,4 +79,30 @@ Secrets can be gathered using the following config:
79
79
80
80
Before Secrets are sent to the Preflight backend, they are redacted so no secret data is transmitted. See [`fieldfilter.go`](./../../pkg/datagatherer/k8s/fieldfilter.go) to see the details of which fields are filteres and which ones are redacted.
81
81
82
-
> **All resource other than Kubernetes Secrets are sent in full, so make sure that you don't store secret information on arbitrary resources.**
82
+
> **All resource other than Kubernetes Secrets are sent in full, so make sure that you don't store secret information on arbitrary resources.**
83
+
84
+
85
+
## Field Selectors
86
+
87
+
You can use [field selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/#list-of-supported-fields)
88
+
to include or exclude certain resources.
89
+
For example, you can reduce the memory usage of the agent and reduce the load on the Kubernetes
90
+
API server by omitting various common [Secret types](https://kubernetes.io/docs/concepts/configuration/secret/#secret-types)
0 commit comments