From 7b41a6fe34b76ff18d2ad3ceebac0bba7ef56fd9 Mon Sep 17 00:00:00 2001 From: Ryan Birmingham Date: Fri, 17 Sep 2021 15:52:12 -0400 Subject: [PATCH 1/3] add youtube-nocookie for embed video --- config/contentSecurityPolicy.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/contentSecurityPolicy.json b/config/contentSecurityPolicy.json index e6d5a4e..9849750 100644 --- a/config/contentSecurityPolicy.json +++ b/config/contentSecurityPolicy.json @@ -45,6 +45,7 @@ ], "frameSrc": [ "'self'", - "accounts.google.com" + "accounts.google.com", + "www.youtube-nocookie.com" ] } From ef5a814378a491e51eb7c4fee276eea61cdfb977 Mon Sep 17 00:00:00 2001 From: Ryan Birmingham Date: Thu, 21 Oct 2021 10:17:10 -0400 Subject: [PATCH 2/3] add openshift config from @tkurk --- openshift/build_config/quip-back-img.yaml | 39 ++ .../build_config/quip-featuredb-img.yaml | 38 ++ .../build_config/quip-heatmaploader-img.yaml | 38 ++ openshift/build_config/quip-iip-img.yaml | 37 ++ .../build_config/quip-imageloader-img.yaml | 38 ++ openshift/build_config/quip-pathdb-img.yaml | 38 ++ .../build_config/quip-segloader-img.yaml | 38 ++ openshift/deployment/back-deployment.yaml | 52 ++ openshift/deployment/back-service.yaml | 19 + .../data-persistentvolumeclaim.yaml | 14 + .../deployment/db-persistentvolumeclaim.yaml | 14 + .../deployment/heatmaploader-deployment.yaml | 46 ++ openshift/deployment/iip-deployment.yaml | 42 ++ openshift/deployment/iip-service.yaml | 25 + .../deployment/imageloader-deployment.yaml | 41 ++ .../keys-persistentvolumeclaim.yaml | 14 + openshift/deployment/mongo-deployment.yaml | 41 ++ openshift/deployment/mongo-service.yaml | 19 + openshift/deployment/pathdb-deployment.yaml | 44 ++ openshift/deployment/pathdb-service.yaml | 25 + .../deployment/segloader-deployment.yaml | 39 ++ openshift/old/back-deployment.yaml | 52 ++ openshift/old/openshift.yaml | 583 +++++++++++++++++ openshift/old/openshift.yaml.ORIG | 597 ++++++++++++++++++ .../back-claim0-persistentvolumeclaim.yaml | 14 + openshift/old/openshift1/back-deployment.yaml | 53 ++ openshift/old/openshift1/back-service.yaml | 19 + .../data-persistentvolumeclaim.yaml | 14 + .../openshift1/db-persistentvolumeclaim.yaml | 14 + .../openshift1/heatmaploader-deployment.yaml | 47 ++ openshift/old/openshift1/iip-deployment.yaml | 40 ++ .../openshift1/imageloader-deployment.yaml | 40 ++ .../images-persistentvolumeclaim.yaml | 14 + .../old/openshift1/mongo-deployment.yaml | 42 ++ .../my_quip_network-networkpolicy.yaml | 14 + .../old/openshift1/pathdb-deployment.yaml | 45 ++ openshift/old/openshift1/pathdb-service.yaml | 25 + .../old/openshift1/segloader-deployment.yaml | 42 ++ openshift/old/openshift2/back-deployment.yaml | 54 ++ openshift/old/openshift2/back-service.yaml | 19 + .../data-persistentvolumeclaim.yaml | 14 + .../openshift2/db-persistentvolumeclaim.yaml | 14 + .../openshift2/heatmaploader-deployment.yaml | 46 ++ openshift/old/openshift2/iip-deployment.yaml | 44 ++ openshift/old/openshift2/iip-service.yaml | 25 + .../openshift2/imageloader-deployment.yaml | 41 ++ .../keys-persistentvolumeclaim.yaml | 14 + .../old/openshift2/mongo-deployment.yaml | 43 ++ openshift/old/openshift2/mongo-service.yaml | 19 + .../old/openshift2/pathdb-deployment.yaml | 46 ++ openshift/old/openshift2/pathdb-service.yaml | 22 + .../old/openshift2/segloader-deployment.yaml | 41 ++ openshift/old/quip-pathdb.yml.TEST | 71 +++ openshift/old/test-build.yaml | 35 + openshift/old/test-imagestream.yaml | 8 + 55 files changed, 2912 insertions(+) create mode 100644 openshift/build_config/quip-back-img.yaml create mode 100644 openshift/build_config/quip-featuredb-img.yaml create mode 100644 openshift/build_config/quip-heatmaploader-img.yaml create mode 100644 openshift/build_config/quip-iip-img.yaml create mode 100644 openshift/build_config/quip-imageloader-img.yaml create mode 100644 openshift/build_config/quip-pathdb-img.yaml create mode 100644 openshift/build_config/quip-segloader-img.yaml create mode 100644 openshift/deployment/back-deployment.yaml create mode 100644 openshift/deployment/back-service.yaml create mode 100644 openshift/deployment/data-persistentvolumeclaim.yaml create mode 100644 openshift/deployment/db-persistentvolumeclaim.yaml create mode 100644 openshift/deployment/heatmaploader-deployment.yaml create mode 100644 openshift/deployment/iip-deployment.yaml create mode 100644 openshift/deployment/iip-service.yaml create mode 100644 openshift/deployment/imageloader-deployment.yaml create mode 100644 openshift/deployment/keys-persistentvolumeclaim.yaml create mode 100644 openshift/deployment/mongo-deployment.yaml create mode 100644 openshift/deployment/mongo-service.yaml create mode 100644 openshift/deployment/pathdb-deployment.yaml create mode 100644 openshift/deployment/pathdb-service.yaml create mode 100644 openshift/deployment/segloader-deployment.yaml create mode 100644 openshift/old/back-deployment.yaml create mode 100644 openshift/old/openshift.yaml create mode 100644 openshift/old/openshift.yaml.ORIG create mode 100644 openshift/old/openshift1/back-claim0-persistentvolumeclaim.yaml create mode 100644 openshift/old/openshift1/back-deployment.yaml create mode 100644 openshift/old/openshift1/back-service.yaml create mode 100644 openshift/old/openshift1/data-persistentvolumeclaim.yaml create mode 100644 openshift/old/openshift1/db-persistentvolumeclaim.yaml create mode 100644 openshift/old/openshift1/heatmaploader-deployment.yaml create mode 100644 openshift/old/openshift1/iip-deployment.yaml create mode 100644 openshift/old/openshift1/imageloader-deployment.yaml create mode 100644 openshift/old/openshift1/images-persistentvolumeclaim.yaml create mode 100644 openshift/old/openshift1/mongo-deployment.yaml create mode 100644 openshift/old/openshift1/my_quip_network-networkpolicy.yaml create mode 100644 openshift/old/openshift1/pathdb-deployment.yaml create mode 100644 openshift/old/openshift1/pathdb-service.yaml create mode 100644 openshift/old/openshift1/segloader-deployment.yaml create mode 100644 openshift/old/openshift2/back-deployment.yaml create mode 100644 openshift/old/openshift2/back-service.yaml create mode 100644 openshift/old/openshift2/data-persistentvolumeclaim.yaml create mode 100644 openshift/old/openshift2/db-persistentvolumeclaim.yaml create mode 100644 openshift/old/openshift2/heatmaploader-deployment.yaml create mode 100644 openshift/old/openshift2/iip-deployment.yaml create mode 100644 openshift/old/openshift2/iip-service.yaml create mode 100644 openshift/old/openshift2/imageloader-deployment.yaml create mode 100644 openshift/old/openshift2/keys-persistentvolumeclaim.yaml create mode 100644 openshift/old/openshift2/mongo-deployment.yaml create mode 100644 openshift/old/openshift2/mongo-service.yaml create mode 100644 openshift/old/openshift2/pathdb-deployment.yaml create mode 100644 openshift/old/openshift2/pathdb-service.yaml create mode 100644 openshift/old/openshift2/segloader-deployment.yaml create mode 100644 openshift/old/quip-pathdb.yml.TEST create mode 100644 openshift/old/test-build.yaml create mode 100644 openshift/old/test-imagestream.yaml diff --git a/openshift/build_config/quip-back-img.yaml b/openshift/build_config/quip-back-img.yaml new file mode 100644 index 0000000..74e5c49 --- /dev/null +++ b/openshift/build_config/quip-back-img.yaml @@ -0,0 +1,39 @@ +apiVersion: v1 +items: +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-back-img + name: back + spec: + lookupPolicy: + local: false +- apiVersion: build.openshift.io/v1 + kind: BuildConfig + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-back-img + name: back + spec: + nodeSelector: null + output: + to: + kind: ImageStreamTag + name: back:latest + postCommit: {} + resources: {} + source: + git: + ref: prism + uri: https://github.com/SBU-BMI/caracal.git + type: Git + strategy: + dockerStrategy: + type: Docker +kind: List +metadata: {} diff --git a/openshift/build_config/quip-featuredb-img.yaml b/openshift/build_config/quip-featuredb-img.yaml new file mode 100644 index 0000000..f9e80c8 --- /dev/null +++ b/openshift/build_config/quip-featuredb-img.yaml @@ -0,0 +1,38 @@ +apiVersion: v1 +items: +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-featuredb-img + name: featuredb + spec: + lookupPolicy: + local: false +- apiVersion: build.openshift.io/v1 + kind: BuildConfig + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-featuredb-img + name: featuredb + spec: + output: + to: + kind: ImageStreamTag + name: featuredb:latest + postCommit: {} + resources: {} + source: + git: + ref: prism + uri: https://github.com/SBU-BMI/quip_featuredb.git + type: Git + strategy: + dockerStrategy: + type: Docker +kind: List +metadata: {} diff --git a/openshift/build_config/quip-heatmaploader-img.yaml b/openshift/build_config/quip-heatmaploader-img.yaml new file mode 100644 index 0000000..251f460 --- /dev/null +++ b/openshift/build_config/quip-heatmaploader-img.yaml @@ -0,0 +1,38 @@ +apiVersion: v1 +items: +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-heatmaploader-img + name: heatmaploader + spec: + lookupPolicy: + local: false +- apiVersion: build.openshift.io/v1 + kind: BuildConfig + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-heatmaploader-img + name: heatmaploader + spec: + output: + to: + kind: ImageStreamTag + name: heatmaploader:latest + postCommit: {} + resources: {} + source: + git: + ref: prism + uri: https://github.com/SBU-BMI/uploadHeatmaps.git + type: Git + strategy: + dockerStrategy: + type: Docker +kind: List +metadata: {} diff --git a/openshift/build_config/quip-iip-img.yaml b/openshift/build_config/quip-iip-img.yaml new file mode 100644 index 0000000..588e0cf --- /dev/null +++ b/openshift/build_config/quip-iip-img.yaml @@ -0,0 +1,37 @@ +apiVersion: v1 +items: +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-iip-img + name: iip + spec: + lookupPolicy: + local: false +- apiVersion: build.openshift.io/v1 + kind: BuildConfig + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-iip-img + name: iip + spec: + output: + to: + kind: ImageStreamTag + name: iip:latest + postCommit: {} + source: + git: + ref: prism + uri: https://github.com/SBU-BMI/iipImage.git + type: Git + strategy: + dockerStrategy: + type: Docker +kind: List +metadata: {} diff --git a/openshift/build_config/quip-imageloader-img.yaml b/openshift/build_config/quip-imageloader-img.yaml new file mode 100644 index 0000000..2d6da4e --- /dev/null +++ b/openshift/build_config/quip-imageloader-img.yaml @@ -0,0 +1,38 @@ +apiVersion: v1 +items: +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-imageloader-img + name: imageloader + spec: + lookupPolicy: + local: false +- apiVersion: build.openshift.io/v1 + kind: BuildConfig + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-imageloader-img + name: imageloader + spec: + output: + to: + kind: ImageStreamTag + name: imageloader:latest + postCommit: {} + resources: {} + source: + git: + ref: prism + uri: https://github.com/SBU-BMI/ImageLoader.git + type: Git + strategy: + dockerStrategy: + type: Docker +kind: List +metadata: {} diff --git a/openshift/build_config/quip-pathdb-img.yaml b/openshift/build_config/quip-pathdb-img.yaml new file mode 100644 index 0000000..a53adf3 --- /dev/null +++ b/openshift/build_config/quip-pathdb-img.yaml @@ -0,0 +1,38 @@ +apiVersion: v1 +items: +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-pathdb-img + name: pathdb + spec: + lookupPolicy: + local: false +- apiVersion: build.openshift.io/v1 + kind: BuildConfig + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-pathdb-img + name: pathdb + spec: + output: + to: + kind: ImageStreamTag + name: pathdb:latest + postCommit: {} + resources: {} + source: + git: + ref: prism + uri: https://github.com/SBU-BMI/PathDB.git + type: Git + strategy: + dockerStrategy: + type: Docker +kind: List +metadata: {} diff --git a/openshift/build_config/quip-segloader-img.yaml b/openshift/build_config/quip-segloader-img.yaml new file mode 100644 index 0000000..bde21bf --- /dev/null +++ b/openshift/build_config/quip-segloader-img.yaml @@ -0,0 +1,38 @@ +apiVersion: v1 +items: +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-segloader-img + name: segloader + spec: + lookupPolicy: + local: false +- apiVersion: build.openshift.io/v1 + kind: BuildConfig + metadata: + annotations: + openshift.io/generated-by: OpenShiftNewBuild + labels: + build: quip-segloader-img + name: segloader + spec: + output: + to: + kind: ImageStreamTag + name: segloader:latest + postCommit: {} + resources: {} + source: + git: + ref: prism + uri: https://github.com/SBU-BMI/SegmentationLoader.git + type: Git + strategy: + dockerStrategy: + type: Docker +kind: List +metadata: {} diff --git a/openshift/deployment/back-deployment.yaml b/openshift/deployment/back-deployment.yaml new file mode 100644 index 0000000..ec96ba4 --- /dev/null +++ b/openshift/deployment/back-deployment.yaml @@ -0,0 +1,52 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: back + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + spec: + containers: + - env: + - name: DEFAULT_USER_TYPE + value: Editor + - name: DISABLE_SEC + value: "true" + - name: IIP_PATH + value: http://ca-iip:8080/fcgi-bin/iipsrv.fcgi + - name: JWK_URL + value: https://www.googleapis.com/oauth2/v3/certs + - name: MONGO_URI + value: mongodb://ca-mongo + image: back:latest + imagePullPolicy: "" + name: ca-security + ports: + - containerPort: 4010 + resources: {} + volumeMounts: + - mountPath: /root/src/keys/ + name: keys + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: keys + persistentVolumeClaim: + claimName: keys +status: {} diff --git a/openshift/deployment/back-service.yaml b/openshift/deployment/back-service.yaml new file mode 100644 index 0000000..6c861b5 --- /dev/null +++ b/openshift/deployment/back-service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: ca-security +spec: + ports: + - name: "4010" + port: 4010 + targetPort: 4010 + selector: + io.kompose.service: back +status: + loadBalancer: {} diff --git a/openshift/deployment/data-persistentvolumeclaim.yaml b/openshift/deployment/data-persistentvolumeclaim.yaml new file mode 100644 index 0000000..8ae7cd3 --- /dev/null +++ b/openshift/deployment/data-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi +status: {} diff --git a/openshift/deployment/db-persistentvolumeclaim.yaml b/openshift/deployment/db-persistentvolumeclaim.yaml new file mode 100644 index 0000000..63901b3 --- /dev/null +++ b/openshift/deployment/db-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: db + name: db +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi +status: {} diff --git a/openshift/deployment/heatmaploader-deployment.yaml b/openshift/deployment/heatmaploader-deployment.yaml new file mode 100644 index 0000000..a9a2648 --- /dev/null +++ b/openshift/deployment/heatmaploader-deployment.yaml @@ -0,0 +1,46 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: heatmaploader + name: heatmaploader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: heatmaploader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: heatmaploader + spec: + containers: + - env: + - name: DEBIAN_FRONTEND + value: noninteractive + - name: TZ + value: America/New_York + image: heatmaploader:last + imagePullPolicy: "" + name: quip-hmloader + resources: {} + volumeMounts: + - mountPath: /mnt/data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/deployment/iip-deployment.yaml b/openshift/deployment/iip-deployment.yaml new file mode 100644 index 0000000..faaad80 --- /dev/null +++ b/openshift/deployment/iip-deployment.yaml @@ -0,0 +1,42 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + name: iip +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: iip + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + spec: + containers: + - image: iip:latest + imagePullPolicy: "" + name: ca-iip + ports: + - containerPort: 8080 + - containerPort: 8443 + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/deployment/iip-service.yaml b/openshift/deployment/iip-service.yaml new file mode 100644 index 0000000..ab18d8a --- /dev/null +++ b/openshift/deployment/iip-service.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + name: ca-iip +spec: + ports: + - name: "80" + port: 80 + targetPort: 8080 + - name: "8080" + port: 8080 + targetPort: 8080 + - name: "443" + port: 443 + targetPort: 8443 + selector: + io.kompose.service: iip +status: + loadBalancer: {} diff --git a/openshift/deployment/imageloader-deployment.yaml b/openshift/deployment/imageloader-deployment.yaml new file mode 100644 index 0000000..97bb702 --- /dev/null +++ b/openshift/deployment/imageloader-deployment.yaml @@ -0,0 +1,41 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: imageloader + name: imageloader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: imageloader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: imageloader + spec: + containers: + - image: imageloader:latest + imagePullPolicy: "" + name: quip-imageloader + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/deployment/keys-persistentvolumeclaim.yaml b/openshift/deployment/keys-persistentvolumeclaim.yaml new file mode 100644 index 0000000..0a7a511 --- /dev/null +++ b/openshift/deployment/keys-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: keys + name: keys +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi +status: {} diff --git a/openshift/deployment/mongo-deployment.yaml b/openshift/deployment/mongo-deployment.yaml new file mode 100644 index 0000000..178f908 --- /dev/null +++ b/openshift/deployment/mongo-deployment.yaml @@ -0,0 +1,41 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: mongo +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mongo + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: featuredb + spec: + containers: + - image: featuredb:latest + imagePullPolicy: "" + name: ca-mongo + ports: + - containerPort: 27017 + resources: {} + volumeMounts: + - mountPath: /mongodb/db + name: db + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: db + persistentVolumeClaim: + claimName: db +status: {} diff --git a/openshift/deployment/mongo-service.yaml b/openshift/deployment/mongo-service.yaml new file mode 100644 index 0000000..c86760a --- /dev/null +++ b/openshift/deployment/mongo-service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: ca-mongo +spec: + ports: + - name: "27017" + port: 27017 + targetPort: 27017 + selector: + io.kompose.service: mongo +status: + loadBalancer: {} diff --git a/openshift/deployment/pathdb-deployment.yaml b/openshift/deployment/pathdb-deployment.yaml new file mode 100644 index 0000000..72ca83a --- /dev/null +++ b/openshift/deployment/pathdb-deployment.yaml @@ -0,0 +1,44 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + name: pathdb +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: pathdb + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + spec: + containers: + - args: + - /config/pathdb_pre.sh + image: pathdb:latest + imagePullPolicy: "" + name: quip-pathdb + ports: + - containerPort: 8443 + - containerPort: 8080 + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/deployment/pathdb-service.yaml b/openshift/deployment/pathdb-service.yaml new file mode 100644 index 0000000..1c18f13 --- /dev/null +++ b/openshift/deployment/pathdb-service.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + name: quip-pathdb +spec: + ports: + - name: "443" + port: 443 + targetPort: 8443 + - name: "80" + port: 80 + targetPort: 8080 + - name: "8080" + port: 8080 + targetPort: 8080 + selector: + io.kompose.service: pathdb +status: + loadBalancer: {} diff --git a/openshift/deployment/segloader-deployment.yaml b/openshift/deployment/segloader-deployment.yaml new file mode 100644 index 0000000..76d0cb4 --- /dev/null +++ b/openshift/deployment/segloader-deployment.yaml @@ -0,0 +1,39 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: segloader + name: segloader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: segloader + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: segloader + spec: + containers: + - image: segloader:latest + imagePullPolicy: "" + name: quip-segloader + resources: {} + volumeMounts: + - mountPath: /data + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/back-deployment.yaml b/openshift/old/back-deployment.yaml new file mode 100644 index 0000000..367c20c --- /dev/null +++ b/openshift/old/back-deployment.yaml @@ -0,0 +1,52 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: back + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + spec: + containers: + - env: + - name: DEFAULT_USER_TYPE + value: Editor + - name: DISABLE_SEC + value: "true" + - name: IIP_PATH + value: http://ca-iip:8080/fcgi-bin/iipsrv.fcgi + - name: JWK_URL + value: https://www.googleapis.com/oauth2/v3/certs + - name: MONGO_URI + value: mongodb://ca-mongo + image: docker-registry.default.svc:5000/build-test/back:latest + imagePullPolicy: "" + name: ca-security + ports: + - containerPort: 4010 + resources: {} + volumeMounts: + - mountPath: /root/src/keys/ + name: keys + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: keys + persistentVolumeClaim: + claimName: keys +status: {} diff --git a/openshift/old/openshift.yaml b/openshift/old/openshift.yaml new file mode 100644 index 0000000..504cf56 --- /dev/null +++ b/openshift/old/openshift.yaml @@ -0,0 +1,583 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Service + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back + spec: + ports: + - name: "4010" + port: 4010 + targetPort: 4010 + selector: + io.kompose.service: back + status: + loadBalancer: {} +- apiVersion: v1 + kind: Service + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + name: pathdb + spec: + ports: + - name: "443" + port: 443 + targetPort: 8443 + - name: "80" + port: 80 + targetPort: 8080 + selector: + io.kompose.service: pathdb + status: + loadBalancer: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: back + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: back + spec: + containers: + - env: + - name: DEFAULT_USER_TYPE + value: Editor + - name: DISABLE_SEC + value: "true" + - name: IIP_PATH + value: http://ca-iip:8080/fcgi-bin/iipsrv.fcgi + - name: JWK_URL + value: https://www.googleapis.com/oauth2/v3/certs + - name: MONGO_URI + value: mongodb://ca-mongo + image: back + imagePullPolicy: "" + name: ca-security + ports: + - containerPort: 4010 + resources: {} + volumeMounts: + - mountPath: /root/src/keys/ + name: back-claim0 + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: back-claim0 + persistentVolumeClaim: + claimName: back-claim0 + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: back-claim0 + name: back-claim0 + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: heatmaploader + name: heatmaploader + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: heatmaploader + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: heatmaploader + spec: + containers: + - env: + - name: DEBIAN_FRONTEND + value: noninteractive + - name: TZ + value: America/New_York + image: heatmaploader + imagePullPolicy: "" + name: quip-hmloader + resources: {} + volumeMounts: + - mountPath: /mnt/data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + name: iip + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: iip + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: iip + spec: + containers: + - image: iip + imagePullPolicy: "" + name: ca-iip + resources: {} + volumeMounts: + - mountPath: /data/images/ + name: images + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: images + persistentVolumeClaim: + claimName: images + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: images + name: images + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: imageloader + name: imageloader + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: imageloader + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: imageloader + spec: + containers: + - image: imageloader + imagePullPolicy: "" + name: quip-imageloader + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + - mountPath: /data/images + name: images + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data + - name: images + persistentVolumeClaim: + claimName: images + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: images + name: images + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: mongo + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mongo + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: mongo + spec: + containers: + - image: mongo + imagePullPolicy: "" + name: ca-mongo + resources: {} + volumeMounts: + - mountPath: /mongodb/db + name: db + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: db + persistentVolumeClaim: + claimName: db + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: db + name: db + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + name: pathdb + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: pathdb + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: pathdb + spec: + containers: + - args: + - /config/pathdb_pre.sh + image: docker-registry.default.svc:5000/my-test/pathdb + imagePullPolicy: "" + name: quip-pathdb + ports: + - containerPort: 8443 + - containerPort: 8080 + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + - mountPath: /data/pathdb/files/wsi + name: images + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data + - name: images + persistentVolumeClaim: + claimName: images + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: images + name: images + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: segloader + name: segloader + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: segloader + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: segloader + spec: + containers: + - image: segloader + imagePullPolicy: "" + name: quip-segloader + resources: {} + volumeMounts: + - mountPath: /data + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +kind: List +metadata: {} + diff --git a/openshift/old/openshift.yaml.ORIG b/openshift/old/openshift.yaml.ORIG new file mode 100644 index 0000000..9b41bce --- /dev/null +++ b/openshift/old/openshift.yaml.ORIG @@ -0,0 +1,597 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Service + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back + spec: + ports: + - name: "4010" + port: 4010 + targetPort: 4010 + selector: + io.kompose.service: back + status: + loadBalancer: {} +- apiVersion: v1 + kind: Service + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + name: pathdb + spec: + ports: + - name: "443" + port: 443 + targetPort: 8443 + - name: "80" + port: 80 + targetPort: 8080 + selector: + io.kompose.service: pathdb + status: + loadBalancer: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: back + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: back + spec: + containers: + - env: + - name: DEFAULT_USER_TYPE + value: Editor + - name: DISABLE_SEC + value: "true" + - name: IIP_PATH + value: http://ca-iip:8080/fcgi-bin/iipsrv.fcgi + - name: JWK_URL + value: https://www.googleapis.com/oauth2/v3/certs + - name: MONGO_URI + value: mongodb://ca-mongo + image: back + imagePullPolicy: "" + name: ca-security + ports: + - containerPort: 4010 + resources: {} + volumeMounts: + - mountPath: /root/src/keys/ + name: back-claim0 + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: back-claim0 + persistentVolumeClaim: + claimName: back-claim0 + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: back-claim0 + name: back-claim0 + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: heatmaploader + name: heatmaploader + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: heatmaploader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: heatmaploader + spec: + containers: + - env: + - name: DEBIAN_FRONTEND + value: noninteractive + - name: TZ + value: America/New_York + image: heatmaploader + imagePullPolicy: "" + name: quip-hmloader + resources: {} + volumeMounts: + - mountPath: /mnt/data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + name: iip + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: iip + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: iip + spec: + containers: + - image: iip + imagePullPolicy: "" + name: ca-iip + resources: {} + volumeMounts: + - mountPath: /data/images/ + name: images + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: images + persistentVolumeClaim: + claimName: images + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: images + name: images + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: imageloader + name: imageloader + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: imageloader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: imageloader + spec: + containers: + - image: imageloader + imagePullPolicy: "" + name: quip-imageloader + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + - mountPath: /data/images + name: images + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data + - name: images + persistentVolumeClaim: + claimName: images + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: images + name: images + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: mongo + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mongo + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: mongo + spec: + containers: + - image: mongo + imagePullPolicy: "" + name: ca-mongo + resources: {} + volumeMounts: + - mountPath: /mongodb/db + name: db + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: db + persistentVolumeClaim: + claimName: db + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: db + name: db + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + name: pathdb + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: pathdb + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: pathdb + spec: + containers: + - args: + - /config/pathdb_pre.sh + image: pathdb + imagePullPolicy: "" + name: quip-pathdb + ports: + - containerPort: 8443 + - containerPort: 8080 + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + - mountPath: /data/pathdb/files/wsi + name: images + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data + - name: images + persistentVolumeClaim: + claimName: images + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: images + name: images + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: segloader + name: segloader + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: segloader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: segloader + spec: + containers: + - image: segloader + imagePullPolicy: "" + name: quip-segloader + resources: {} + volumeMounts: + - mountPath: /data + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: myquipnet + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" +kind: List +metadata: {} + diff --git a/openshift/old/openshift1/back-claim0-persistentvolumeclaim.yaml b/openshift/old/openshift1/back-claim0-persistentvolumeclaim.yaml new file mode 100644 index 0000000..f270c94 --- /dev/null +++ b/openshift/old/openshift1/back-claim0-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: back-claim0 + name: back-claim0 +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/openshift/old/openshift1/back-deployment.yaml b/openshift/old/openshift1/back-deployment.yaml new file mode 100644 index 0000000..e9aa197 --- /dev/null +++ b/openshift/old/openshift1/back-deployment.yaml @@ -0,0 +1,53 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: back + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: back + spec: + containers: + - env: + - name: DEFAULT_USER_TYPE + value: Editor + - name: DISABLE_SEC + value: "true" + - name: IIP_PATH + value: http://ca-iip:8080/fcgi-bin/iipsrv.fcgi + - name: JWK_URL + value: https://www.googleapis.com/oauth2/v3/certs + - name: MONGO_URI + value: mongodb://ca-mongo + image: docker-registry.default.svc:5000/my-test/back + imagePullPolicy: "" + name: ca-security + ports: + - containerPort: 4010 + resources: {} + volumeMounts: + - mountPath: /root/src/keys/ + name: back-claim0 + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: back-claim0 + persistentVolumeClaim: + claimName: back-claim0 +status: {} diff --git a/openshift/old/openshift1/back-service.yaml b/openshift/old/openshift1/back-service.yaml new file mode 100644 index 0000000..68f1826 --- /dev/null +++ b/openshift/old/openshift1/back-service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back +spec: + ports: + - name: "4010" + port: 4010 + targetPort: 4010 + selector: + io.kompose.service: back +status: + loadBalancer: {} diff --git a/openshift/old/openshift1/data-persistentvolumeclaim.yaml b/openshift/old/openshift1/data-persistentvolumeclaim.yaml new file mode 100644 index 0000000..a5ba2a1 --- /dev/null +++ b/openshift/old/openshift1/data-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/openshift/old/openshift1/db-persistentvolumeclaim.yaml b/openshift/old/openshift1/db-persistentvolumeclaim.yaml new file mode 100644 index 0000000..df4780e --- /dev/null +++ b/openshift/old/openshift1/db-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: db + name: db +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/openshift/old/openshift1/heatmaploader-deployment.yaml b/openshift/old/openshift1/heatmaploader-deployment.yaml new file mode 100644 index 0000000..cd0219d --- /dev/null +++ b/openshift/old/openshift1/heatmaploader-deployment.yaml @@ -0,0 +1,47 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: heatmaploader + name: heatmaploader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: heatmaploader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/my_quip_network: "true" + io.kompose.service: heatmaploader + spec: + containers: + - env: + - name: DEBIAN_FRONTEND + value: noninteractive + - name: TZ + value: America/New_York + image: heatmaploader + imagePullPolicy: "" + name: quip-hmloader + resources: {} + volumeMounts: + - mountPath: /mnt/data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift1/iip-deployment.yaml b/openshift/old/openshift1/iip-deployment.yaml new file mode 100644 index 0000000..9683780 --- /dev/null +++ b/openshift/old/openshift1/iip-deployment.yaml @@ -0,0 +1,40 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + name: iip +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: iip + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: iip + spec: + containers: + - image: docker-registry.default.svc:5000/my-test/iip + imagePullPolicy: "" + name: ca-iip + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift1/imageloader-deployment.yaml b/openshift/old/openshift1/imageloader-deployment.yaml new file mode 100644 index 0000000..5ddeedd --- /dev/null +++ b/openshift/old/openshift1/imageloader-deployment.yaml @@ -0,0 +1,40 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: imageloader + name: imageloader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: imageloader + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: imageloader + spec: + containers: + - image: docker-registry.default.svc:5000/my-test/imageloader + imagePullPolicy: "" + name: quip-imageloader + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift1/images-persistentvolumeclaim.yaml b/openshift/old/openshift1/images-persistentvolumeclaim.yaml new file mode 100644 index 0000000..361fa41 --- /dev/null +++ b/openshift/old/openshift1/images-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: images + name: images +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/openshift/old/openshift1/mongo-deployment.yaml b/openshift/old/openshift1/mongo-deployment.yaml new file mode 100644 index 0000000..91c82f7 --- /dev/null +++ b/openshift/old/openshift1/mongo-deployment.yaml @@ -0,0 +1,42 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: mongo +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mongo + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: mongo + spec: + containers: + - image: docker-registry.default.svc:5000/my-test/mongo + imagePullPolicy: "" + name: ca-mongo + resources: {} + volumeMounts: + - mountPath: /mongodb/db + name: db + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: db + persistentVolumeClaim: + claimName: db +status: {} diff --git a/openshift/old/openshift1/my_quip_network-networkpolicy.yaml b/openshift/old/openshift1/my_quip_network-networkpolicy.yaml new file mode 100644 index 0000000..5f530c9 --- /dev/null +++ b/openshift/old/openshift1/my_quip_network-networkpolicy.yaml @@ -0,0 +1,14 @@ +apiVersion: extensions/v1beta1 +kind: NetworkPolicy +metadata: + creationTimestamp: null + name: myquipnet +spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" + podSelector: + matchLabels: + io.kompose.network/myquipnet: "true" diff --git a/openshift/old/openshift1/pathdb-deployment.yaml b/openshift/old/openshift1/pathdb-deployment.yaml new file mode 100644 index 0000000..51b186a --- /dev/null +++ b/openshift/old/openshift1/pathdb-deployment.yaml @@ -0,0 +1,45 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: quip-pathdb + name: pathdb +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: quip-pathdb + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/myquipnet: "true" + io.kompose.service: quip-pathdb + spec: + containers: + - args: + - /config/pathdb_pre.sh + image: docker-registry.default.svc:5000/my-test/pathdb + imagePullPolicy: "" + name: quip-pathdb + ports: + - containerPort: 8443 + - containerPort: 8080 + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift1/pathdb-service.yaml b/openshift/old/openshift1/pathdb-service.yaml new file mode 100644 index 0000000..dc8b418 --- /dev/null +++ b/openshift/old/openshift1/pathdb-service.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: quip-pathdb + name: quip-pathdb +spec: + ports: + - name: "443" + port: 443 + targetPort: 8443 + - name: "80" + port: 80 + targetPort: 8080 + - name: "8080" + port: 8080 + targetPort: 8080 + selector: + io.kompose.service: quip-pathdb +status: + loadBalancer: {} diff --git a/openshift/old/openshift1/segloader-deployment.yaml b/openshift/old/openshift1/segloader-deployment.yaml new file mode 100644 index 0000000..8eeeaae --- /dev/null +++ b/openshift/old/openshift1/segloader-deployment.yaml @@ -0,0 +1,42 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: segloader + name: segloader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: segloader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/my_quip_network: "true" + io.kompose.service: segloader + spec: + containers: + - image: segloader + imagePullPolicy: "" + name: quip-segloader + resources: {} + volumeMounts: + - mountPath: /data + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift2/back-deployment.yaml b/openshift/old/openshift2/back-deployment.yaml new file mode 100644 index 0000000..76e6a74 --- /dev/null +++ b/openshift/old/openshift2/back-deployment.yaml @@ -0,0 +1,54 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: back +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: back + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + spec: + containers: + - env: + - name: DEFAULT_USER_TYPE + value: Editor + - name: DISABLE_SEC + value: "true" + - name: IIP_PATH + value: http://ca-iip:8080/fcgi-bin/iipsrv.fcgi + - name: JWK_URL + value: https://www.googleapis.com/oauth2/v3/certs + - name: MONGO_URI + value: mongodb://ca-mongo + image: docker-registry.default.svc:5000/my-test/back + imagePullPolicy: "" + name: ca-security + ports: + - containerPort: 4010 + resources: {} + volumeMounts: + - mountPath: /root/src/keys/ + name: keys + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: keys + persistentVolumeClaim: + claimName: keys +status: {} diff --git a/openshift/old/openshift2/back-service.yaml b/openshift/old/openshift2/back-service.yaml new file mode 100644 index 0000000..6c861b5 --- /dev/null +++ b/openshift/old/openshift2/back-service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: back + name: ca-security +spec: + ports: + - name: "4010" + port: 4010 + targetPort: 4010 + selector: + io.kompose.service: back +status: + loadBalancer: {} diff --git a/openshift/old/openshift2/data-persistentvolumeclaim.yaml b/openshift/old/openshift2/data-persistentvolumeclaim.yaml new file mode 100644 index 0000000..a5ba2a1 --- /dev/null +++ b/openshift/old/openshift2/data-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: data + name: data +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/openshift/old/openshift2/db-persistentvolumeclaim.yaml b/openshift/old/openshift2/db-persistentvolumeclaim.yaml new file mode 100644 index 0000000..df4780e --- /dev/null +++ b/openshift/old/openshift2/db-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: db + name: db +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/openshift/old/openshift2/heatmaploader-deployment.yaml b/openshift/old/openshift2/heatmaploader-deployment.yaml new file mode 100644 index 0000000..d0e5fdd --- /dev/null +++ b/openshift/old/openshift2/heatmaploader-deployment.yaml @@ -0,0 +1,46 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: heatmaploader + name: heatmaploader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: heatmaploader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: heatmaploader + spec: + containers: + - env: + - name: DEBIAN_FRONTEND + value: noninteractive + - name: TZ + value: America/New_York + image: heatmaploader + imagePullPolicy: "" + name: quip-hmloader + resources: {} + volumeMounts: + - mountPath: /mnt/data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift2/iip-deployment.yaml b/openshift/old/openshift2/iip-deployment.yaml new file mode 100644 index 0000000..7277c2c --- /dev/null +++ b/openshift/old/openshift2/iip-deployment.yaml @@ -0,0 +1,44 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + name: iip +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: iip + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + spec: + containers: + - image: docker-registry.default.svc:5000/my-test/iip + imagePullPolicy: "" + name: ca-iip + ports: + - containerPort: 8080 + - containerPort: 8443 + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift2/iip-service.yaml b/openshift/old/openshift2/iip-service.yaml new file mode 100644 index 0000000..ab18d8a --- /dev/null +++ b/openshift/old/openshift2/iip-service.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: iip + name: ca-iip +spec: + ports: + - name: "80" + port: 80 + targetPort: 8080 + - name: "8080" + port: 8080 + targetPort: 8080 + - name: "443" + port: 443 + targetPort: 8443 + selector: + io.kompose.service: iip +status: + loadBalancer: {} diff --git a/openshift/old/openshift2/imageloader-deployment.yaml b/openshift/old/openshift2/imageloader-deployment.yaml new file mode 100644 index 0000000..ab54e82 --- /dev/null +++ b/openshift/old/openshift2/imageloader-deployment.yaml @@ -0,0 +1,41 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: imageloader + name: imageloader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: imageloader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: imageloader + spec: + containers: + - image: docker-registry.default.svc:5000/my-test/imageloader + imagePullPolicy: "" + name: quip-imageloader + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift2/keys-persistentvolumeclaim.yaml b/openshift/old/openshift2/keys-persistentvolumeclaim.yaml new file mode 100644 index 0000000..675458f --- /dev/null +++ b/openshift/old/openshift2/keys-persistentvolumeclaim.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + creationTimestamp: null + labels: + io.kompose.service: keys + name: keys +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +status: {} diff --git a/openshift/old/openshift2/mongo-deployment.yaml b/openshift/old/openshift2/mongo-deployment.yaml new file mode 100644 index 0000000..69065e6 --- /dev/null +++ b/openshift/old/openshift2/mongo-deployment.yaml @@ -0,0 +1,43 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: mongo +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mongo + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mongo + spec: + containers: + - image: docker-registry.default.svc:5000/my-test/mongo + imagePullPolicy: "" + name: ca-mongo + ports: + - containerPort: 27017 + resources: {} + volumeMounts: + - mountPath: /mongodb/db + name: db + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: db + persistentVolumeClaim: + claimName: db +status: {} diff --git a/openshift/old/openshift2/mongo-service.yaml b/openshift/old/openshift2/mongo-service.yaml new file mode 100644 index 0000000..c86760a --- /dev/null +++ b/openshift/old/openshift2/mongo-service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mongo + name: ca-mongo +spec: + ports: + - name: "27017" + port: 27017 + targetPort: 27017 + selector: + io.kompose.service: mongo +status: + loadBalancer: {} diff --git a/openshift/old/openshift2/pathdb-deployment.yaml b/openshift/old/openshift2/pathdb-deployment.yaml new file mode 100644 index 0000000..172aa9b --- /dev/null +++ b/openshift/old/openshift2/pathdb-deployment.yaml @@ -0,0 +1,46 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + name: pathdb +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: pathdb + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + spec: + containers: + - args: + - /config/pathdb_pre.sh + image: pathdb + imagePullPolicy: "" + name: quip-pathdb + ports: + - containerPort: 8443 + - containerPort: 8080 + resources: {} + volumeMounts: + - mountPath: /data/ + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/openshift2/pathdb-service.yaml b/openshift/old/openshift2/pathdb-service.yaml new file mode 100644 index 0000000..55d93bc --- /dev/null +++ b/openshift/old/openshift2/pathdb-service.yaml @@ -0,0 +1,22 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: pathdb + name: pathdb +spec: + ports: + - name: "443" + port: 443 + targetPort: 8443 + - name: "80" + port: 80 + targetPort: 8080 + selector: + io.kompose.service: pathdb +status: + loadBalancer: {} diff --git a/openshift/old/openshift2/segloader-deployment.yaml b/openshift/old/openshift2/segloader-deployment.yaml new file mode 100644 index 0000000..c9c4e1d --- /dev/null +++ b/openshift/old/openshift2/segloader-deployment.yaml @@ -0,0 +1,41 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: segloader + name: segloader +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: segloader + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f quip-pathdb.yml.PRISM -o openshift2 + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: segloader + spec: + containers: + - image: segloader + imagePullPolicy: "" + name: quip-segloader + resources: {} + volumeMounts: + - mountPath: /data + name: data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: data + persistentVolumeClaim: + claimName: data +status: {} diff --git a/openshift/old/quip-pathdb.yml.TEST b/openshift/old/quip-pathdb.yml.TEST new file mode 100644 index 0000000..df901b6 --- /dev/null +++ b/openshift/old/quip-pathdb.yml.TEST @@ -0,0 +1,71 @@ +version: '3' + +services: + mongo: + image: mongo:3.6.18-xenial + container_name: ca-mongo + restart: unless-stopped + volumes: + - db:/data/db + user: "1001" + logging: + driver: none + idxMongo: + image: mongo:3.6.18-xenial + container_name: ca-idx + links: + - mongo + volumes: + - ./config:/config + user: "1001" + command: + - /config/run_idx.sh + depends_on: + - mongo + iip: + build: "https://github.com/SBU-BMI/iipImage.git#prism" + container_name: ca-iip + restart: unless-stopped + volumes: + - images:/data/images/ + user: "1001" + back: + build: + context: "https://github.com/SBU-BMI/caracal.git#prism" + args: + viewer: "v3.7.7" + depends_on: + - "mongo" + ports: + - "4010:4010" + container_name: ca-security + volumes: + - ./keys/:/root/src/keys/ + user: "1001" + environment: + JWK_URL: "https://www.googleapis.com/oauth2/v3/certs" + IIP_PATH: "http://ca-iip/fcgi-bin/iipsrv.fcgi" + MONGO_URI: "mongodb://ca-mongo" + DEFAULT_USER_TYPE: "Editor" + DISABLE_SEC: "true" + pathdb: + build: + context: "https://github.com/SBU-BMI/PathDB.git#prism" + args: + viewer: "v3.7.7" + container_name: quip-pathdb + restart: unless-stopped + ports: ["443:8443","80:8080"] + volumes: + - data:/data/ + - images:/data/pathdb/files/wsi + user: "1001" + command: + - /config/pathdb_pre.sh +volumes: + db: + external: true + images: + external: true + data: + external: true diff --git a/openshift/old/test-build.yaml b/openshift/old/test-build.yaml new file mode 100644 index 0000000..4687441 --- /dev/null +++ b/openshift/old/test-build.yaml @@ -0,0 +1,35 @@ +apiVersion: v1 +kind: List +metadata: {} +items: +- apiVersion: build.openshift.io/v1 + kind: BuildConfig + metadata: + labels: + build: caracal + name: caracal + namespace: build-test + spec: + output: + to: + kind: ImageStreamTag + name: 'back:latest' + postCommit: {} + resources: {} + runPolicy: Serial + source: + git: + ref: prism + uri: 'https://github.com/SBU-BMI/caracal.git' + type: Git + strategy: + dockerStrategy: + type: Docker +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + name: back + namespace: build-test + spec: + lookupPolicy: + local: false diff --git a/openshift/old/test-imagestream.yaml b/openshift/old/test-imagestream.yaml new file mode 100644 index 0000000..7759bc5 --- /dev/null +++ b/openshift/old/test-imagestream.yaml @@ -0,0 +1,8 @@ +apiVersion: image.openshift.io/v1 +kind: ImageStream +metadata: + name: back + namespace: build-test +spec: + lookupPolicy: + local: false From 8787f14b72ff2c587007e39a912a5c6448cbc5b3 Mon Sep 17 00:00:00 2001 From: Ryan Birmingham Date: Thu, 21 Oct 2021 12:42:12 -0400 Subject: [PATCH 3/3] 3.9.8 tags --- caMicroscope.yml | 6 +++--- quip-pathdb.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/caMicroscope.yml b/caMicroscope.yml index a7cc298..e30e157 100644 --- a/caMicroscope.yml +++ b/caMicroscope.yml @@ -27,9 +27,9 @@ services: - mongo back: build: - context: "https://github.com/camicroscope/caracal.git#v3.9.7" + context: "https://github.com/camicroscope/caracal.git#v3.9.8" args: - viewer: "v3.9.6" + viewer: "v3.9.8" depends_on: - "mongo" ports: @@ -61,7 +61,7 @@ services: volumes: - ./images/:/images/ loader: - build: "https://github.com/camicroscope/SlideLoader.git#v3.9.4" + build: "https://github.com/camicroscope/SlideLoader.git#v3.9.8" container_name: ca-load restart: always logging: diff --git a/quip-pathdb.yml b/quip-pathdb.yml index 6b0f804..28b736f 100644 --- a/quip-pathdb.yml +++ b/quip-pathdb.yml @@ -26,9 +26,9 @@ services: - ./images/:/data/images/ back: build: - context: "https://github.com/camicroscope/caracal.git#v3.9.7" + context: "https://github.com/camicroscope/caracal.git#v3.9.8" args: - viewer: "v3.9.6" + viewer: "v3.9.8" depends_on: - "mongo" ports: @@ -48,7 +48,7 @@ services: build: context: "https://github.com/SBU-BMI/PathDB.git#1.7.0" args: - viewer: "v3.9.6" + viewer: "v3.9.8" container_name: quip-pathdb restart: unless-stopped ports: ["443:443","80:80"]