Adds port name to prometheus-adapter jsonnet

This commit is contained in:
Joao Marcal
2022-03-30 14:01:48 +01:00
parent 26c8329481
commit a38f7012a9

View File

@@ -240,7 +240,7 @@ function(params) {
periodSeconds: 5,
failureThreshold: 5,
},
ports: [{ containerPort: 6443 }],
ports: [{ containerPort: 6443, name: 'https' }],
volumeMounts: [
{ name: 'tmpfs', mountPath: '/tmp', readOnly: false },
{ name: 'volume-serving-cert', mountPath: '/var/run/serving-cert', readOnly: false },