imfreedom/k8s-cluster

9be1330eec31
Remove the pidgin acme issuer as that namespace is gone
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
namespace: imfreedom
name: data
annotations:
cert-manager.io/issuer: letsencrypt
nginx.ingress.kubernetes.io/proxy-body-size: 200m
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Frame-Options: SAMEORIGIN";
labels:
app: data
spec:
rules:
- host: data.imfreedom.org
http:
paths:
- backend:
serviceName: data
servicePort: 9000
path: /
tls:
- hosts:
- data.imfreedom.org
secretName: data-tls
---
apiVersion: v1
kind: Service
metadata:
namespace: imfreedom
name: data
labels:
app: data
spec:
ports:
- port: 9000
protocol: TCP
selector:
app: data
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
namespace: imfreedom
name: data
labels:
app: data
spec:
podSelector:
matchLabels:
app: data
ingress:
- from:
- namespaceSelector:
matchLabels:
name: kube-public
podSelector:
matchLabels:
app: ingress
role: controller
ports:
- port: 9000
protocol: TCP
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: imfreedom
name: data
labels:
app: data
spec:
replicas: 1
selector:
matchLabels:
app: data
strategy:
type: Recreate
template:
metadata:
labels:
app: data
spec:
containers:
- name: minio
image: minio/minio:RELEASE.2019-06-04T01-15-58Z
imagePullPolicy: Always
livenessProbe:
exec:
command:
- /usr/bin/healthcheck
command:
- minio
- server
- /data
ports:
- containerPort: 9000
volumeMounts:
- mountPath: /data
name: data
readOnly: false
resources:
limits:
cpu: 200m
memory: 128Mi
requests:
cpu: 100m
memory: 96Mi
volumes:
- name: data
persistentVolumeClaim:
claimName: data
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
namespace: imfreedom
name: data
labels:
app: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---