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
// A label selector for Kubernetes namespaces in which credentials can be generated.
103
+
// Accepts either a JSON or YAML object. The value should be of type LabelSelector as illustrated: "'{'matchLabels':{'stage':'prod','sa-generator':'vault'}}".
104
+
// If set with allowed_kubernetes_namespaces, the conditions are ORed.
// DeafulTTL Specifies the TTL for the leases associated with this role. Accepts time suffixed strings ("1h") or an integer number of seconds. Defaults to system/engine default TTL time.
103
109
// +kubebuilder:validation:Optional
104
110
// +kubebuilder:default="0s"
@@ -109,6 +115,11 @@ type KubeSERole struct {
109
115
// +kubebuilder:default="0s"
110
116
MaxTTL metav1.Duration`json:"maxTTL,omitempty"`
111
117
118
+
// DefaultAudiences The default intended audiences for generated Kubernetes tokens, specified by a comma separated string. e.g "custom-audience-0,custom-audience-1".
119
+
// If not set or set to "", the Kubernetes cluster default for audiences of service account tokens will be used.
// ServiceAccountName The pre-existing service account to generate tokens for. Mutually exclusive with all role parameters. If set, only a Kubernetes token will be created when credentials are requested. See the Kubernetes service account documentation for more details on service accounts.
0 commit comments