Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Update ibmcloud-operator v1.0.0 on stable channel, remove alpha #2379

Merged
merged 1 commit into from
Sep 28, 2020
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,357 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.5
creationTimestamp: null
name: bindings.ibmcloud.ibm.com
spec:
additionalPrinterColumns:
- JSONPath: .status.state
name: Status
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: ibmcloud.ibm.com
names:
kind: Binding
listKind: BindingList
plural: bindings
singular: binding
scope: Namespaced
subresources:
status: {}
version: v1
versions:
- name: v1
schema:
openAPIV3Schema:
description: Binding is an instance of a service binding resource on IBM Cloud. A Binding creates a secret with the service instance credentials.
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: BindingSpec defines the desired state of Binding
properties:
alias:
description: Alias is the name for the credentials to be aliased
type: string
parameters:
description: Parameters pass configuration to the service during creation
items:
description: Param represents a key-value pair
properties:
attributes:
additionalProperties:
type: object
description: A parameter may have attributes (e.g. message hub topic might have partitions)
type: object
name:
description: Name representing the key.
type: string
value:
description: Defaults to null.
valueFrom:
description: Source for the value. Cannot be used if value is not empty.
properties:
configMapKeyRef:
description: Selects a key of a ConfigMap.
properties:
key:
description: The key to select.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the ConfigMap or its key must be defined
type: boolean
required:
- key
type: object
secretKeyRef:
description: Selects a key of a secret in the resource namespace
properties:
key:
description: The key of the secret to select from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the Secret or its key must be defined
type: boolean
required:
- key
type: object
type: object
required:
- name
type: object
type: array
role:
description: Role is the role for the credentials
type: string
secretName:
description: SecretName is the name of the secret where credentials will be stored
type: string
serviceName:
description: ServiceClass is the name of the service resource to bind
type: string
serviceNamespace:
description: ServiceNamespace is the namespace of the service resource to bind
type: string
required:
- serviceName
type: object
status:
description: BindingStatus defines the observed state of Binding
properties:
generation:
format: int64
type: integer
instanceId:
description: InstanceID is the instance ID for the service
type: string
keyInstanceId:
description: KeyInstanceID is the key instance ID for the credentials
type: string
message:
description: Message is a detailed message on current status
type: string
secretName:
description: SecretName is the name of the generated secret with service credentials
type: string
state:
description: State is a short name for the current status
type: string
type: object
type: object
served: true
storage: true
- name: v1beta1
schema:
openAPIV3Schema:
description: Binding is an instance of a service binding resource on IBM Cloud. A Binding creates a secret with the service instance credentials.
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: BindingSpec defines the desired state of Binding
properties:
alias:
description: Alias is the name for the credentials to be aliased
type: string
parameters:
description: Parameters pass configuration to the service during creation
items:
description: Param represents a key-value pair
properties:
attributes:
additionalProperties:
type: object
description: A parameter may have attributes (e.g. message hub topic might have partitions)
type: object
name:
description: Name representing the key.
type: string
value:
description: Defaults to null.
valueFrom:
description: Source for the value. Cannot be used if value is not empty.
properties:
configMapKeyRef:
description: Selects a key of a ConfigMap.
properties:
key:
description: The key to select.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the ConfigMap or its key must be defined
type: boolean
required:
- key
type: object
secretKeyRef:
description: Selects a key of a secret in the resource namespace
properties:
key:
description: The key of the secret to select from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the Secret or its key must be defined
type: boolean
required:
- key
type: object
type: object
required:
- name
type: object
type: array
role:
description: Role is the role for the credentials
type: string
secretName:
description: SecretName is the name of the secret where credentials will be stored
type: string
serviceName:
description: ServiceClass is the name of the service resource to bind
type: string
serviceNamespace:
description: ServiceNamespace is the namespace of the service resource to bind
type: string
required:
- serviceName
type: object
status:
description: BindingStatus defines the observed state of Binding
properties:
generation:
format: int64
type: integer
instanceId:
description: InstanceID is the instance ID for the service
type: string
keyInstanceId:
description: KeyInstanceID is the key instance ID for the credentials
type: string
message:
description: Message is a detailed message on current status
type: string
secretName:
description: SecretName is the name of the generated secret with service credentials
type: string
state:
description: State is a short name for the current status
type: string
type: object
type: object
served: true
storage: false
- name: v1alpha1
schema:
openAPIV3Schema:
description: Binding is the Schema for the bindings 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: BindingSpec defines the desired state of Binding
properties:
alias:
type: string
parameters:
items:
description: Param represents a key-value pair
properties:
attributes:
additionalProperties:
type: object
description: A parameter may have attributes (e.g. message hub topic might have partitions)
type: object
name:
description: Name representing the key.
type: string
value:
description: Defaults to null.
valueFrom:
description: Source for the value. Cannot be used if value is not empty.
properties:
configMapKeyRef:
description: Selects a key of a ConfigMap.
properties:
key:
description: The key to select.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the ConfigMap or its key must be defined
type: boolean
required:
- key
type: object
secretKeyRef:
description: Selects a key of a secret in the resource namespace
properties:
key:
description: The key of the secret to select from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
type: string
optional:
description: Specify whether the Secret or its key must be defined
type: boolean
required:
- key
type: object
type: object
required:
- name
type: object
type: array
role:
type: string
secretName:
type: string
serviceName:
type: string
serviceNamespace:
type: string
required:
- serviceName
type: object
status:
description: BindingStatus defines the observed state of Binding
properties:
generation:
format: int64
type: integer
instanceId:
type: string
keyInstanceId:
type: string
message:
type: string
secretName:
type: string
state:
type: string
type: object
type: object
served: true
storage: false
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading