Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Venkata Challa committed Jan 30, 2024
1 parent 0e5a7ef commit 70777cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ runs:
- name: K8 setup
shell: bash
run: |
make get-cluster-credentials cluster_rg=${{ env.cluster_rg }} cluster_name=${{ env.cluster_name }}
make ${{inputs.environment}} get-cluster-credentials
make install-konduit
- name: Generate example data
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ print-infra-secrets: read-tf-config install-fetch-config set-azure-account

get-cluster-credentials: read-cluster-config set-azure-account ## make <config> get-cluster-credentials [ENVIRONMENT=<clusterX>]
ifeq ($(GITHUB_ACTIONS),)
$(eval cluster_rg= ${AZURE_RESOURCE_PREFIX}-tsc-${CLUSTER_SHORT}-rg)
$(eval cluster_name= ${AZURE_RESOURCE_PREFIX}-tsc-${CLUSTER}-aks)
$(eval export cluster_rg= ${AZURE_RESOURCE_PREFIX}-tsc-${CLUSTER_SHORT}-rg)
$(eval export cluster_name= ${AZURE_RESOURCE_PREFIX}-tsc-${CLUSTER}-aks)
endif
az aks get-credentials --overwrite-existing -g ${cluster_rg} -n ${cluster_name}
kubelogin convert-kubeconfig -l $(if ${GITHUB_ACTIONS},spn,azurecli)
Expand Down

0 comments on commit 70777cc

Please sign in to comment.