69d9e6db4c
Added Support for rbac Change-Id: I6644824776f7890c2475904ba3404e281e10e54e Co-authored-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
31 lines
1.2 KiB
YAML
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
|