AllowlistSynchronizer
is a custom resource definition (CRD) that lets you
install and synchronize allowlists for Google Kubernetes Engine (GKE)
Autopilot partner workloads. To learn how to use this custom resource,
see
Run privileged workloads from GKE Autopilot partners.
apiVersion: cloud.google.com/v1
kind: AllowlistSynchronizer
metadata:
name: example-allowlist-synchronizer
spec:
allowlistPaths:
- "example-partner/example-scanner/*"
- "example-partner/example-logger/example-log-allowlist-1.1.7.yaml"
status:
conditions:
- type: Ready
status: "False"
reason: "SyncError"
message: "some allowlists failed to sync: example-log-allowlist-1.1.7.yaml"
lastTransitionTime: "2024-10-12T10:00:00Z"
observedGeneration: 2
managedAllowlistStatus:
- filePath: "example-partner/example-scanner/example-scan-allowlist-1.0.0.yaml"
generation: 1
phase: Installed
lastSuccessfulSync: "2024-10-10T10:00:00Z"
- filePath: "example-partner/example-logger/example-log-allowlist-1.1.7.yaml"
phase: Failed
lastError: "Initial install failed: the contents of the allowlist are invalid"
lastSuccessfulSync: "2024-10-08T10:00:00Z"
- filePath: "example-partner/example-scanner/example-scan-allowlist-1.0.0.yaml"
phase: Stale
lastError: "Sync failed: the contents of the allowlist has been updated and is no longer valid."
lastSuccessfulSync: "2024-10-08T10:00:00Z"
lastSyncAttempt: "2024-10-12T10:00:00Z"
AllowlistSynchronizer specification
allowlistPaths: []string
Fields | |
---|---|
required |
A list of paths to specific files or to directories that contain allowlist files.
|
AllowlistSynchronizer status
conditions:
- type: string
status: boolean
reason: string
message: string
lastTransitionTime: string
observedGeneration: int
managedAllowlistStatus:
- filePath: string
generation: int
phase: string
lastSuccessfulSync: string
lastError: string
lastSyncAttempt: string
Fields | |
---|---|
|
List of status conditions for the |
|
Condition type. The value is always |
|
Condition status:
|
|
Short description of the condition's status. |
|
Detailed description of the condition's status. |
|
Timestamp of the most recent status change. |
|
The current version of the |
|
Array that tracks the status of each allowlist file that the
|
|
The fully-qualified resource name of the allowlist file. |
|
The current version of the allowlist file in the cluster. |
|
The current state of the allowlist file.
|
|
Timestamp of the most recent successful synchronization of the allowlist file. |
|
The most recent error message. This field isn't displayed if no errors occurred. |
|
The timestamp of the last change to the |