Browse Source

Fix syntax error in default rolesync configmap

Change-Id: I455ed0106dd257acbde58af408de0bf6e6abe7d3
changes/51/748951/4
Simon Merrick 1 year ago
parent
commit
f3e88ddba7
  1. 6
      doc/source/user/k8s-keystone-authN-authZ.rst
  2. 4
      magnum/drivers/common/templates/kubernetes/fragments/enable-keystone-auth.sh

6
doc/source/user/k8s-keystone-authN-authZ.rst

@ -176,10 +176,10 @@ user can update the default `keystone-sync-policy` configmap as follows.
apiVersion: v1
kind: ConfigMap
metadata:
name: keystone-sync-policy
namespace: kube-system
name: keystone-sync-policy
namespace: kube-system
data:
syncConfig: |
syncConfig: |
role-mappings:
- keystone-role: member
groups: ["project-1"]

4
magnum/drivers/common/templates/kubernetes/fragments/enable-keystone-auth.sh

@ -73,8 +73,8 @@ metadata:
data:
syncConfig: |
role-mappings:
keystone-role: member
groups: []
- keystone-role: member
groups: []
EOF
}

Loading…
Cancel
Save