forked from cloudfoundry-incubator/quarks-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mario Manno
authored and
Vlad Iovanov
committed
Feb 21, 2020
1 parent
38594b8
commit f395b62
Showing
6 changed files
with
165 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,73 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: boshdeployments.quarks.cloudfoundry.org | ||
annotations: | ||
"helm.sh/hook": crd-install | ||
spec: | ||
conversion: | ||
strategy: None | ||
group: quarks.cloudfoundry.org | ||
names: | ||
kind: BOSHDeployment | ||
listKind: BOSHDeploymentList | ||
plural: boshdeployments | ||
singular: boshdeployment | ||
shortNames: | ||
- bdpl | ||
- bdpls | ||
scope: Namespaced | ||
version: v1alpha1 | ||
- bdpl | ||
- bdpls | ||
singular: boshdeployment | ||
preserveUnknownFields: false | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
# openAPIV3Schema is the schema for validating custom objects. | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
required: [manifest] | ||
properties: | ||
manifest: | ||
type: object | ||
required: [type, name] | ||
properties: | ||
type: | ||
type: string | ||
enum: ["configmap", "secret", "url"] | ||
name: | ||
type: string | ||
minLength: 1 | ||
type: string | ||
type: | ||
enum: | ||
- configmap | ||
- secret | ||
- url | ||
type: string | ||
required: | ||
- type | ||
- name | ||
type: object | ||
ops: | ||
type: array | ||
items: | ||
type: object | ||
required: [type, name] | ||
properties: | ||
type: | ||
type: string | ||
enum: ["configmap", "secret", "url"] | ||
name: | ||
type: string | ||
minLength: 1 | ||
type: string | ||
type: | ||
enum: | ||
- configmap | ||
- secret | ||
- url | ||
type: string | ||
required: | ||
- type | ||
- name | ||
type: object | ||
type: array | ||
required: | ||
- manifest | ||
type: object | ||
status: | ||
properties: | ||
lastReconcile: | ||
type: string | ||
type: object | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: quarkssecrets.quarks.cloudfoundry.org | ||
annotations: | ||
"helm.sh/hook": crd-install | ||
spec: | ||
conversion: | ||
strategy: None | ||
group: quarks.cloudfoundry.org | ||
names: | ||
kind: QuarksSecret | ||
listKind: QuarksSecretList | ||
plural: quarkssecrets | ||
shortNames: | ||
- qsec | ||
- qsecs | ||
singular: quarkssecret | ||
preserveUnknownFields: false | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
properties: | ||
request: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
secretName: | ||
description: The name of the generated secret | ||
minLength: 1 | ||
type: string | ||
type: | ||
description: 'What kind of secret to generate: password, certificate, | ||
ssh, rsa' | ||
minLength: 1 | ||
type: string | ||
required: | ||
- secretName | ||
- type | ||
type: object | ||
status: | ||
properties: | ||
generated: | ||
type: boolean | ||
lastReconcile: | ||
type: string | ||
type: object | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
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,61 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: quarksstatefulsets.quarks.cloudfoundry.org | ||
annotations: | ||
"helm.sh/hook": crd-install | ||
spec: | ||
conversion: | ||
strategy: None | ||
group: quarks.cloudfoundry.org | ||
names: | ||
kind: QuarksStatefulSet | ||
listKind: QuarksStatefulSetList | ||
plural: quarksstatefulsets | ||
shortNames: | ||
- qsts | ||
singular: quarksstatefulset | ||
preserveUnknownFields: false | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
properties: | ||
activePassiveProbes: | ||
description: Defines probes to determine active/passive component instances | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
template: | ||
description: A template for a regular StatefulSet | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
updateOnConfigChange: | ||
description: Indicate whether to update Pods in the StatefulSet when | ||
an env value or mount changes | ||
type: boolean | ||
zoneNodeLabel: | ||
description: Indicates the node label that a node locates | ||
type: string | ||
zones: | ||
description: Indicates the availability zones that the QuarksStatefulSet | ||
needs to span | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- template | ||
type: object | ||
status: | ||
properties: | ||
lastReconcile: | ||
type: string | ||
type: object | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |