Skip to content

Commit ed8cdff

Browse files
committed
Updated workflow
1 parent fef9562 commit ed8cdff

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ jobs:
9595
run: |
9696
helm repo add traefik https://traefik.github.io/charts
9797
helm repo update
98-
helm upgrade --install traefik traefik/traefik -n $CLUSTER_NAME -f traefik/values.yaml
99-
100-
kubectl apply -n $CLUSTER_NAME -f traefik/cors.yaml
101-
kubectl apply -n $CLUSTER_NAME -f traefik/strip-prefix.yaml
98+
99+
helm upgrade --install traefik traefik/traefik -n $CLUSTER_NAME -f traefik/resources.yaml
100+
kubectl apply -n $CLUSTER_NAME -f traefik/ingress.yaml
101+
kubectl apply -n $CLUSTER_NAME -f traefik/hpa-config.yaml
102102
103103
- name: Create Kubernetes secrets
104104
run: |

code/kubernetes/scripts/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ cd "$SCRIPT_DIR/.." || exit 1
5050
# Deploy traefik
5151
helm repo add traefik https://traefik.github.io/charts
5252
helm repo update
53-
helm upgrade --install traefik traefik/traefik -n $CLUSTER_NAME -f traefik/values.yaml
5453

55-
kubectl apply -n $CLUSTER_NAME -f traefik/cors.yaml
56-
kubectl apply -n $CLUSTER_NAME -f traefik/strip-prefix.yaml
54+
helm upgrade --install traefik traefik/traefik -n $CLUSTER_NAME -f traefik/resources.yaml
55+
kubectl apply -n $CLUSTER_NAME -f traefik/ingress.yaml
56+
kubectl apply -n $CLUSTER_NAME -f traefik/hpa-config.yaml
5757

5858
# Deploy threadit application
5959
kubectl create secret generic "bucket-secret" \

0 commit comments

Comments
 (0)