Sermanes / bookstack-docker-k8s

Bookstack with minimal configuration for docker-compose and kubernetes.
7 stars 2 forks source link

image port has changed #1

Open alinarimani97 opened 2 years ago

alinarimani97 commented 2 years ago

Hello,

it seems that @solidnerd has changed the port used for bookstack's http connection from 80 to 8080 in the latest version as explained in the latest change log in their github .

this is causing the liveness and readiness probes to fail and fall into a crash loop .

also please switch to clusterIp and add an ingress to the deployment for easier usage ,i used the following ingress and it seems to be working to tweak needed :

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  annotations:
    nginx.ingress.kubernetes.io/backend-protocol: HTTP
  labels:
    name: bookstack-ingress
  name: bookstack-ingress
  namespace: bookstack
spec:
  rules:
    - host: stack.website.com
      http:
        paths:
          - backend:
              serviceName: bookstack-service
              servicePort: 80
            path: /
  tls:
    - hosts:
        - stack.website.com
      secretName: stack-tls
Sermanes commented 10 months ago

Ty for share I will try to update the repo :)!