Deploy a 'sourceControlConfiguration' to Kubernetes clusters to assure that the clusters get their source of truth for workloads and configurations from the defined git repo. This definition requires HTTPS user and key secrets stored in Key Vault. For instructions, visit https://aka.ms/K8sGitOpsPolicy.
"description": "Deploy a 'sourceControlConfiguration' to Kubernetes clusters to assure that the clusters get their source of truth for workloads and configurations from the defined git repo. This definition requires HTTPS user and key secrets stored in Key Vault. For instructions, visit https://aka.ms/K8sGitOpsPolicy.",
6
"metadata": {
7
- "version": "1.0.1",
8
"category": "Kubernetes"
9
},
10
"parameters": {
11
"configurationResourceName": {
@@ -127,13 +127,16 @@
127
"displayName": "Effect",
128
"description": "Enable or disable the execution of the policy"
129
},
130
"allowedValues": [
131
"deployIfNotExists",
132
- "auditIfNotExists",
133
- "disabled"
134
],
135
- "defaultValue": "deployIfNotExists"
136
}
137
},
138
"policyRule": {
139
"if": {
3
"policyType": "BuiltIn",
4
"mode": "Indexed",
5
"description": "Deploy a 'sourceControlConfiguration' to Kubernetes clusters to assure that the clusters get their source of truth for workloads and configurations from the defined git repo. This definition requires HTTPS user and key secrets stored in Key Vault. For instructions, visit https://aka.ms/K8sGitOpsPolicy.",
6
"metadata": {
7
+ "version": "1.1.0",
8
"category": "Kubernetes"
9
},
10
"parameters": {
11
"configurationResourceName": {
127
"displayName": "Effect",
128
"description": "Enable or disable the execution of the policy"
displayName: "Configure Kubernetes clusters with specified GitOps configuration using HTTPS secrets",
policyType: "BuiltIn",
mode: "Indexed",
description: "Deploy a 'sourceControlConfiguration' to Kubernetes clusters to assure that the clusters get their source of truth for workloads and configurations from the defined git repo. This definition requires HTTPS user and key secrets stored in Key Vault. For instructions, visit https://aka.ms/K8sGitOpsPolicy.",
description: "Name used in the operator instances. Maximum of 23 lowercase alphanumeric characters or hyphen. Must start and end with an alphanumeric character."
description: "Namespace within which the operators will be installed. Maximum of 23 lowercase alphanumeric characters or hyphen. Must start and end with an alphanumeric character."
description: "Parameters to set on the Flux operator, separated by spaces. For example, --git-readonly --sync-garbage-collection. Learn more: http://aka.ms/AzureArcK8sFluxOperatorParams."
description: "The resource id for the Key Vault that holds the SSH or HTTPS secrets. For example: '/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.KeyVault/vaults/<key-vault-name>'",