Skip to content

Commit a38f701

Browse files
Adds port name to prometheus-adapter jsonnet
1 parent 26c8329 commit a38f701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonnet/kube-prometheus/components/prometheus-adapter.libsonnet

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function(params) {
240240
periodSeconds: 5,
241241
failureThreshold: 5,
242242
},
243-
ports: [{ containerPort: 6443 }],
243+
ports: [{ containerPort: 6443, name: 'https' }],
244244
volumeMounts: [
245245
{ name: 'tmpfs', mountPath: '/tmp', readOnly: false },
246246
{ name: 'volume-serving-cert', mountPath: '/var/run/serving-cert', readOnly: false },

0 commit comments

Comments
 (0)