Javatar81 / devjoy

2 stars 0 forks source link

Readiness probe fails for deployed application because Quarkus returns 403 for path / #79

Open Javatar81 opened 1 month ago

Javatar81 commented 1 month ago

The default starter for Helm does not allow to customize liveness and readiness probe and Quarkus expects another path, e.g. /q/health/ready and /q/health/live

containers:
        - name: {{ .Chart.Name }}
          securityContext:
            {{- toYaml .Values.securityContext | nindent 12 }}
          image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
          imagePullPolicy: {{ .Values.image.pullPolicy }}
          ports:
            - name: http
              containerPort: {{ .Values.service.port }}
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /
              port: http
          readinessProbe:
            httpGet:
              path: /
              port: http
          resources:
            {{- toYaml .Values.resources | nindent 12 }}