Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
1.9 kB
3
Indexable
Never
└──╼ $tail -n +1 my-jitsi/*
==> my-jitsi/010-deployment.yml <==
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    k8s-app: jitsi
  name: jitsi
  namespace: jitsi	   
spec:
  template:
    metadata:
      labels:
        k8s-app: jitsi
    spec:
      containers:
        - name: web
          env:
            - name: PUBLIC_URL
              value: "https://jitsi.redacted.sh"
        - name: prosody
          env:
            - name: PUBLIC_URL
              value: "https://jitsi.redacted.sh"


==> my-jitsi/041-ingress.yml <==
kind: Ingress
apiVersion: networking.k8s.io/v1beta1
metadata:
  name: jitsi
  namespace: jitsi
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
  tls:
  - hosts:
    - jitsi.redacted.sh
    secretName: tls-jitsi
  rules:
  - host: jitsi.redacted.sh
    http:
      paths:
      - path: /
        backend:
          serviceName: web
          servicePort: 80

==> my-jitsi/kustomization.yml <==
namespace: jitsi
bases:
- https://github.com/jitsi-contrib/kubernetes/doc/kustomize

resources:
- 041-ingress.yml

patchesStrategicMerge:
- 010-deployment.yml


# Logs Cert-Manager:

 1 controller.go:162] cert-manager/controller/ingress-shim "msg"="finished processing work item" "key"="jitsi/jitsi"                                                                   │
│ I0607 09:48:31.879908       1 logs.go:179] cert-manager/controller/build-context "msg"="Event(v1.ObjectReference{Kind:\"Ingress\", Namespace:\"jitsi\", Name:\"jitsi\", UID:\"e8d130c7-41fe-4bc9-8e33-aab23e86c85 │
│ I0607 09:48:33.947221       1 reflector.go:369] external/io_k8s_client_go/tools/cache/reflector.go:156: forcing resync                     

E0607 09:54:05.414679       1 controller.go:158] cert-manager/controller/ingress-shim "msg"="re-queuing item  due to error processing" "error"="certificates.cert-manager.io \"tls-jitsi\" already exists" "key"="jitsi/jitsi" │
│