-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contributes to https://github.ibm.com/st4sd/st4sd-olm/issues/28 Signed-off-by: Vassilis Vassiliadis <[email protected]>
- Loading branch information
1 parent
e2db401
commit 0d06993
Showing
6 changed files
with
1,376 additions
and
0 deletions.
There are no files selected for viewing
188 changes: 188 additions & 0 deletions
188
bundles/v0.0.18/manifests/deploy.st4sd.ibm.com_simulationtoolkits.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,188 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.10.0 | ||
creationTimestamp: null | ||
name: simulationtoolkits.deploy.st4sd.ibm.com | ||
spec: | ||
group: deploy.st4sd.ibm.com | ||
names: | ||
kind: SimulationToolkit | ||
listKind: SimulationToolkitList | ||
plural: simulationtoolkits | ||
shortNames: | ||
- st4sd | ||
singular: simulationtoolkit | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: Age of the workflow instance | ||
jsonPath: .metadata.creationTimestamp | ||
name: age | ||
type: string | ||
- description: Latest status of deployment | ||
jsonPath: .status.phase | ||
name: status | ||
type: string | ||
- description: VersionID consists of a separated by '/' array of strings. The | ||
strings are (in this order) st4sd-olm-deploy (this operator) version, Helm | ||
Chart version, ST4SD version. | ||
jsonPath: .status.versionID | ||
name: versionID | ||
type: string | ||
- description: The version of ST4SD-Cloud | ||
jsonPath: .status.versionST4SDCloud | ||
name: versionST4SDCloud | ||
type: string | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: SimulationToolkit contains setup instructions to deploy the Simulation | ||
Toolkit for Scientific Discovery (ST4SD). | ||
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: SimulationToolkitSpec defines the desired state of SimulationToolkit | ||
properties: | ||
paused: | ||
description: If true, the operator will not attempt to update/install | ||
ST4SD. Default is "false". | ||
type: boolean | ||
setup: | ||
description: Configuration options for the deployment of the Simulation | ||
Toolkit for Scientific Discovery (ST4SD). The operator will use | ||
this information to instantiate the ST4SD helm chart (https://github.com/st4sd/st4sd-deployment). | ||
properties: | ||
datastoreIdentifier: | ||
description: The name of the deployment. This is a short identifier | ||
with no spaces or '/' characters. ST4SD uses it to generate | ||
unique identifiers for all virtual experiments that this deployment | ||
executes. | ||
type: string | ||
pvcDatastore: | ||
description: Name of the Persistent Volume Claim (PVC) to hold | ||
the contents of the Datastore. This PVC must already exist, | ||
it must support mounting the PVC (ReadWrite) in Filesystem mode | ||
(preferably switch on ReadWriteMany access when creating this | ||
PVC). This PVC must already exist. | ||
type: string | ||
pvcInstances: | ||
description: Name of the Persistent Volume Claim (PVC) to store | ||
the virtual experiment instances. This PVC must already exist. | ||
It must also support mounting the PVC in multiple pods (ReadWriteMany) | ||
in Filesystem mode. This PVC must already exist. | ||
type: string | ||
pvcRuntimeService: | ||
description: Name of the PVC to hold metadata about the experiment | ||
catalog of the Consumable Computing REST-API. This PVC must | ||
already exist. | ||
type: string | ||
routeDomain: | ||
description: "Domain to use in the Route object of the ST4SD OAuthProxy | ||
side-car container. Consider using the format: ${clusterHumanReadableUID}.${CLUSTER_INGRESS}. | ||
You can find the ${CLUSTER_INGRESS} of your OpenShift cluster | ||
via \n oc get ingress.v1.config.openshift.io cluster -o=jsonpath='{.spec.domain}'" | ||
type: string | ||
secretDSMongoUserPass: | ||
description: (Optional) Name of Secret that contains the keys | ||
username and password to use for setting up the "admin" account | ||
of the MongoDB instance for the Datastore. The value of the | ||
username field must be "admin". The value of the password should | ||
be a valid MongoDB password. If empty, the operator will auto-generate | ||
the credentials of the MongoDB admin and store them in a new | ||
Kubernetes secret. | ||
type: string | ||
secretS3GraphLibrary: | ||
description: (Optional) Name of Secret that contains the keys | ||
ENDPOINT (required), BUCKET (required), S3_ACCESS_KEY_ID (optional), | ||
S3_SECRET_ACCESS_KEY (optional), S3_REGION (optional). When | ||
set configures the st4sd-runtime-service to switch on its Graph | ||
Library feature which in turn enables users of the st4sd-registry-ui | ||
web-app to use Graph templates that are stored in the Graph | ||
Library when creating workflows in an interactive canvas. The | ||
st4sd-runtime-service will store the Graph templates in the | ||
referenced S3 bucket with the prefix "library/". | ||
type: string | ||
secretS3InternalExperiments: | ||
description: (Optional) Name of Secret that contains the keys | ||
ENDPOINT (required), BUCKET (required), S3_ACCESS_KEY_ID (optional), | ||
S3_SECRET_ACCESS_KEY (optional), S3_REGION (optional). When | ||
set configures the st4sd-runtime-service to switch on its Internal | ||
Experiment feature which in turn enables users of the st4sd-registry-ui | ||
web-app to create workflows in an interactive canvas. The st4sd-runtime-service | ||
will store the DSL 2.0 workflow definitions in the referenced | ||
S3 bucket with the prefix "experiments/". | ||
type: string | ||
type: object | ||
type: object | ||
status: | ||
description: SimulationToolkitStatus defines the observed state of SimulationToolkit | ||
properties: | ||
conditions: | ||
items: | ||
properties: | ||
lastTransitionTime: | ||
description: The last time the condition transitioned from one | ||
status to another. | ||
format: date-time | ||
type: string | ||
lastUpdateTime: | ||
description: The last time this condition was updated. | ||
format: date-time | ||
type: string | ||
message: | ||
description: A human readable message indicating details about | ||
the transition. | ||
type: string | ||
reason: | ||
description: The reason for the condition’s last transition. | ||
type: string | ||
status: | ||
description: Status of the condition, one of Paused, Updating, | ||
Failed, Successful, Unknown | ||
type: string | ||
versionID: | ||
description: VersionID consists of the a / separated array of | ||
strings. The strings are (in this order) st4sd-olm (this operator) | ||
version, Helm Chart (in st4sd-deployment) version, ST4SD-Cloud | ||
version (library version in helm chart). | ||
type: string | ||
versionST4SDCloud: | ||
description: The version of ST4SD-Cloud (i.e. the library version | ||
in the st4sd-deployment helm-chart) | ||
type: string | ||
type: object | ||
type: array | ||
phase: | ||
description: Status of the condition, one of Paused, Updating, Failed, | ||
Successful, Unknown or empty (i.e. Unknown) | ||
type: string | ||
versionID: | ||
description: VersionID consists of the a / separated array of strings. | ||
The strings are (in this order) st4sd-olm (this operator) version, | ||
Helm Chart (in st4sd-deployment) version, ST4SD-Cloud version (library | ||
version in helm chart). | ||
type: string | ||
versionST4SDCloud: | ||
description: The version of ST4SD-Cloud (i.e. the library version | ||
in the st4sd-deployment helm-chart) | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
490 changes: 490 additions & 0 deletions
490
bundles/v0.0.18/manifests/st4sd-olm.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
annotations: | ||
# Core bundle annotations. | ||
operators.operatorframework.io.bundle.mediatype.v1: registry+v1 | ||
operators.operatorframework.io.bundle.manifests.v1: manifests/ | ||
operators.operatorframework.io.bundle.metadata.v1: metadata/ | ||
operators.operatorframework.io.bundle.package.v1: st4sd-olm | ||
operators.operatorframework.io.bundle.channels.v1: alpha | ||
operators.operatorframework.io.metrics.builder: operator-sdk-v1.26.0 | ||
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 | ||
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3 |
Oops, something went wrong.