Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
update k8s library
Browse files Browse the repository at this point in the history
  • Loading branch information
jintusebastian committed Dec 22, 2023
1 parent 6956a2c commit 31cfd81
Show file tree
Hide file tree
Showing 52 changed files with 837 additions and 1,710 deletions.
34 changes: 21 additions & 13 deletions helm-charts/interoperator/crds/sfcluster.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: sfclusters.resource.servicefabrik.io
spec:
group: resource.servicefabrik.io
Expand Down Expand Up @@ -53,7 +51,11 @@ spec:
type: string
totalCapacity:
additionalProperties:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: TotalCapacity represents the total resources of a cluster.
This should include the future capacity introduced by node autoscaler.
type: object
Expand All @@ -65,21 +67,33 @@ spec:
properties:
currentCapacity:
additionalProperties:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: CurrentCapacity represents the total resources of a cluster
from all the current nodes
type: object
requests:
additionalProperties:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Requests represents the total resources requested by
all the pods on the cluster
type: object
serviceInstanceCount:
type: integer
totalCapacity:
additionalProperties:
type: string
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: TotalCapacity represents the total resources of a cluster.
This should include the future capacity introduced by node autoscaler.
type: object
Expand All @@ -89,9 +103,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
10 changes: 1 addition & 9 deletions helm-charts/interoperator/crds/sfplan.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: sfplans.osb.servicefabrik.io
spec:
group: osb.servicefabrik.io
Expand Down Expand Up @@ -173,9 +171,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
10 changes: 1 addition & 9 deletions helm-charts/interoperator/crds/sfservice.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: sfservices.osb.servicefabrik.io
spec:
group: osb.servicefabrik.io
Expand Down Expand Up @@ -97,9 +95,3 @@ spec:
served: true
storage: true
subresources: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
10 changes: 1 addition & 9 deletions helm-charts/interoperator/crds/sfservicebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: sfservicebindings.osb.servicefabrik.io
spec:
group: osb.servicefabrik.io
Expand Down Expand Up @@ -136,9 +134,3 @@ spec:
served: true
storage: true
subresources: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
10 changes: 1 addition & 9 deletions helm-charts/interoperator/crds/sfserviceinstance.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.13.0
name: sfserviceinstances.osb.servicefabrik.io
spec:
group: osb.servicefabrik.io
Expand Down Expand Up @@ -167,9 +165,3 @@ spec:
served: true
storage: true
subresources: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit 31cfd81

Please sign in to comment.