Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.
Merged
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
4 changes: 2 additions & 2 deletions charts/service-binding-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: service-binding-operator
description: A Helm chart to deploy service binding operator
type: application
version: 1.0.0
appVersion: "1.0.1"
version: 1.0.1
appVersion: "1.1.0"
kubeVersion: ">= 1.19.2-0"
icon: "https://github.com/redhat-developer/service-binding-operator/blob/master/assets/icon/sbo-logo.png"
keywords:
Expand Down
3 changes: 2 additions & 1 deletion charts/service-binding-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Installing the Service Binding Operator Helm chart creates the following custom
- bindablekinds.binding.operators.coreos.com
- servicebindings.binding.operators.coreos.com
- servicebindings.servicebinding.io
- clusterworkloadresourcemappings.servicebinding.io

The resources required for the Service Binding Operator are also installed.

Expand Down Expand Up @@ -99,7 +100,7 @@ kubectl get pods --namespace service-binding-operator
2. Create a `my-k-config` secret and specify the namespace if applicable from your `kubeconfig` file.

```
kubectl create secret generic my-k-config --from-file=kubeconfig=<PATH TO YOUR KUBECONFIG> -namespace service-binding-operator
kubectl create secret generic my-k-config --from-file=kubeconfig=<PATH TO YOUR KUBECONFIG> --namespace service-binding-operator
```

3. Run the Helm test and specify the namespace if applicable:
Expand Down
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.8.0
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: bindablekinds.binding.operators.coreos.com
spec:
Expand All @@ -21,10 +21,14 @@ spec:
description: BindableKinds is the Schema for the bindablekinds 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'
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'
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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
creationTimestamp: null
name: clusterworkloadresourcemappings.servicebinding.io
spec:
group: servicebinding.io
names:
kind: ClusterWorkloadResourceMapping
listKind: ClusterWorkloadResourceMappingList
plural: clusterworkloadresourcemappings
singular: clusterworkloadresourcemapping
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha3
schema:
openAPIV3Schema:
description: ClusterWorkloadResourceMapping is the Schema for the clusterworkloadresourcemappings
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:
description: ClusterWorkloadResourceMappingSpec defines the desired state
of ClusterWorkloadResourceMapping
properties:
versions:
description: Versions is the collection of versions for a given resource,
with mappings.
items:
description: ClusterWorkloadResourceMappingTemplate defines the
mapping for a specific version of an workload resource to a logical
PodTemplateSpec-like structure.
properties:
annotations:
description: Annotations is a Restricted JSONPath that references
the annotations map within the workload resource. These annotations
must end up in the resulting Pod, and are generally not the
workload resource's annotations. Defaults to `.spec.template.metadata.annotations`.
type: string
containers:
description: Containers is the collection of mappings to container-like
fragments of the workload resource. Defaults to mappings appropriate
for a PodSpecable resource.
items:
description: "ClusterWorkloadResourceMappingContainer defines
the mapping for a specific fragment of an workload resource
to a Container-like structure. \n Each mapping defines exactly
one path that may match multiple container-like fragments
within the workload resource. For each object matching the
path the name, env and volumeMounts expressions are resolved
to find those structures."
properties:
env:
description: Env is a Restricted JSONPath that references
the slice of environment variables for the container
with the container-like workload resource fragment.
The referenced location is created if it does not exist.
Defaults to `.envs`.
type: string
name:
description: Name is a Restricted JSONPath that references
the name of the container with the container-like workload
resource fragment. If not defined, container name filtering
is ignored.
type: string
path:
description: Path is the JSONPath within the workload
resource that matches an existing fragment that is container-like.
type: string
volumeMounts:
description: VolumeMounts is a Restricted JSONPath that
references the slice of volume mounts for the container
with the container-like workload resource fragment.
The referenced location is created if it does not exist.
Defaults to `.volumeMounts`.
type: string
required:
- path
type: object
type: array
version:
description: Version is the version of the workload resource
that this mapping is for.
type: string
volumes:
description: Volumes is a Restricted JSONPath that references
the slice of volumes within the workload resource. Defaults
to `.spec.template.spec.volumes`.
type: string
required:
- version
type: object
type: array
type: object
type: object
served: true
storage: true
subresources: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading