last sync: 2024-Jun-13 18:14:14 UTC

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

Azure BuiltIn Policy definition

Source Azure Portal
Display name Configure Kubernetes clusters with Flux v2 configuration using Git repository and SSH secrets
Id 9e980dca-f3e1-8da3-6717-ad37b1ca6b27
Version 1.0.0
Details on versioning
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 a SSH private key secret stored in Key Vault. 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 DefaultPath Modifiable
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.repositoryRef.branch Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.repositoryRef.branch false
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.repositoryRef.commit Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.repositoryRef.commit false
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.repositoryRef.semver Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.repositoryRef.semver false
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.repositoryRef.tag Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.repositoryRef.tag false
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.sshKnownHosts Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.sshKnownHosts false
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.syncIntervalInSeconds Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.syncIntervalInSeconds false
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.timeoutInSeconds Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.timeoutInSeconds false
Microsoft.KubernetesConfiguration/fluxConfigurations/gitRepository.url Microsoft.KubernetesConfiguration fluxConfigurations properties.gitRepository.url false
Microsoft.KubernetesConfiguration/fluxConfigurations/namespace Microsoft.KubernetesConfiguration fluxConfigurations properties.namespace false
Microsoft.KubernetesConfiguration/fluxConfigurations/scope Microsoft.KubernetesConfiguration fluxConfigurations properties.scope 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 9e980dca-f3e1-8da3-6717-ad37b1ca6b27
JSON compare n/a
JSON
api-version=2021-06-01
EPAC