Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Misc] Operator: CRD(s)/Type(s) updated #168

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion crds/sme.sap.com_capapplications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: capapplications.sme.sap.com
spec:
group: sme.sap.com
Expand Down Expand Up @@ -57,6 +57,21 @@ spec:
type: object
btpAppName:
type: string
domainRefs:
items:
properties:
kind:
enum:
- Domain
- ClusterDomain
type: string
name:
type: string
required:
- kind
- name
type: object
type: array
domains:
properties:
dnsTarget:
Expand Down Expand Up @@ -103,6 +118,7 @@ spec:
required:
- btp
- btpAppName
- domainRefs
- domains
- globalAccountId
- provider
Expand Down
27 changes: 26 additions & 1 deletion crds/sme.sap.com_capapplicationversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: capapplicationversions.sme.sap.com
spec:
group: sme.sap.com
Expand Down Expand Up @@ -45,6 +45,31 @@ spec:
items:
type: string
type: array
serviceExposures:
items:
properties:
routes:
items:
properties:
path:
type: string
port:
format: int32
type: integer
workloadName:
type: string
required:
- port
- workloadName
type: object
type: array
subDomain:
type: string
required:
- routes
- subDomain
type: object
type: array
tenantOperations:
properties:
deprovisioning:
Expand Down
2 changes: 1 addition & 1 deletion crds/sme.sap.com_captenantoperations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: captenantoperations.sme.sap.com
spec:
group: sme.sap.com
Expand Down
2 changes: 1 addition & 1 deletion crds/sme.sap.com_captenantoutputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: captenantoutputs.sme.sap.com
spec:
group: sme.sap.com
Expand Down
2 changes: 1 addition & 1 deletion crds/sme.sap.com_captenants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: captenants.sme.sap.com
spec:
group: sme.sap.com
Expand Down
125 changes: 125 additions & 0 deletions crds/sme.sap.com_clusterdomains.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.1
name: clusterdomains.sme.sap.com
spec:
group: sme.sap.com
names:
kind: ClusterDomain
listKind: ClusterDomainList
plural: clusterdomains
shortNames:
- cldom
singular: clusterdomain
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.state
name: State
type: string
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
dnsMode:
enum:
- Node
- Wildcard
- Subdomain
type: string
dnsTarget:
pattern: ^[a-z0-9-.]+$
type: string
domain:
pattern: ^[a-z0-9-.]+$
type: string
ingressSelector:
additionalProperties:
type: string
type: object
tlsMode:
enum:
- Simple
- Mutual
type: string
required:
- dnsMode
- dnsTarget
- domain
- ingressSelector
- tlsMode
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
format: date-time
type: string
message:
maxLength: 32768
type: string
observedGeneration:
format: int64
minimum: 0
type: integer
reason:
maxLength: 1024
minLength: 1
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
type: string
status:
enum:
- "True"
- "False"
- Unknown
type: string
type:
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
type: array
observedGeneration:
format: int64
type: integer
state:
enum:
- ""
- Ready
- Error
- Processing
- Deleting
type: string
required:
- state
type: object
required:
- metadata
- spec
type: object
served: true
storage: true
subresources:
status: {}
125 changes: 125 additions & 0 deletions crds/sme.sap.com_domains.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.1
name: domains.sme.sap.com
spec:
group: sme.sap.com
names:
kind: Domain
listKind: DomainList
plural: domains
shortNames:
- dom
singular: domain
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.state
name: State
type: string
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
dnsMode:
enum:
- Node
- Wildcard
- Subdomain
type: string
dnsTarget:
pattern: ^[a-z0-9-.]+$
type: string
domain:
pattern: ^[a-z0-9-.]+$
type: string
ingressSelector:
additionalProperties:
type: string
type: object
tlsMode:
enum:
- Simple
- Mutual
type: string
required:
- dnsMode
- dnsTarget
- domain
- ingressSelector
- tlsMode
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
format: date-time
type: string
message:
maxLength: 32768
type: string
observedGeneration:
format: int64
minimum: 0
type: integer
reason:
maxLength: 1024
minLength: 1
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
type: string
status:
enum:
- "True"
- "False"
- Unknown
type: string
type:
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
type: array
observedGeneration:
format: int64
type: integer
state:
enum:
- ""
- Ready
- Error
- Processing
- Deleting
type: string
required:
- state
type: object
required:
- metadata
- spec
type: object
served: true
storage: true
subresources:
status: {}
Loading