Skip to content
Snippets Groups Projects
Verified Commit 51e3a2d1 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Kustomizierung

parent 2ee1ce03
No related branches found
No related tags found
1 merge request!50Add k8s deployment
Pipeline #179547 canceled
......@@ -20,3 +20,21 @@ spec:
image: registry.edugit.org/teckids/team-pr/teckids.org:IMAGE_TAG
ports:
- containerPort: 80
livenessProbe:
httpGet:
scheme: HTTP
port: http
path: /
timeoutSeconds: 10
initialDelaySeconds: 60
name: adressbuch
ports:
- containerPort: 80
name: http
readinessProbe:
httpGet:
scheme: HTTP
port: http
path: /
timeoutSeconds: 10
initialDelaySeconds: 120
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/tls-acme: "true"
name: teckids-website-caddy
namespace: teckids-website
spec:
ingressClassName: nginx
rules: []
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonAnnotations:
source-repository: https://edugit.org/Teckids/team-pr/teckids.org
commonLabels:
app: teckids-website
resources:
- deployment.yaml
- service.yaml
- ingress.yaml
File moved
File moved
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../base
commonAnnotations:
source-repository: https://edugit.org/Teckids/team-pr/teckids.org
commonLabels:
app: teckids-website
environment: production
namespace: teckids-website
patchesStrategicMerge:
- ingress_patch.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/tls-acme: "true"
name: teckids-website-caddy
namespace: teckids-website
spec:
ingressClassName: nginx
rules:
- host: __REVIEW_ENVIRONMENT__.staging.teckids.org
http:
paths:
- backend:
service:
name: teckids-website
port:
number: 80
path: /
pathType: Prefix
tls:
- hosts:
- __REVIEW_ENVIRONMENT__.staging.teckids.org
secretName: __REVIEW_ENVIRONMENT__-teckids-website-tls
bases:
- ../../base
commonAnnotations:
source-repository: https://edugit.org/Teckids/team-pr/teckids.org
commonLabels:
app: teckids-website
environment: __REVIEW_ENVIRONMENT__
namePrefix: __REVIEW_ENVIRONMENT__-
namespace: teckids-website
patchesStrategicMerge:
- ingress_patch.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment