Skip to content

Commit

Permalink
rule aks
Browse files Browse the repository at this point in the history
  • Loading branch information
anaiscalza committed Jan 20, 2024
1 parent 9f01d3b commit 890d81d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/aks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Update AKS infrastucture
on: [push]

on:
push:
branches:
- main
paths:
- 'deployement/aks-deployment/*'

env:
ARM_USE_MSI: true
Expand Down
Empty file.
7 changes: 4 additions & 3 deletions deployement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Already actions secret:
- echo '{"encrypted_value":"'$APP_IP'","key_id":"'$public_key_id'"}' > body.json
- curl -L -X PUT -H "Accept: application/vnd.github+json" -H "Authorization: Bearer $ACCESS_TOKEN" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/$ORG_NAME/$REPO_NAME/actions/secrets/APP_IP -d @body.json

# K8S fusionauth (deploy from scratch)
# K8S fusionauth
Already actions secret:
- FUSIONAUTH_DATABASE_USERNAME
- FUSIONAUTH_DATABASE_PASSWORD
Expand All @@ -141,9 +141,10 @@ Already actions secret:
- kubectl apply -f fusionauth.yaml
- FUSION_AUTH_PUBLIC_IP=$(kubectl get service fusionauth --output jsonpath='{.status.loadBalancer.ingress[0].ip}')
- create github actions secrets
- apply kicktstart

# K8S services (deploy from scratch)
- apply kicktstart if it

# K8S services
Already actions secret:
- clientSecret

Expand Down

0 comments on commit 890d81d

Please sign in to comment.