Set OS_ENDPOINT_TYPE in keystone openrc vars
sometimes it is needed to use other than `openstack` CLI clients or older versions of those in bootstrap/other scripts that do not understand the OS_INTERFACE env var, and instead use the OS_ENDPOINT_TYPE var (and --os-endpoint-type CLI arg) for the same purpose. Example is `neutron` command from python-neutronclient package. Change-Id: I0fb7d1e9612391e8632d775b91848d3c834b9bd2
This commit is contained in:
parent
0c5b037c00
commit
5dc986aa5f
@ -40,6 +40,11 @@ return: |
|
||||
secretKeyRef:
|
||||
name: example-keystone-admin
|
||||
key: OS_INTERFACE
|
||||
- name: OS_ENDPOINT_TYPE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: example-keystone-admin
|
||||
key: OS_INTERFACE
|
||||
- name: OS_PROJECT_DOMAIN_NAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
@ -86,6 +91,11 @@ return: |
|
||||
secretKeyRef:
|
||||
name: {{ $ksUserSecret }}
|
||||
key: OS_INTERFACE
|
||||
- name: OS_ENDPOINT_TYPE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ $ksUserSecret }}
|
||||
key: OS_INTERFACE
|
||||
- name: OS_PROJECT_DOMAIN_NAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
Loading…
x
Reference in New Issue
Block a user