forked from CapgeminiCIS/hackerkiste-hackathon-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 986 Bytes
/
Copy pathingress.yml
File metadata and controls
39 lines (30 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: 'Stage 2 Ingress'
on: [workflow_dispatch]
jobs:
kubernetes:
name: 'Kubernetes'
runs-on: ubuntu-latest
environment: production
defaults:
run:
shell: bash
working-directory: ./stage_2_Ingress
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Set Environment
run: |
az aks get-credentials --resource-group ${{ secrets.UNIQUE_NAME }} --name ${{ secrets.UNIQUE_NAME }}
- name: "Add Helm Repo"
run: |
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
- name: "Update Helm Repo"
run: |
helm repo update
- name: "Install Ingress Controller"
run: |
helm upgrade ingress-nginx ingress-nginx/ingress-nginx --install --create-namespace --namespace ingress-controller