2022-01-19 19:44:47 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: urls-map
|
|
|
|
namespace: link
|
|
|
|
labels:
|
|
|
|
app: link
|
|
|
|
data:
|
|
|
|
urls.yaml: |
|
2022-01-19 20:49:24 +00:00
|
|
|
mn: https://marcusnoble.co.uk
|
2022-01-20 06:42:59 +00:00
|
|
|
whites: https://twitter.com/whites11/status/1484053621448785920
|
2022-02-07 09:48:49 +00:00
|
|
|
devopsnotts22: https://noti.st/averagemarcus/E8Ldoh/managing-kubernetes-without-losing-your-cool
|
2022-09-19 17:11:45 +00:00
|
|
|
kubernetes-cool: https://noti.st/averagemarcus/E8Ldoh/managing-kubernetes-without-losing-your-cool
|
2022-02-12 08:04:26 +00:00
|
|
|
klustered: https://gist.githubusercontent.com/AverageMarcus/e58301ecf3455caa1638c3ffe70ed138/raw/klustered.sh
|
2022-09-19 17:11:45 +00:00
|
|
|
wonders-and-woes: https://noti.st/averagemarcus/sWywEJ/the-wonders-and-woes-of-webhooks
|
2022-10-03 13:55:08 +00:00
|
|
|
kubehuddle: https://noti.st/averagemarcus/TqCEd4/the-wonders-and-woes-of-webhooks
|
2022-11-06 09:38:56 +00:00
|
|
|
kcduk: https://noti.st/averagemarcus/fxN4gl/managing-kubernetes-without-losing-your-cool
|
2023-02-09 09:24:53 +00:00
|
|
|
wonders-and-woes-webinar: https://noti.st/averagemarcus/Hw2IXG/the-wonders-and-woes-of-webhooks
|
2023-03-03 08:48:32 +00:00
|
|
|
kcdukraine: https://noti.st/averagemarcus/quuysq/managing-kubernetes-without-losing-your-cool
|
2023-03-16 12:50:56 +00:00
|
|
|
devopsox23: https://noti.st/averagemarcus/quuysq/managing-kubernetes-without-losing-your-cool
|
2023-06-18 10:48:27 +00:00
|
|
|
dddem23: https://noti.st/averagemarcus/Rt4hFh/managing-kubernetes-without-losing-your-cool
|
2023-08-17 17:55:15 +00:00
|
|
|
kube-london: https://noti.st/averagemarcus/SFD1bY/the-wonders-and-woes-of-webhooks
|
|
|
|
kcduk23: https://noti.st/averagemarcus/4YvpTx/webhooks-whats-the-worst-that-could-happen
|
2023-10-30 07:29:57 +00:00
|
|
|
rejekts23: https://noti.st/averagemarcus/Bi7qLP/webhooks-whats-the-worst-that-could-happen
|
2024-02-16 09:27:48 +00:00
|
|
|
rejekts24: https://speaking.marcusnoble.co.uk/pg46DB/from-fragile-to-resilient-validatingadmissionpolicies-strengthen-kubernetes
|
2024-05-10 08:39:30 +00:00
|
|
|
lopug24: https://speaking.marcusnoble.co.uk/I6dyx4/webhooks-whats-the-worst-that-could-happen
|
2022-01-19 19:44:47 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: link
|
|
|
|
namespace: link
|
|
|
|
labels:
|
|
|
|
app: link
|
|
|
|
spec:
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
targetPort: web
|
|
|
|
name: web
|
|
|
|
selector:
|
|
|
|
app: link
|
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: link
|
|
|
|
namespace: link
|
|
|
|
labels:
|
|
|
|
app: link
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: link
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: link
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: web
|
2022-05-15 12:18:31 +00:00
|
|
|
image: rg.fr-par.scw.cloud/averagemarcus/link:latest
|
2022-01-19 19:44:47 +00:00
|
|
|
imagePullPolicy: Always
|
|
|
|
ports:
|
|
|
|
- containerPort: 5050
|
|
|
|
name: web
|
|
|
|
volumeMounts:
|
|
|
|
- name: config
|
2022-01-19 20:45:08 +00:00
|
|
|
mountPath: /config
|
2022-01-19 19:44:47 +00:00
|
|
|
volumes:
|
|
|
|
- name: config
|
2022-01-19 19:53:35 +00:00
|
|
|
configMap:
|
2022-01-19 19:44:47 +00:00
|
|
|
name: urls-map
|
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: link
|
|
|
|
namespace: link
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
2022-05-31 12:55:15 +00:00
|
|
|
kubernetes.io/ingress.class: traefik
|
|
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
2022-10-04 13:53:32 +00:00
|
|
|
ingress.kubernetes.io/ssl-redirect: "true"
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
2022-01-19 19:44:47 +00:00
|
|
|
spec:
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- go-get.link
|
|
|
|
secretName: link-ingress
|
|
|
|
rules:
|
|
|
|
- host: go-get.link
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: ImplementationSpecific
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: link
|
|
|
|
port:
|
|
|
|
number: 80
|