Skip to content

Commit

Permalink
fix: add container port for 8080 for metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
josmo committed Apr 9, 2024
1 parent 64ae78f commit 0ebc82b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/nidhogg/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ spec:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
- name: metrics
containerPort: 8080
protocol: TCP
- containerPort: 9876
name: webhook-server
protocol: TCP
Expand Down
3 changes: 3 additions & 0 deletions kustomize/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ spec:
- containerPort: 9876
name: webhook-server
protocol: TCP
- containerPort: 8080
name: metrics
protocol: TCP
volumeMounts:
- mountPath: /tmp/cert
name: cert
Expand Down

0 comments on commit 0ebc82b

Please sign in to comment.