---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clusterconfigurations.installer.kubesphere.io
spec:
group: installer.kubesphere.io
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
x-kubernetes-preserve-unknown-fields: true
status:
scope: Namespaced
names:
plural: clusterconfigurations
singular: clusterconfiguration
kind: ClusterConfiguration
shortNames:
- cc
apiVersion: v1
kind: ServiceAccount
name: ks-installer
namespace: kubesphere-system
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
rules:
- apiGroups:
- ""
resources:
- "*"
verbs:
- apps
- extensions
- batch
- rbac.authorization.k8s.io
- apiregistration.k8s.io
- apiextensions.k8s.io
- tenant.kubesphere.io
- certificates.k8s.io
- devops.kubesphere.io
- monitoring.coreos.com
- logging.kubesphere.io
- jaegertracing.io
- storage.k8s.io
- admissionregistration.k8s.io
- policy
- autoscaling
- networking.istio.io
- config.istio.io
- iam.kubesphere.io
- notification.kubesphere.io
- auditing.kubesphere.io
- events.kubesphere.io
- core.kubefed.io
- installer.kubesphere.io
- storage.kubesphere.io
- security.istio.io
- monitoring.kiali.io
- kiali.io
- networking.k8s.io
- edgeruntime.kubesphere.io
- types.kubefed.io
- monitoring.kubesphere.io
- application.kubesphere.io
- alerting.kubesphere.io
kind: ClusterRoleBinding
subjects:
- kind: ServiceAccount
roleRef:
apiGroup: rbac.authorization.k8s.io
apiVersion: apps/v1
kind: Deployment
labels:
app: ks-installer
replicas: 1
selector:
matchLabels:
template:
serviceAccountName: ks-installer
containers:
- name: installer
image: kubesphere/ks-installer:v3.4.0
imagePullPolicy: "Always"
securityContext:
privileged: true
limits:
cpu: "1"
memory: 1Gi
requests:
cpu: 20m
memory: 100Mi
volumeMounts:
- mountPath: /etc/localtime
name: host-time
readOnly: true
volumes:
- hostPath:
path: /etc/localtime
type: ""