From e17919640522945df32c4092c60a26f54b177f41 Mon Sep 17 00:00:00 2001 From: James Andariese Date: Sat, 22 Jul 2023 14:33:41 -0500 Subject: [PATCH] stampy-mctimestamp enable! --- stampy-mctimestamp/deploy.yaml | 72 ++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 stampy-mctimestamp/deploy.yaml diff --git a/stampy-mctimestamp/deploy.yaml b/stampy-mctimestamp/deploy.yaml new file mode 100644 index 0000000..b00a87c --- /dev/null +++ b/stampy-mctimestamp/deploy.yaml @@ -0,0 +1,72 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: stampy-mctimestamp +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: stampy-mctimestamp + name: stampy-mctimestamp +spec: + replicas: 1 + selector: + matchLabels: + app: stampy-mctimestamp + strategy: + type: Recreate + template: + metadata: + labels: + app: stampy-mctimestamp + spec: + containers: + - env: + - name: PORT + value: "5000" + image: ghcr.io/brechy/stampy-mctimestamp:sha-2cd3164 + name: stampy-mctimestamp + restartPolicy: Always +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: stampy-mctimestamp + namespace: stampy-mctimestamp +spec: + ingressClassName: istio + rules: + - host: stampy-mctimestamp.strudelline.net + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: stampy-mctimestamp + port: + number: 5000 + tls: + - hosts: + - stampy-mctimestamp.strudelline.net + secretName: wildcard-tls +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: stampy-mctimestamp + name: stampy-mctimestamp + namespace: stampy-mctimestamp +spec: + selector: + app: stampy-mctimestamp + ports: + - name: http + port: 5000 + protocol: TCP + targetPort: 5000 + clusterIP: None + type: ClusterIP +