mirror of https://git.rancher.io/charts
Merge pull request #1088 from ibuildthecloud/dev-v2.6-source
rancher-operator v0.2.0-alpha02pull/1090/head
parent
0aa2dc221d
commit
bf2a37c26c
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,15 @@
|
|||
annotations:
|
||||
catalog.cattle.io/certified: rancher
|
||||
catalog.cattle.io/hidden: "true"
|
||||
catalog.cattle.io/namespace: rancher-operator-system
|
||||
catalog.cattle.io/os: linux
|
||||
catalog.cattle.io/release-name: rancher-operator-crd
|
||||
apiVersion: v2
|
||||
appVersion: 0.2.0-alpha02
|
||||
dependencies:
|
||||
- condition: capi.enabled
|
||||
name: capi
|
||||
repository: ""
|
||||
description: Rancher Operator CustomResourceDefinitions
|
||||
name: rancher-operator-crd
|
||||
version: 0.2.0-alpha0201-rc01
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v2
|
||||
appVersion: 0.0.0
|
||||
name: capi
|
||||
version: 0.0.0
|
|
@ -0,0 +1,321 @@
|
|||
apiVersion: admissionregistration.k8s.io/v1
|
||||
kind: MutatingWebhookConfiguration
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: mutating-webhook-configuration
|
||||
webhooks:
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /mutate-cluster-x-k8s-io-v1alpha4-cluster
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.cluster.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- clusters
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /mutate-cluster-x-k8s-io-v1alpha4-machine
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.machine.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machines
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /mutate-cluster-x-k8s-io-v1alpha4-machinedeployment
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.machinedeployment.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machinedeployments
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /mutate-cluster-x-k8s-io-v1alpha4-machinehealthcheck
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.machinehealthcheck.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machinehealthchecks
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /mutate-cluster-x-k8s-io-v1alpha4-machineset
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.machineset.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machinesets
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /mutate-exp-cluster-x-k8s-io-v1alpha4-machinepool
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.exp.machinepool.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- exp.cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machinepools
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /mutate-addons-cluster-x-k8s-io-v1alpha4-clusterresourceset
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: default.clusterresourceset.addons.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- addons.cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- clusterresourcesets
|
||||
sideEffects: None
|
||||
---
|
||||
apiVersion: admissionregistration.k8s.io/v1
|
||||
kind: ValidatingWebhookConfiguration
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: validating-webhook-configuration
|
||||
webhooks:
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /validate-cluster-x-k8s-io-v1alpha4-cluster
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.cluster.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- clusters
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /validate-cluster-x-k8s-io-v1alpha4-machine
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.machine.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machines
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /validate-cluster-x-k8s-io-v1alpha4-machinedeployment
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.machinedeployment.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machinedeployments
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /validate-cluster-x-k8s-io-v1alpha4-machinehealthcheck
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.machinehealthcheck.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machinehealthchecks
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /validate-cluster-x-k8s-io-v1alpha4-machineset
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.machineset.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machinesets
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /validate-exp-cluster-x-k8s-io-v1alpha4-machinepool
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.exp.machinepool.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- exp.cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- machinepools
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1beta1
|
||||
clientConfig:
|
||||
caBundle: Cg==
|
||||
service:
|
||||
name: webhook-service
|
||||
namespace: cattle-system
|
||||
path: /validate-addons-cluster-x-k8s-io-v1alpha4-clusterresourceset
|
||||
failurePolicy: Fail
|
||||
matchPolicy: Equivalent
|
||||
name: validation.clusterresourceset.addons.cluster.x-k8s.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- addons.cluster.x-k8s.io
|
||||
apiVersions:
|
||||
- v1alpha4
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- clusterresourcesets
|
||||
sideEffects: None
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,904 @@
|
|||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: clusters.rancher.cattle.io
|
||||
spec:
|
||||
additionalPrinterColumns:
|
||||
- JSONPath: .status.ready
|
||||
name: Ready
|
||||
type: string
|
||||
- JSONPath: .status.clientSecretName
|
||||
name: Kubeconfig
|
||||
type: string
|
||||
group: rancher.cattle.io
|
||||
names:
|
||||
kind: Cluster
|
||||
plural: clusters
|
||||
singular: cluster
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
properties:
|
||||
cloudCredentialSecretName:
|
||||
nullable: true
|
||||
type: string
|
||||
clusterAPIConfig:
|
||||
nullable: true
|
||||
properties:
|
||||
clusterName:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
kubernetesVersion:
|
||||
nullable: true
|
||||
type: string
|
||||
rancherValues:
|
||||
nullable: true
|
||||
type: object
|
||||
referencedConfig:
|
||||
nullable: true
|
||||
properties:
|
||||
managementClusterName:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
rkeConfig:
|
||||
nullable: true
|
||||
properties:
|
||||
config:
|
||||
items:
|
||||
properties:
|
||||
config:
|
||||
type: object
|
||||
machineLabelSelector:
|
||||
nullable: true
|
||||
properties:
|
||||
matchExpressions:
|
||||
items:
|
||||
properties:
|
||||
key:
|
||||
nullable: true
|
||||
type: string
|
||||
operator:
|
||||
nullable: true
|
||||
type: string
|
||||
values:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: object
|
||||
type: object
|
||||
machineName:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
infrastructureRef:
|
||||
nullable: true
|
||||
properties:
|
||||
apiVersion:
|
||||
nullable: true
|
||||
type: string
|
||||
fieldPath:
|
||||
nullable: true
|
||||
type: string
|
||||
kind:
|
||||
nullable: true
|
||||
type: string
|
||||
name:
|
||||
nullable: true
|
||||
type: string
|
||||
namespace:
|
||||
nullable: true
|
||||
type: string
|
||||
resourceVersion:
|
||||
nullable: true
|
||||
type: string
|
||||
uid:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nodePools:
|
||||
items:
|
||||
properties:
|
||||
cloudCredentialSecretName:
|
||||
nullable: true
|
||||
type: string
|
||||
controlPlaneRole:
|
||||
nullable: true
|
||||
type: boolean
|
||||
displayName:
|
||||
nullable: true
|
||||
type: string
|
||||
etcdRole:
|
||||
nullable: true
|
||||
type: boolean
|
||||
hostnamePrefix:
|
||||
nullable: true
|
||||
type: string
|
||||
labels:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: object
|
||||
name:
|
||||
nullable: true
|
||||
type: string
|
||||
nodeConfig:
|
||||
nullable: true
|
||||
properties:
|
||||
apiVersion:
|
||||
nullable: true
|
||||
type: string
|
||||
fieldPath:
|
||||
nullable: true
|
||||
type: string
|
||||
kind:
|
||||
nullable: true
|
||||
type: string
|
||||
name:
|
||||
nullable: true
|
||||
type: string
|
||||
namespace:
|
||||
nullable: true
|
||||
type: string
|
||||
resourceVersion:
|
||||
nullable: true
|
||||
type: string
|
||||
uid:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
paused:
|
||||
type: boolean
|
||||
quantity:
|
||||
nullable: true
|
||||
type: integer
|
||||
rollingUpdate:
|
||||
nullable: true
|
||||
properties:
|
||||
maxSurge:
|
||||
nullable: true
|
||||
type: string
|
||||
maxUnavailable:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
taints:
|
||||
items:
|
||||
properties:
|
||||
effect:
|
||||
nullable: true
|
||||
type: string
|
||||
key:
|
||||
nullable: true
|
||||
type: string
|
||||
timeAdded:
|
||||
nullable: true
|
||||
type: string
|
||||
value:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
workerRole:
|
||||
nullable: true
|
||||
type: boolean
|
||||
required:
|
||||
- name
|
||||
- nodeConfig
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
upgradeStrategy:
|
||||
properties:
|
||||
drainServerNodes:
|
||||
type: boolean
|
||||
drainWorkerNodes:
|
||||
type: boolean
|
||||
serverConcurrency:
|
||||
type: integer
|
||||
workerConcurrency:
|
||||
type: integer
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
agentDeployed:
|
||||
type: boolean
|
||||
clientSecretName:
|
||||
nullable: true
|
||||
type: string
|
||||
clusterName:
|
||||
nullable: true
|
||||
type: string
|
||||
conditions:
|
||||
items:
|
||||
properties:
|
||||
lastTransitionTime:
|
||||
nullable: true
|
||||
type: string
|
||||
lastUpdateTime:
|
||||
nullable: true
|
||||
type: string
|
||||
message:
|
||||
nullable: true
|
||||
type: string
|
||||
reason:
|
||||
nullable: true
|
||||
type: string
|
||||
status:
|
||||
nullable: true
|
||||
type: string
|
||||
type:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
observedGeneration:
|
||||
type: integer
|
||||
ready:
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: projects.rancher.cattle.io
|
||||
spec:
|
||||
additionalPrinterColumns:
|
||||
- JSONPath: .spec.clusterSelector
|
||||
name: Selector
|
||||
type: string
|
||||
group: rancher.cattle.io
|
||||
names:
|
||||
kind: Project
|
||||
plural: projects
|
||||
singular: project
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
properties:
|
||||
clusterSelector:
|
||||
nullable: true
|
||||
properties:
|
||||
matchExpressions:
|
||||
items:
|
||||
properties:
|
||||
key:
|
||||
nullable: true
|
||||
type: string
|
||||
operator:
|
||||
nullable: true
|
||||
type: string
|
||||
values:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
status:
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: roletemplates.rancher.cattle.io
|
||||
spec:
|
||||
group: rancher.cattle.io
|
||||
names:
|
||||
kind: RoleTemplate
|
||||
plural: roletemplates
|
||||
singular: roletemplate
|
||||
scope: Cluster
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
rules:
|
||||
items:
|
||||
properties:
|
||||
apiGroups:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
nonResourceURLs:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
resourceNames:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
resources:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
verbs:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
status:
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: roletemplatebindings.rancher.cattle.io
|
||||
spec:
|
||||
additionalPrinterColumns:
|
||||
- JSONPath: .spec.roleTemplateName
|
||||
name: Role
|
||||
type: string
|
||||
group: rancher.cattle.io
|
||||
names:
|
||||
kind: RoleTemplateBinding
|
||||
plural: roletemplatebindings
|
||||
singular: roletemplatebinding
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
bindingScope:
|
||||
properties:
|
||||
apiGroup:
|
||||
nullable: true
|
||||
type: string
|
||||
kind:
|
||||
nullable: true
|
||||
type: string
|
||||
selector:
|
||||
nullable: true
|
||||
properties:
|
||||
matchExpressions:
|
||||
items:
|
||||
properties:
|
||||
key:
|
||||
nullable: true
|
||||
type: string
|
||||
operator:
|
||||
nullable: true
|
||||
type: string
|
||||
values:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
roleTemplateName:
|
||||
nullable: true
|
||||
type: string
|
||||
status:
|
||||
type: object
|
||||
subjects:
|
||||
items:
|
||||
properties:
|
||||
apiGroup:
|
||||
nullable: true
|
||||
type: string
|
||||
kind:
|
||||
nullable: true
|
||||
type: string
|
||||
name:
|
||||
nullable: true
|
||||
type: string
|
||||
namespace:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
labels:
|
||||
cluster.x-k8s.io/v1alpha4: v1
|
||||
name: rkeclusters.rke.cattle.io
|
||||
spec:
|
||||
group: rke.cattle.io
|
||||
names:
|
||||
kind: RKECluster
|
||||
plural: rkeclusters
|
||||
singular: rkecluster
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
properties:
|
||||
controlPlaneEndpoint:
|
||||
nullable: true
|
||||
properties:
|
||||
host:
|
||||
nullable: true
|
||||
type: string
|
||||
port:
|
||||
type: integer
|
||||
type: object
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
conditions:
|
||||
items:
|
||||
properties:
|
||||
lastTransitionTime:
|
||||
nullable: true
|
||||
type: string
|
||||
lastUpdateTime:
|
||||
nullable: true
|
||||
type: string
|
||||
message:
|
||||
nullable: true
|
||||
type: string
|
||||
reason:
|
||||
nullable: true
|
||||
type: string
|
||||
status:
|
||||
nullable: true
|
||||
type: string
|
||||
type:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
observedGeneration:
|
||||
type: integer
|
||||
ready:
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
labels:
|
||||
cluster.x-k8s.io/v1alpha4: v1
|
||||
name: rkecontrolplanes.rke.cattle.io
|
||||
spec:
|
||||
group: rke.cattle.io
|
||||
names:
|
||||
kind: RKEControlPlane
|
||||
plural: rkecontrolplanes
|
||||
singular: rkecontrolplane
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
properties:
|
||||
config:
|
||||
items:
|
||||
properties:
|
||||
config:
|
||||
type: object
|
||||
machineLabelSelector:
|
||||
nullable: true
|
||||
properties:
|
||||
matchExpressions:
|
||||
items:
|
||||
properties:
|
||||
key:
|
||||
nullable: true
|
||||
type: string
|
||||
operator:
|
||||
nullable: true
|
||||
type: string
|
||||
values:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: object
|
||||
type: object
|
||||
machineName:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
kubernetesVersion:
|
||||
nullable: true
|
||||
type: string
|
||||
managementClusterName:
|
||||
nullable: true
|
||||
type: string
|
||||
upgradeStrategy:
|
||||
properties:
|
||||
drainServerNodes:
|
||||
type: boolean
|
||||
drainWorkerNodes:
|
||||
type: boolean
|
||||
serverConcurrency:
|
||||
type: integer
|
||||
workerConcurrency:
|
||||
type: integer
|
||||
type: object
|
||||
required:
|
||||
- managementClusterName
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
clusterStateSecretName:
|
||||
nullable: true
|
||||
type: string
|
||||
conditions:
|
||||
items:
|
||||
properties:
|
||||
lastTransitionTime:
|
||||
nullable: true
|
||||
type: string
|
||||
lastUpdateTime:
|
||||
nullable: true
|
||||
type: string
|
||||
message:
|
||||
nullable: true
|
||||
type: string
|
||||
reason:
|
||||
nullable: true
|
||||
type: string
|
||||
status:
|
||||
nullable: true
|
||||
type: string
|
||||
type:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
observedGeneration:
|
||||
type: integer
|
||||
ready:
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
labels:
|
||||
cluster.x-k8s.io/v1alpha4: v1
|
||||
name: rkebootstraps.rke.cattle.io
|
||||
spec:
|
||||
group: rke.cattle.io
|
||||
names:
|
||||
kind: RKEBootstrap
|
||||
plural: rkebootstraps
|
||||
singular: rkebootstrap
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
dataSecretName:
|
||||
nullable: true
|
||||
type: string
|
||||
ready:
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
labels:
|
||||
cluster.x-k8s.io/v1alpha4: v1
|
||||
name: rkebootstraptemplates.rke.cattle.io
|
||||
spec:
|
||||
group: rke.cattle.io
|
||||
names:
|
||||
kind: RKEBootstrapTemplate
|
||||
plural: rkebootstraptemplates
|
||||
singular: rkebootstraptemplate
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
properties:
|
||||
template:
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
dataSecretName:
|
||||
nullable: true
|
||||
type: string
|
||||
ready:
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
- template
|
||||
type: object
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
labels:
|
||||
cluster.x-k8s.io/v1alpha4: v1
|
||||
name: rkecontrolplanes.rke.cattle.io
|
||||
spec:
|
||||
group: rke.cattle.io
|
||||
names:
|
||||
kind: RKEControlPlane
|
||||
plural: rkecontrolplanes
|
||||
singular: rkecontrolplane
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
properties:
|
||||
config:
|
||||
items:
|
||||
properties:
|
||||
config:
|
||||
type: object
|
||||
machineLabelSelector:
|
||||
nullable: true
|
||||
properties:
|
||||
matchExpressions:
|
||||
items:
|
||||
properties:
|
||||
key:
|
||||
nullable: true
|
||||
type: string
|
||||
operator:
|
||||
nullable: true
|
||||
type: string
|
||||
values:
|
||||
items:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
matchLabels:
|
||||
additionalProperties:
|
||||
nullable: true
|
||||
type: string
|
||||
nullable: true
|
||||
type: object
|
||||
type: object
|
||||
machineName:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
kubernetesVersion:
|
||||
nullable: true
|
||||
type: string
|
||||
managementClusterName:
|
||||
nullable: true
|
||||
type: string
|
||||
upgradeStrategy:
|
||||
properties:
|
||||
drainServerNodes:
|
||||
type: boolean
|
||||
drainWorkerNodes:
|
||||
type: boolean
|
||||
serverConcurrency:
|
||||
type: integer
|
||||
workerConcurrency:
|
||||
type: integer
|
||||
type: object
|
||||
required:
|
||||
- managementClusterName
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
clusterStateSecretName:
|
||||
nullable: true
|
||||
type: string
|
||||
conditions:
|
||||
items:
|
||||
properties:
|
||||
lastTransitionTime:
|
||||
nullable: true
|
||||
type: string
|
||||
lastUpdateTime:
|
||||
nullable: true
|
||||
type: string
|
||||
message:
|
||||
nullable: true
|
||||
type: string
|
||||
reason:
|
||||
nullable: true
|
||||
type: string
|
||||
status:
|
||||
nullable: true
|
||||
type: string
|
||||
type:
|
||||
nullable: true
|
||||
type: string
|
||||
type: object
|
||||
nullable: true
|
||||
type: array
|
||||
observedGeneration:
|
||||
type: integer
|
||||
ready:
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
labels:
|
||||
cluster.x-k8s.io/v1alpha4: v1
|
||||
name: unmanagedmachines.rke.cattle.io
|
||||
spec:
|
||||
group: rke.cattle.io
|
||||
names:
|
||||
kind: UnmanagedMachine
|
||||
plural: unmanagedmachines
|
||||
singular: unmanagedmachine
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
status:
|
||||
properties:
|
||||
ready:
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
|
@ -0,0 +1,2 @@
|
|||
capi:
|
||||
enabled: false
|
|
@ -0,0 +1,14 @@
|
|||
annotations:
|
||||
catalog.cattle.io/auto-install: rancher-operator-crd=match
|
||||
catalog.cattle.io/certified: rancher
|
||||
catalog.cattle.io/experimental: "true"
|
||||
catalog.cattle.io/hidden: "true"
|
||||
catalog.cattle.io/namespace: rancher-operator-system
|
||||
catalog.cattle.io/os: linux
|
||||
catalog.cattle.io/provides-gvr: clusters.rancher.cattle.io/v1
|
||||
catalog.cattle.io/release-name: rancher-operator
|
||||
apiVersion: v2
|
||||
appVersion: 0.2.0-alpha02
|
||||
description: Control Rancher using GitOps
|
||||
name: rancher-operator
|
||||
version: 0.2.0-alpha0201-rc01
|
|
@ -0,0 +1,7 @@
|
|||
{{- define "system_default_registry" -}}
|
||||
{{- if .Values.global.cattle.systemDefaultRegistry -}}
|
||||
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
|
||||
{{- else -}}
|
||||
{{- "" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
|
@ -0,0 +1,10 @@
|
|||
kind: APIService
|
||||
apiVersion: management.cattle.io/v3
|
||||
metadata:
|
||||
name: rancher-operator-install
|
||||
spec:
|
||||
secretName: steve-aggregation
|
||||
secretNamespace: {{.Release.Namespace}}
|
||||
paths:
|
||||
- /v3/connect/agent
|
||||
- /system-agent-install.sh
|
|
@ -0,0 +1,31 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: rancher-operator
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: rancher-operator
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: rancher-operator
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: STAMP
|
||||
value: "{{.Values.stamp}}"
|
||||
- name: SKIP_CRDS
|
||||
value: "true"
|
||||
- name: ENABLE_CAPI
|
||||
value: "{{ .Values.capi.enabled }}"
|
||||
- name: ENABLE_RKE
|
||||
value: "{{ .Values.rke.enabled }}"
|
||||
- name: NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
||||
name: rancher-operator
|
||||
imagePullPolicy: "{{ .Values.image.imagePullPolicy }}"
|
||||
serviceAccountName: rancher-operator
|
|
@ -0,0 +1,67 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: rancher-operator
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
- "rancher.cattle.io"
|
||||
- "management.cattle.io"
|
||||
- "fleet.cattle.io"
|
||||
- "rke.cattle.io"
|
||||
- "cluster.x-k8s.io"
|
||||
- "rbac.authorization.k8s.io"
|
||||
- "rke-node.cattle.io"
|
||||
resources:
|
||||
- "*"
|
||||
verbs:
|
||||
- "*"
|
||||
- apiGroups:
|
||||
- "apiregistration.k8s.io"
|
||||
resources:
|
||||
- "apiservices"
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
resources:
|
||||
- daemonsets
|
||||
- deployments
|
||||
verbs:
|
||||
- list
|
||||
- get
|
||||
- watch
|
||||
- apiGroups:
|
||||
- batch
|
||||
resources:
|
||||
- jobs
|
||||
verbs:
|
||||
- "*"
|
||||
- apiGroups:
|
||||
- "admissionregistration.k8s.io"
|
||||
resources:
|
||||
- "validatingwebhookconfigurations"
|
||||
- "mutatingwebhookconfigurations"
|
||||
verbs:
|
||||
- "*"
|
||||
- apiGroups:
|
||||
- "apiextensions.k8s.io"
|
||||
resources:
|
||||
- "customresourcedefinitions"
|
||||
verbs:
|
||||
- "*"
|
||||
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: rancher-operator
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: rancher-operator
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: rancher-operator
|
||||
namespace: {{.Release.Namespace}}
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: rancher-operator
|
|
@ -0,0 +1,14 @@
|
|||
image:
|
||||
repository: rancher/rancher-operator
|
||||
tag: v0.2.0-alpha02
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
global:
|
||||
cattle:
|
||||
systemDefaultRegistry: ""
|
||||
|
||||
capi:
|
||||
enabled: false
|
||||
|
||||
rke:
|
||||
enabled: false
|
37
index.yaml
37
index.yaml
|
@ -6061,6 +6061,24 @@ entries:
|
|||
- released/assets/rancher-monitoring/rancher-monitoring-crd-9.4.200.tgz
|
||||
version: 9.4.200
|
||||
rancher-operator:
|
||||
- annotations:
|
||||
catalog.cattle.io/auto-install: rancher-operator-crd=match
|
||||
catalog.cattle.io/certified: rancher
|
||||
catalog.cattle.io/experimental: "true"
|
||||
catalog.cattle.io/hidden: "true"
|
||||
catalog.cattle.io/namespace: rancher-operator-system
|
||||
catalog.cattle.io/os: linux
|
||||
catalog.cattle.io/provides-gvr: clusters.rancher.cattle.io/v1
|
||||
catalog.cattle.io/release-name: rancher-operator
|
||||
apiVersion: v2
|
||||
appVersion: 0.2.0-alpha02
|
||||
created: "2021-04-07T05:10:37.086917405Z"
|
||||
description: Control Rancher using GitOps
|
||||
digest: a5b6ff2a20f15cca98f2c4f17ad79a42e2ced4c27f6073ac778aa36f55ec7ecf
|
||||
name: rancher-operator
|
||||
urls:
|
||||
- assets/rancher-operator/rancher-operator-0.2.0-alpha0201-rc01.tgz
|
||||
version: 0.2.0-alpha0201-rc01
|
||||
- annotations:
|
||||
catalog.cattle.io/auto-install: rancher-operator-crd=match
|
||||
catalog.cattle.io/certified: rancher
|
||||
|
@ -6350,6 +6368,25 @@ entries:
|
|||
- released/assets/rancher-operator/rancher-operator-0.1.0-alpha800.tgz
|
||||
version: 0.1.0-alpha800
|
||||
rancher-operator-crd:
|
||||
- annotations:
|
||||
catalog.cattle.io/certified: rancher
|
||||
catalog.cattle.io/hidden: "true"
|
||||
catalog.cattle.io/namespace: rancher-operator-system
|
||||
catalog.cattle.io/os: linux
|
||||
catalog.cattle.io/release-name: rancher-operator-crd
|
||||
apiVersion: v2
|
||||
appVersion: 0.2.0-alpha02
|
||||
created: "2021-04-07T05:10:37.091055268Z"
|
||||
dependencies:
|
||||
- condition: capi.enabled
|
||||
name: capi
|
||||
repository: ""
|
||||
description: Rancher Operator CustomResourceDefinitions
|
||||
digest: 53b96083d7be4ef2ca8da33ee196468d208b07d389885f29017dbb4fa0477494
|
||||
name: rancher-operator-crd
|
||||
urls:
|
||||
- assets/rancher-operator-crd/rancher-operator-crd-0.2.0-alpha0201-rc01.tgz
|
||||
version: 0.2.0-alpha0201-rc01
|
||||
- annotations:
|
||||
catalog.cattle.io/certified: rancher
|
||||
catalog.cattle.io/hidden: "true"
|
||||
|
|
Loading…
Reference in New Issue