Skip to content

Commit

Permalink
reconfigure kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer committed Aug 13, 2023
1 parent 27b0a2d commit d470aa7
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 431 deletions.
144 changes: 0 additions & 144 deletions .github/workflows/deploy-to-cluster.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Josh Spicer
Copyright (c) 2023 Josh Spicer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
17 changes: 17 additions & 0 deletions configure/ssl-ingress/1_create_ingress_controller.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# https://learn.microsoft.com/en-us/azure/aks/ingress-basic?tabs=azure-cli

# Add the Jetstack Helm repository
helm repo add jetstack https://charts.jetstack.io

# Update your local Helm chart repository cache
helm repo update

# Add the ingress-nginx repository
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx

helm install ingress-nginx ingress-nginx/ingress-nginx \
--create-namespace \
--namespace ingress-basic \
--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz
12 changes: 0 additions & 12 deletions configure/ssl-ingress/1_import_image_to_acr.sh

This file was deleted.

14 changes: 14 additions & 0 deletions configure/ssl-ingress/2_cert_manager.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
# https://learn.microsoft.com/en-us/azure/aks/ingress-tls?tabs=azure-cli

# Add the Jetstack Helm repository
helm repo add jetstack https://charts.jetstack.io

# Update your local Helm chart repository cache
helm repo update

kubectl label namespace ingress-basic cert-manager.io/disable-validation=true
helm install cert-manager jetstack/cert-manager \
--namespace ingress-basic \
--set installCRDs=true \
--set nodeSelector."kubernetes\.io/os"=linux
35 changes: 0 additions & 35 deletions configure/ssl-ingress/2_create_ingress_controller.sh

This file was deleted.

28 changes: 0 additions & 28 deletions configure/ssl-ingress/3_cert_manager.sh

This file was deleted.

4 changes: 2 additions & 2 deletions configure/ssl-ingress/ssl-ingress.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ SOURCE_REGISTRY=k8s.gcr.io
CONTROLLER_IMAGE=ingress-nginx/controller
CONTROLLER_TAG=v1.0.4
PATCH_IMAGE=ingress-nginx/kube-webhook-certgen
PATCH_TAG=v1.1.1
PATCH_TAG=v1.3.0
DEFAULTBACKEND_IMAGE=defaultbackend-amd64
DEFAULTBACKEND_TAG=1.5
CERT_MANAGER_REGISTRY=quay.io
CERT_MANAGER_TAG=v1.5.4
CERT_MANAGER_TAG=v1.8.0
CERT_MANAGER_IMAGE_CONTROLLER=jetstack/cert-manager-controller
CERT_MANAGER_IMAGE_WEBHOOK=jetstack/cert-manager-webhook
CERT_MANAGER_IMAGE_CAINJECTOR=jetstack/cert-manager-cainjector
Expand Down
Loading

0 comments on commit d470aa7

Please sign in to comment.