This commit is contained in:
ari committed 2024-07-18 10:04:54 -04:00
1 parent 4bcbb03640
commit 4fc3387a2a
1 file changed
+5 -5
@@ -6,12 +6,12 @@ metadata:
name: "rp-metrics-{{.name}}"
labels:
app.kubernetes.io/name: rp-metrics
app.kubernetes.io/instance: "{{ .name }}"
app.kubernetes.io/instance: {{ .name }}
subsets:
- addresses:
- ip: "{{ .ip }}"
ports:
- port: "{{ .port | default 80 }}"
- port: {{ .port | default 80 }}
protocol: TCP
---
apiVersion: v1
@@ -20,11 +20,11 @@ metadata:
name: "rp-metrics-{{.name}}"
labels:
app.kubernetes.io/name: rp-metrics
app.kubernetes.io/instance: "{{ .name }}"
app.kubernetes.io/instance: {{ .name }}
spec:
type: ClusterIP
ports:
- port: "80"
- port: 80
protocol: TCP
targetPort: "{{ .port | default 9100 }}"
targetPort: {{ .port | default 9100 }}
{{ end }}