Browse Source
kuryr-kubernetes patch [1] that changes to use kubeadm for installing Kubernetes on devstack. A patch [2] was previously created to address the change, but the fix used kuryr-Kubernetes stable/wallaby as a temporary fix. This patch fixes to use latest kuryr-kubernetes. * Change the ".zuul.yaml" setting to use the latest kuryr-kubernetes. * Add the process of creating a ServiceAccount and change the vim authentication method to bearer_token. This is because kuryr-kubernetes does not create an admin ServiceAccount by default. [1] https://review.opendev.org/c/openstack/kuryr-kubernetes/+/779250 [2] https://review.opendev.org/c/openstack/tacker/+/791252 Change-Id: Ib64183b5e978774811f51f8af0f4590a20ced856changes/88/800588/27
4 changed files with 75 additions and 15 deletions
@ -0,0 +1,23 @@
|
||||
kind: ClusterRoleBinding |
||||
apiVersion: rbac.authorization.k8s.io/v1 |
||||
metadata: |
||||
name: admin |
||||
annotations: |
||||
rbac.authorization.kubernetes.io/autoupdate: "true" |
||||
roleRef: |
||||
kind: ClusterRole |
||||
name: cluster-admin |
||||
apiGroup: rbac.authorization.k8s.io |
||||
subjects: |
||||
- kind: ServiceAccount |
||||
name: admin |
||||
namespace: kube-system |
||||
--- |
||||
apiVersion: v1 |
||||
kind: ServiceAccount |
||||
metadata: |
||||
name: admin |
||||
namespace: kube-system |
||||
labels: |
||||
kubernetes.io/cluster-service: "true" |
||||
addonmanager.kubernetes.io/mode: Reconcile |
Loading…
Reference in new issue