This object is written to the steward namespace and represents a single (service, plan) pair that at least one steward can provision and bind. It has the following fields:
service_info- a JSON object containing the information on the service. See below for a description of the fields in this objectservice_plan- a JSON object containing the information on the service's plan. See below for a description of the fields in this Object
This object contains information for a service offered by steward. It has the below fields. Each is a string unless otherwise indicated.
name- the name of the serviceid- the ID of the servicedescription- the description of the serviceplan_updateable- a boolean indicating whether the service's plans are updateable
This object contains information on an individual plan for a service offered by steward. It has the below fields. Each is a string unless otherwise indicated.
id- the ID of the planname- the name of the plandescripton- the description of the planfree- a boolean indicating whether this plan is free
Below is an example of a ServiceCatalogEntry, in yaml format:
apiVersion: steward.deis.io/v1
description: an alpine pod provisioned with a backing Tiller server (there is only
1 plan for this chart)
kind: ServiceCatalogEntry
metadata:
creationTimestamp: 2016-08-30T22:37:55Z
name: helm-alpine-standard
namespace: steward
resourceVersion: "504405"
selfLink: /apis/steward.deis.io/v1/namespaces/steward/servicecatalogentries/helm-alpine-standard
uid: 649ed98f-6f02-11e6-9018-42010a800069
service_info:
description: an alpine pod provisioned with a backing Tiller server
id: helm-alpine
name: alpine-server
plan_updateable: false
service_plan:
description: there is only 1 plan for this chart
free: false
id: standard
name: standardThis object is submitted by the application as JSON in a ConfigMap (to become a ThirdPartyResource after #17 is fixed) when the application wants Steward to create a new service for its use. Steward then mutates the object to communicate the status of the service creation operation. Applications may watch the event stream for this object to watch progress of service creation.
target-name- the name of theConfigMapthat steward should write the resulting credentialstarget-namespace- the namespace that steward should write theConfigMapwith the resulting credentialsservice-provider- the name of theServiceProviderthe application wantsservice-plan- the name of theServicePlanthe application wantsclaim-id- an application-generated UUIDaction- the application-specified action to take. Valid values areprovision,bind,unbind,deprovision,createanddelete. A few more notes:- Steward will never modify this value
createwill execute both theprovisionandbindactions, in orderdeletewill execute both theunbindanddeprovisionactions, in order- All new
ServicePlanClaims submitted by applications must haveactionset toprovisionorcreate - If steward encounters an error, the actions it has already taken will not be rolled back. See the following examples:
- If you submit a claim with
action: createand the bind step fails, the provision step will not be rolled back - If you submit a claim with
action: bindwith atarget-nameand/ortarget-namespacevalue that points to a ConfigMap that already exists, steward will execute the bind action on the backend but will fail to write the new credentials ConfigMap. The backend bind action will not be rolled back
- If you submit a claim with
- It is an error for this field to be empty
status- the current status of the claim. Steward will modify this value, but will ignore any modifications by the application. Valid values and short descriptions are listed below:provisioning- immediately afteractionis set toprovisionprovisioned- afteractionis set toprovisionand the provisioning process succeededbinding- immediately afteractionis set tobindbound- afteractionis set tobindand the binding process succeededunbinding- immediately afteractionis set tounbindunbound- afteractionis set tounbindand the unbinding process succeededdeprovisioning- immediately afteractionis set todeprovisiondeprovisioned- afteractionis set todeprovisionand the deprovisioning process succeededfailed- after anyactionfailed
status-description- a human-readable explanation of the currentstatus. Steward will modify this value, but will ignore any modifications by the applicationinstance-id- for internal use only. The application should not modify this fieldbind-id- for internal use only. The application should not modify this fieldextra- for internal use only. The application should not modify this field