porthole/openstack-utility/templates/test-openstackutility-running.yaml
Dodda Prateek (pd2839) 69d9e6db4c Chart/Dockerfile for Openstack Utility Container
Added Support for rbac

Change-Id: I6644824776f7890c2475904ba3404e281e10e54e
Co-authored-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-08-20 14:56:51 +00:00

31 lines
1.2 KiB
YAML

{{/*
Copyright 2019 The Openstack-Helm Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
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.
*/}}
apiVersion: v1
kind: Pod
metadata:
name: "{{ .Release.Name }}-exists-test"
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: {{ .Release.Name }}-exists-test
image: {{ .Values.images.tags.openstack_utility}}
env:
- name: OS_AUTH_URL
value: {{ .Values.conf.keystone_auth.auth_url }}
- name: OS_IDENTITY_API_VERSION
value: "{{ .Values.conf.keystone_auth.auth_version }}"
command: ["/bin/bash", "-c", "openstack user list --os-username admin --os-domain-name default --os-project-name admin --os-password password"]
restartPolicy: Never