diff --git a/brechy/stampy-mctimestamp.yaml b/brechy/stampy-mctimestamp.yaml new file mode 100644 index 0000000..10925fb --- /dev/null +++ b/brechy/stampy-mctimestamp.yaml @@ -0,0 +1,67 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: brechy-playground + 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-96e5bb1 + name: stampy-mctimestamp + restartPolicy: Always +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: stampy-mctimestamp + namespace: brechy-playground + annotations: + haproxy-ingress.github.io/ssl-redirect: "true" +spec: + ingressClassName: haproxy + 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: brechy-playground +spec: + selector: + app: stampy-mctimestamp + ports: + - name: http + port: 5000 + protocol: TCP + targetPort: 5000 + clusterIP: None + type: ClusterIP