Skip to content

Commit

Permalink
remove fields
Browse files Browse the repository at this point in the history
  • Loading branch information
britaniar committed Nov 7, 2024
1 parent 956739b commit 37fbf1a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
4 changes: 0 additions & 4 deletions charts/member-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ The values can be modified under `config.cloudConfig` section in values.yaml or
| `resourceGroup` | The name of the resource group where cluster resources are deployed. | |
| `userAgent` | The userAgent provided when accessing resources. | |
| `location` | The region where resource group and its resources is deployed. | |
| `clusterName` | The name of the cluster where the agent is running. | |
| `clusterResourceGroup` | The resource group where the cluster is deployed. | |
| `vnetName` | The name of the virtual network where the cluster is deployed. | |
| `vnetResourceGroup` | The resource group where the virtual network is deployed. | |

Expand All @@ -84,8 +82,6 @@ config:
userAgent: "fleet-member-agent"
resourceGroup: "<resource group name>"
location: "<resource group location>"
clusterName: "<cluster name>"
clusterResourceGroup: "<cluster resource group>"
vnetName: "<vnet name>"
vnetResourceGroup: "<vnet resource group>"
```
Expand Down
2 changes: 1 addition & 1 deletion charts/member-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- --property-provider={{ .Values.propertyProvider }}
{{- end }}
{{- if eq .Values.propertyProvider "azure" }}
- --cloud-config={{ .Values.cloudConfig }}
- --cloud-config=/etc/kubernetes/provider/azure.json
{{- end }}
{{- if .Values.region }}
- --region={{ .Values.region }}
Expand Down
2 changes: 0 additions & 2 deletions charts/member-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ config:
location: ""
vnetName: ""
vnetResourceGroup: ""
clusterName: ""
clusterResourceGroup: ""

secret:
name: "hub-kubeconfig-secret"
Expand Down
4 changes: 1 addition & 3 deletions test/e2e/azure_valid_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ config:
tenantId: "00000000-0000-0000-0000-000000000000"
subscriptionId: "00000000-0000-0000-0000-000000000000"
useManagedIdentityExtension: true
clusterResourceGroup: "test-rg"
location: "westus"
clusterName: "test-cluster"
vnetName: "test-vnet"
vnetResourceGroup: "test-rg"
vnetResourceGroup: "test-rg"

0 comments on commit 37fbf1a

Please sign in to comment.