~xdavidwu/flux

1cbbb0ec0ba1839a3b904ecebb8ecde3be9d613f — Pinghao Wu a month ago c2b3a58
sourcehut: migrate paste to flux
A applications/sourcehut/deployment-paste.yaml => applications/sourcehut/deployment-paste.yaml +24 -0
@@ 0,0 1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
  name: paste
spec:
  replicas: 1
  selector:
    matchLabels:
      component: paste
  template:
    metadata:
      labels:
        component: paste
    spec:
      containers:
        - name: main
          image: ghcr.io/xdavidwu/c/pastesrht:3534
          volumeMounts:
            - name: secrets
              mountPath: /etc/sr.ht
      volumes:
        - name: secrets
          secret:
            secretName: secrets

M applications/sourcehut/kustomization.yaml => applications/sourcehut/kustomization.yaml +2 -0
@@ 10,3 10,5 @@ resources:
  - namespace.yaml
  - deployment-pages.yaml
  - service-pages.yaml
  - deployment-paste.yaml
  - service-paste.yaml

A applications/sourcehut/service-paste.yaml => applications/sourcehut/service-paste.yaml +14 -0
@@ 0,0 1,14 @@
apiVersion: v1
kind: Service
metadata:
  name: paste
spec:
  selector:
    component: paste
  ports:
    - name: http
      protocol: TCP
      port: 5011
    - name: api
      protocol: TCP
      port: 5111