change admin url in keystone

Change-Id: If7dddf87d4089c0d0d0f3d515f85465a1ac376e2
This commit is contained in:
okozachenko 2020-07-13 20:05:10 +03:00
parent 02b122acf8
commit 84fe30c224
2 changed files with 10 additions and 5 deletions

View File

@ -59,11 +59,6 @@ spec:
secretKeyRef:
key: region_name
name: keystone-init
- name: OS_BOOTSTRAP_ADMIN_URL
valueFrom:
secretKeyRef:
key: auth_url
name: keystone-init
- name: OS_BOOTSTRAP_PUBLIC_URL
valueFrom:
secretKeyRef:
@ -81,6 +76,8 @@ spec:
name: keystone-init
- name: OS_BOOTSTRAP_SERVICE_NAME
value: keystone
- name: OS_BOOTSTRAP_ADMIN_URL
value: http://keystone.openstack.svc.cluster.local
- name: OS_BOOTSTRAP_INTERNAL_URL
value: http://keystone.openstack.svc.cluster.local
command:

View File

@ -85,6 +85,14 @@
pre_tasks:
- name: Set the context with openstack namespace
command: kubectl config set-context --current --namespace=openstack
- name: Update resolv.conf to point to the coredns
become: true
shell: |
cat <<EOF> /etc/resolv.conf
search svc.cluster.local cluster.local
nameserver 10.96.0.10
options ndots:5
EOF
roles:
- orchestrate-devstack