Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controlplane Service doesn't expose the catalog endpoint (/catalog, Port 8085) #1712

Open
marctuerke opened this issue Dec 13, 2024 Discussed in #1711 · 1 comment
Open
Labels
good first issue Good for newcomers

Comments

@marctuerke
Copy link

Discussed in #1711

Originally posted by marctuerke December 12, 2024
The control plane service does not expose the catalog endpoint. In order to expose the catalog endpoint (/catalog, Port 8085) via an Ingress, it was necessary to add the catalog endpoint to the service manually.

My controlplane service now looks like this:

---
apiVersion: v1
kind: Service
metadata:
  name: {{ include "txdc.fullname" . }}-controlplane
  namespace: {{ .Release.Namespace }}
  {{- with .Values.controlplane.service.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
  labels:
    {{- include "txdc.controlplane.labels" . | nindent 4 }}
    {{- with .Values.controlplane.service.labels }}
    {{- toYaml . | nindent 4 }}
    {{- end }}
spec:
  type: {{ .Values.controlplane.service.type }}
  ports:
    - port: {{ .Values.controlplane.endpoints.default.port }}
      targetPort: default
      protocol: TCP
      name: default
    - port: {{ .Values.controlplane.endpoints.control.port }}
      targetPort: control
      protocol: TCP
      name: control
    - port: {{ .Values.controlplane.endpoints.management.port }}
      targetPort: management
      protocol: TCP
      name: management
    - port: {{ .Values.controlplane.endpoints.protocol.port }}
      targetPort: protocol
      protocol: TCP
      name: protocol
    - port: {{ .Values.controlplane.endpoints.catalog.port }}
      targetPort: catalog
      protocol: TCP
      name: catalog
    - port: {{ .Values.controlplane.endpoints.metrics.port }}
      targetPort: metrics
      protocol: TCP
      name: metrics
  selector:
    {{- include "txdc.controlplane.selectorLabels" . | nindent 4 }}
```</div>
Copy link
Contributor

github-actions bot commented Jan 1, 2025

This issue is stale because it has been open for 2 weeks with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Open
Development

No branches or pull requests

2 participants