Leverage new variables during testing

Extract the HTTP port (int) from the container section end
use it in the service definition.

Also enable variable replacement for Service object.
This commit is contained in:
Jerome Brette
2019-06-18 18:04:21 -05:00
parent 9edecffcc8
commit e3a46cb6ce
2 changed files with 17 additions and 4 deletions

View File

@@ -172,6 +172,12 @@ varReference:
- path: spec/template/spec/initContainers/volumeMounts/mountPath
kind: ReplicaSet
- path: spec/ports/port
kind: Service
- path: spec/ports/targetPort
kind: Service
- path: spec/template/spec/containers/args
kind: StatefulSet