ServiceAccount
ServiceAccount is a public non-human principal.
ServiceAccount is a public non-human principal. Credentials stay private.
| API version | kudurru.io/v1alpha1 |
| Kind | ServiceAccount |
| Scope | Namespaced |
| Resource | serviceaccounts.kudurru.io |
| Short names | ksa |
| Subresources | status |
Spec
ServiceAccountSpec is a non-human principal owning API tokens (§8.6).
| Field | Type | Description |
|---|---|---|
spec.description | string | Length: at most 2048 |
spec.disabled | boolean | Disabled refuses every token of the account. |
spec.token | object | ServiceAccountTokenSpec asks kudurru to keep a token for the account in a Secret in the operator credential namespace. |
spec.token.expiresAfter | string | |
spec.token.secretName | string | Length: at most 253 |
Status
ServiceAccountStatus records use.
| Field | Type | Description |
|---|---|---|
status.lastUsed | string | Format: date-time |
status.tokenID | string |
Example
deploy/kustomize/samples/kudurru.io_v1alpha1_serviceaccount.yaml:
apiVersion: kudurru.io/v1alpha1
kind: ServiceAccount
metadata:
name: automation
namespace: dns
spec:
description: DNS automation