last sync: 2024-Oct-10 19:12:06 UTC

Configure Kubernetes clusters with Flux v2 configuration using Git repository and local secrets

Azure BuiltIn Policy definition

Source Azure Portal
Display name Configure Kubernetes clusters with Flux v2 configuration using Git repository and local secrets
Id b6c7fd52-4723-5f4d-a157-3d39bd16a1d7
Version 1.0.0
Details on versioning
Versioning Versions supported for Versioning: 1
1.0.0
Built-in Versioning [Preview]
Category Kubernetes
Microsoft Learn
Description Deploy a 'fluxConfiguration' to Kubernetes clusters to assure that the clusters get their source of truth for workloads and configurations from the defined Git repository. This definition requires local authentication secrets stored in the Kubernetes cluster. For instructions, visit https://aka.ms/GitOpsFlux2Policy.
Mode Indexed
Type BuiltIn
Preview False
Deprecated False
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Contributor b24988ac-6180-42a0-ab88-20f7382dd24c
Rule aliases THEN-ExistenceCondition (10)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.localAuthRef Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.localAuthRef True False
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.repositoryRef.branch Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.repositoryRef.branch True False
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.repositoryRef.commit Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.repositoryRef.commit True False
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.repositoryRef.semver Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.repositoryRef.semver True False
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.repositoryRef.tag Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.repositoryRef.tag True False
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.syncIntervalInSeconds Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.syncIntervalInSeconds True False
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.timeoutInSeconds Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.timeoutInSeconds True False
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.url Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.url True False
Microsoft.KubernetesConfiguration/fluxConfigurations/namespace Microsoft.KubernetesConfiguration fluxConfigurations properties.namespace True False
Microsoft.KubernetesConfiguration/fluxConfigurations/scope Microsoft.KubernetesConfiguration fluxConfigurations properties.scope True False
Rule resource types IF (2)
Microsoft.ContainerService/managedClusters
Microsoft.Kubernetes/connectedClusters
THEN-Deployment (1)
Microsoft.KubernetesConfiguration/fluxConfigurations
Compliance Not a Compliance control
Initiatives usage none
History
Date/Time (UTC ymd) (i) Change type Change detail
2022-08-19 16:33:23 add b6c7fd52-4723-5f4d-a157-3d39bd16a1d7
JSON compare n/a
JSON
api-version=2021-06-01
EPAC