-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SKS-2345: Add support for system disk expansion (#169)
- Loading branch information
1 parent
9ffaf7e
commit 939f02d
Showing
50 changed files
with
4,142 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: hostconfigs.kubesmart.smtx.io | ||
spec: | ||
group: kubesmart.smtx.io | ||
names: | ||
categories: | ||
- kubesmart | ||
kind: HostConfig | ||
listKind: HostConfigList | ||
plural: hostconfigs | ||
shortNames: | ||
- hc | ||
singular: hostconfig | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: the current phase of HostConfig | ||
jsonPath: .status.phase | ||
name: Phase | ||
type: string | ||
- description: the last execution time | ||
jsonPath: .status.lastExecutionTime | ||
name: LastExecutionTime | ||
type: string | ||
- description: Time duration since creation of HostConfig | ||
jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: HostConfig is the Schema for the HostConfig API. | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
config: | ||
properties: | ||
ansible: | ||
description: Ansible 通过 ansible playbook 完成配置 | ||
properties: | ||
localPlaybook: | ||
description: LocalPlaybook 本地的 playbook,单个 yaml 文件, secret | ||
引用或者 yaml 字符串 | ||
properties: | ||
content: | ||
description: Content is the inline yaml text. | ||
format: yaml | ||
type: string | ||
secretRef: | ||
description: SecretRef specifies the secret which stores | ||
yaml text. | ||
properties: | ||
name: | ||
description: name is unique within a namespace to | ||
reference a secret resource. | ||
type: string | ||
namespace: | ||
description: namespace defines the space within which | ||
the secret name must be unique. | ||
type: string | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
type: object | ||
remotePlaybook: | ||
description: RemotePlaybook 在远端的 playbook,单个 .tar.gz 压缩包,内容可以是单个 | ||
yaml 文件,也可以符合 ansible 要求的目录 | ||
properties: | ||
md5sum: | ||
description: MD5sum 压缩包的 MD5,填写了会进行校验,已经下载过的 playbook | ||
校验通过后跳过重复下载 | ||
type: string | ||
name: | ||
description: Name 要执行的 playbook 文件名,相对于压缩包顶层的位置 | ||
type: string | ||
url: | ||
description: URL playbook 在远端的地址,支持 https | ||
type: string | ||
required: | ||
- name | ||
- url | ||
type: object | ||
values: | ||
description: Values 执行 playbook 的参数,yaml 格式,可以是 secret 引用或者 | ||
yaml 字符串 | ||
properties: | ||
content: | ||
description: Content is the inline yaml text. | ||
format: yaml | ||
type: string | ||
secretRef: | ||
description: SecretRef specifies the secret which stores | ||
yaml text. | ||
properties: | ||
name: | ||
description: name is unique within a namespace to | ||
reference a secret resource. | ||
type: string | ||
namespace: | ||
description: namespace defines the space within which | ||
the secret name must be unique. | ||
type: string | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
type: object | ||
type: object | ||
timeout: | ||
description: Timeout 执行一次配置的超时时间 | ||
type: string | ||
type: object | ||
nodeName: | ||
type: string | ||
required: | ||
- config | ||
- nodeName | ||
type: object | ||
status: | ||
properties: | ||
failureMessage: | ||
type: string | ||
failureReason: | ||
type: string | ||
lastExecutionTime: | ||
description: LastExecutionTime 最后执行的时间戳 | ||
format: date-time | ||
type: string | ||
phase: | ||
description: Phase 当前状态 | ||
type: string | ||
required: | ||
- phase | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.