Skip to content

Commit

Permalink
Remove unused multi-tenancy creds
Browse files Browse the repository at this point in the history
  • Loading branch information
CecileRobertMichon authored and k8s-infra-cherrypick-robot committed Aug 4, 2023
1 parent 1703661 commit e7c23d2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions hack/parse-prow-creds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ if [[ -n "${AZURE_CREDENTIALS:-}" ]]; then
AZURE_TENANT_ID="$(parse_cred TenantID < "${AZURE_CREDENTIALS}")"
AZURE_CLIENT_ID="$(parse_cred ClientID < "${AZURE_CREDENTIALS}")"
AZURE_CLIENT_SECRET="$(parse_cred ClientSecret < "${AZURE_CREDENTIALS}")"
AZURE_MULTI_TENANCY_ID="$(parse_cred MultiTenancyClientID < "${AZURE_CREDENTIALS}")"
AZURE_MULTI_TENANCY_SECRET="$(parse_cred MultiTenancyClientSecret < "${AZURE_CREDENTIALS}")"
AZURE_STORAGE_ACCOUNT="$(parse_cred StorageAccountName < "${AZURE_CREDENTIALS}")"
AZURE_STORAGE_KEY="$(parse_cred StorageAccountKey < "${AZURE_CREDENTIALS}")"

export AZURE_SUBSCRIPTION_ID AZURE_TENANT_ID AZURE_CLIENT_ID AZURE_CLIENT_SECRET AZURE_MULTI_TENANCY_ID AZURE_MULTI_TENANCY_SECRET AZURE_STORAGE_ACCOUNT AZURE_STORAGE_KEY
export AZURE_SUBSCRIPTION_ID AZURE_TENANT_ID AZURE_CLIENT_ID AZURE_CLIENT_SECRET AZURE_STORAGE_ACCOUNT AZURE_STORAGE_KEY
fi
1 change: 0 additions & 1 deletion test/e2e/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ const (
AzureVNetCidr = "AZURE_PRIVATE_VNET_CIDR"
AzureNodeSubnetCidr = "AZURE_NODE_SUBNET_CIDR"
AzureBastionSubnetCidr = "AZURE_BASTION_SUBNET_CIDR"
MultiTenancyIdentityName = "MULTI_TENANCY_IDENTITY_NAME"
ClusterIdentityName = "CLUSTER_IDENTITY_NAME"
ClusterIdentityNamespace = "CLUSTER_IDENTITY_NAMESPACE"
ClusterIdentitySecretName = "AZURE_CLUSTER_IDENTITY_SECRET_NAME" //nolint:gosec // Not a secret itself, just its name
Expand Down
1 change: 0 additions & 1 deletion test/e2e/config/azure-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ variables:
CONFORMANCE_IMAGE: "${CONFORMANCE_IMAGE:-}"
CONFORMANCE_NODES: "${CONFORMANCE_NODES:-1}"
IP_FAMILY: "IPv4" # this is used by the CAPI quickstart spec
MULTI_TENANCY_IDENTITY_NAME: "multi-tenancy-identity"
CLUSTER_IDENTITY_NAME: "cluster-identity-sp"
NODE_DRAIN_TIMEOUT: "60s"
CI_VERSION: ""
Expand Down

0 comments on commit e7c23d2

Please sign in to comment.