Merge "Add test pods labels."

This commit is contained in:
Zuul 2018-07-11 15:20:52 +00:00 committed by Gerrit Code Review
commit 0b0d097495
1 changed files with 5 additions and 1 deletions

View File

@ -11,11 +11,13 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License. */}}
# limitations under the License.
*/}}
{{/*
Test the Deckhand API, to ensure that the health endpoint is active and able to respond.
*/}}
{{- if .Values.manifests.test_deckhand_api }}
{{- $envAll := . }}
---
apiVersion: v1
kind: Pod
@ -23,6 +25,8 @@ metadata:
name: "{{ .Release.Name }}-deckhand-api-test"
annotations:
"helm.sh/hook": "test-success"
labels:
{{ tuple $envAll "deckhand" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
spec:
restartPolicy: Never
containers: