Skip to content

ops: Add backoffice to api gateway #11

ops: Add backoffice to api gateway

ops: Add backoffice to api gateway #11

Workflow file for this run

name: Deploy Kong API Gateway
on:
push:
branches:
- main
jobs:
deploy-kong:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set Kubeconfig as Environment Variable
run: |
mkdir -p $HOME/.kube
printf "%s" "${{ secrets.KUBE_CONFIG }}" | base64 --decode > $HOME/.kube/config
export KUBECONFIG=$HOME/.kube/config
chmod 600 $HOME/.kube/config
echo "KUBECONFIG set."
- name: Add Kong Helm Repo
run: |
helm repo add kong https://charts.konghq.com
helm repo update
- name: Deploy Kong with Helm
run: |
helm upgrade --install kong kong/kong \
--namespace kong \
--create-namespace \
--values helm/values.yaml
- name: Apply Kong Plugin and Ingress Resources
run: |
kubectl apply -f k8s/