mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
commit
272b93413f
|
|
@ -108,7 +108,7 @@ func AllinoneCfg(user *user.User, all bool) *kubekeyapi.Cluster {
|
|||
|
||||
if all {
|
||||
allinoneCfg.Spec.Storage = kubekeyapi.Storage{
|
||||
DefaultStorageClass: "local",
|
||||
DefaultStorageClass: "localVolume",
|
||||
LocalVolume: kubekeyapi.LocalVolume{StorageClassName: "local"},
|
||||
}
|
||||
allinoneCfg.Spec.KubeSphere = kubekeyapi.KubeSphere{
|
||||
|
|
|
|||
|
|
@ -210,6 +210,36 @@ rules:
|
|||
- '*'
|
||||
verbs:
|
||||
- '*'
|
||||
- apiGroups:
|
||||
- policy
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- '*'
|
||||
- apiGroups:
|
||||
- autoscaling
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- '*'
|
||||
- apiGroups:
|
||||
- networking.istio.io
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- '*'
|
||||
- apiGroups:
|
||||
- config.istio.io
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- '*'
|
||||
- apiGroups:
|
||||
- iam.kubesphere.io
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- '*'
|
||||
|
||||
---
|
||||
kind: ClusterRoleBinding
|
||||
|
|
@ -246,7 +276,7 @@ spec:
|
|||
serviceAccountName: ks-installer
|
||||
containers:
|
||||
- name: installer
|
||||
image: kubespheredev/ks-installer:dev-helm3
|
||||
image: kubespheredev/ks-install:v3.0.0-dev
|
||||
imagePullPolicy: IfNotPresent
|
||||
`)))
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue