Skip to content

Commit f2033c4

Browse files
committed
cleanup/standardize
1 parent ef05b14 commit f2033c4

7 files changed

+658
-658
lines changed

chart/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ A Helm chart for https://github.com/sap/cf-service-operator
3030
| resources.limits.cpu | float | `0.1` | CPU limit |
3131
| resources.requests.memory | string | `"20Mi"` | Memory request |
3232
| resources.requests.cpu | float | `0.01` | CPU request |
33-
| enableSapBindingMetadata | bool | `false` | Enable SAP binding metadata (per default, can be overridden by annotation per binding object) |
3433
| webhook.certManager.enabled | bool | `false` | Whether to use cert-manager to manage webhook tls |
3534
| webhook.certManager.issuerGroup | string | `""` | Issuer group (only relevant if enabled is true; if unset, the default cert-manager group is used) |
3635
| webhook.certManager.issuerKind | string | `""` | Issuer kind (only relevant if enabled is true; if unset, the default cert-manager type 'Issuer' is used) |
3736
| webhook.certManager.issuerName | string | `""` | Issuer name (only relevant if enabled is true; if unset, a self-signed issuer is used) |
37+
| enableSapBindingMetadata | bool | `false` | Enable SAP binding metadata (per default, can be overridden by annotation per binding object) |
3838

3939
----------------------------------------------
4040
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.10.0
7+
creationTimestamp: null
8+
name: clusterspaces.cf.cs.sap.com
9+
spec:
10+
group: cf.cs.sap.com
11+
names:
12+
kind: ClusterSpace
13+
listKind: ClusterSpaceList
14+
plural: clusterspaces
15+
singular: clusterspace
16+
scope: Cluster
17+
versions:
18+
- additionalPrinterColumns:
19+
- jsonPath: .status.state
20+
name: State
21+
type: string
22+
- jsonPath: .metadata.creationTimestamp
23+
name: Age
24+
type: date
25+
name: v1alpha1
26+
schema:
27+
openAPIV3Schema:
28+
description: ClusterSpace is the Schema for the clusterspaces API
29+
properties:
30+
apiVersion:
31+
description: 'APIVersion defines the versioned schema of this representation
32+
of an object. Servers should convert recognized schemas to the latest
33+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
34+
type: string
35+
kind:
36+
description: 'Kind is a string value representing the REST resource this
37+
object represents. Servers may infer this from the endpoint the client
38+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
39+
type: string
40+
metadata:
41+
type: object
42+
spec:
43+
description: SpaceSpec defines the desired state of Space.
44+
properties:
45+
authSecretName:
46+
description: A reference to a secret containing the space authentication
47+
data.
48+
minLength: 1
49+
type: string
50+
guid:
51+
description: Space GUID. Must not be specified if Name or OrganizationName
52+
is present.
53+
minLength: 1
54+
type: string
55+
name:
56+
description: Space name. Must not be specified if Guid is present;
57+
defauls to metadata.name otherwise.
58+
minLength: 1
59+
type: string
60+
organizationName:
61+
description: Organization name. Must not be specified if Guid is present;
62+
required otherwise.
63+
minLength: 1
64+
type: string
65+
required:
66+
- authSecretName
67+
type: object
68+
status:
69+
default:
70+
observedGeneration: -1
71+
description: SpaceStatus defines the observed state of Space.
72+
properties:
73+
conditions:
74+
description: List of status conditions to indicate the status of a
75+
Space. Known condition types are `Ready`.
76+
items:
77+
description: SpaceCondition contains condition information for a
78+
Space.
79+
properties:
80+
lastTransitionTime:
81+
description: LastTransitionTime is the timestamp corresponding
82+
to the last status change of this condition.
83+
format: date-time
84+
type: string
85+
message:
86+
description: Message is a human readable description of the
87+
details of the last transition, complementing reason.
88+
type: string
89+
reason:
90+
description: Reason is a brief machine readable explanation
91+
for the condition's last transition.
92+
type: string
93+
status:
94+
description: Status of the condition, one of ('True', 'False',
95+
'Unknown').
96+
enum:
97+
- "True"
98+
- "False"
99+
- Unknown
100+
type: string
101+
type:
102+
description: Type of the condition, known values are ('Ready').
103+
type: string
104+
required:
105+
- status
106+
- type
107+
type: object
108+
type: array
109+
lastModifiedAt:
110+
description: Last modification timestamp (when the last create/update/delete
111+
request was sent to Cloud Foundry)
112+
format: date-time
113+
type: string
114+
lastReconciledAt:
115+
description: Last reconciliation timestamp
116+
format: date-time
117+
type: string
118+
observedGeneration:
119+
description: Observed generation
120+
format: int64
121+
type: integer
122+
spaceGuid:
123+
description: Cloud Foundry space guid
124+
type: string
125+
state:
126+
description: Readable form of the state.
127+
enum:
128+
- Processing
129+
- Deleting
130+
- Ready
131+
- Error
132+
type: string
133+
type: object
134+
type: object
135+
served: true
136+
storage: true
137+
subresources:
138+
status: {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.10.0
7+
creationTimestamp: null
8+
name: servicebindings.cf.cs.sap.com
9+
spec:
10+
group: cf.cs.sap.com
11+
names:
12+
kind: ServiceBinding
13+
listKind: ServiceBindingList
14+
plural: servicebindings
15+
singular: servicebinding
16+
scope: Namespaced
17+
versions:
18+
- additionalPrinterColumns:
19+
- jsonPath: .status.state
20+
name: State
21+
type: string
22+
- jsonPath: .metadata.creationTimestamp
23+
name: Age
24+
type: date
25+
name: v1alpha1
26+
schema:
27+
openAPIV3Schema:
28+
description: ServiceBinding is the Schema for the servicebindings API
29+
properties:
30+
apiVersion:
31+
description: 'APIVersion defines the versioned schema of this representation
32+
of an object. Servers should convert recognized schemas to the latest
33+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
34+
type: string
35+
kind:
36+
description: 'Kind is a string value representing the REST resource this
37+
object represents. Servers may infer this from the endpoint the client
38+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
39+
type: string
40+
metadata:
41+
type: object
42+
spec:
43+
description: ServiceBindingSpec defines the desired state of ServiceBinding
44+
properties:
45+
name:
46+
description: Name of the service binding in Cloud Foundry; if unspecified,
47+
metadata.name will be used.
48+
minLength: 1
49+
type: string
50+
parameters:
51+
description: Binding parameters. Do not provide any sensitve data
52+
here; instead use ParametersFrom for such data.
53+
x-kubernetes-preserve-unknown-fields: true
54+
parametersFrom:
55+
description: References to secrets containing binding parameters.
56+
Top level keys must occur only once across Parameters and the secrest
57+
listed here.
58+
items:
59+
description: ParametersFromSource represents the source of a set
60+
of Parameters
61+
properties:
62+
secretKeyRef:
63+
description: The Secret key to select from.
64+
properties:
65+
key:
66+
description: The key of the secret to select from. Must
67+
be a valid secret key.
68+
type: string
69+
name:
70+
description: The name of the secret in the current namespace
71+
to select from.
72+
type: string
73+
required:
74+
- key
75+
- name
76+
type: object
77+
type: object
78+
type: array
79+
secretKey:
80+
description: Secret key (referring to SecretName) where the binding
81+
credentials will be stored. If unspecified, the top level keys of
82+
the binding credentials will become the secret keys.
83+
minLength: 1
84+
type: string
85+
secretName:
86+
description: Secret name where the binding credentials shall be stored
87+
(in the same namespace where the binding exists). If unspecified,
88+
metadata.name will be used.
89+
minLength: 1
90+
type: string
91+
serviceInstanceName:
92+
description: Name of a ServiceInstance resource in the same namespace,
93+
identifying the Cloud Foundry service instance this binding refers
94+
to.
95+
minLength: 1
96+
type: string
97+
required:
98+
- serviceInstanceName
99+
type: object
100+
status:
101+
default:
102+
observedGeneration: -1
103+
description: ServiceBindingStatus defines the observed state of ServiceBinding
104+
properties:
105+
conditions:
106+
description: List of status conditions to indicate the status of a
107+
ServiceBinding. Known condition types are `Ready`.
108+
items:
109+
description: ServiceBindingCondition contains condition information
110+
for a ServiceBinding.
111+
properties:
112+
lastTransitionTime:
113+
description: LastTransitionTime is the timestamp corresponding
114+
to the last status change of this condition.
115+
format: date-time
116+
type: string
117+
message:
118+
description: Message is a human readable description of the
119+
details of the last transition, complementing reason.
120+
type: string
121+
reason:
122+
description: Reason is a brief machine readable explanation
123+
for the condition's last transition.
124+
type: string
125+
status:
126+
description: Status of the condition, one of ('True', 'False',
127+
'Unknown').
128+
enum:
129+
- "True"
130+
- "False"
131+
- Unknown
132+
type: string
133+
type:
134+
description: Type of the condition, known values are ('Ready').
135+
type: string
136+
required:
137+
- status
138+
- type
139+
type: object
140+
type: array
141+
lastModifiedAt:
142+
description: Last modification timestamp (when the last create/update/delete
143+
request was sent to Cloud Foundry)
144+
format: date-time
145+
type: string
146+
lastReconciledAt:
147+
description: Last reconciliation timestamp
148+
format: date-time
149+
type: string
150+
observedGeneration:
151+
description: Observed generation
152+
format: int64
153+
type: integer
154+
serviceBindingDigest:
155+
description: Digest identifying the current target state of the service
156+
binding (including praameters)
157+
type: string
158+
serviceBindingGuid:
159+
description: Cloud Foundry service binding guid
160+
type: string
161+
serviceInstanceDigest:
162+
description: Digest identifying the current target state of the service
163+
instance (including praameters)
164+
type: string
165+
serviceInstanceGuid:
166+
description: Cloud Foundry service instance guid
167+
type: string
168+
spaceGuid:
169+
description: Cloud Foundry space guid
170+
type: string
171+
state:
172+
description: Readable form of the state.
173+
enum:
174+
- Processing
175+
- Deleting
176+
- Ready
177+
- Error
178+
type: string
179+
type: object
180+
type: object
181+
served: true
182+
storage: true
183+
subresources:
184+
status: {}

0 commit comments

Comments
 (0)