mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
* seperate namespace for each organization Signed-off-by: Basil K Y <techiebasil@gmail.com> * rest server working Signed-off-by: Basil K Y <techiebasil@gmail.com> * use single namespace by default, fix k8s buider Signed-off-by: Basil K Y <techiebasil@gmail.com> * added ci test for testing k8s n/w on multiple namespaces Signed-off-by: Basil K Y <techiebasil@gmail.com> * fix: access rest server via gateway Signed-off-by: Basil K Y <techiebasil@gmail.com> Signed-off-by: Basil K Y <techiebasil@gmail.com>
33 lines
696 B
YAML
33 lines
696 B
YAML
#
|
|
# Copyright IBM Corp. All Rights Reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
---
|
|
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: job-scrub-fabric-volumes
|
|
spec:
|
|
backoffLimit: 0
|
|
completions: 1
|
|
template:
|
|
metadata:
|
|
name: job-scrub-fabric-volumes
|
|
spec:
|
|
restartPolicy: "Never"
|
|
containers:
|
|
- name: main
|
|
image: busybox:latest
|
|
command:
|
|
- sh
|
|
- -c
|
|
- "rm -rvf /mnt/fabric-*/*"
|
|
volumeMounts:
|
|
- name: fabric-org2-volume
|
|
mountPath: /mnt/fabric-org2
|
|
volumes:
|
|
- name: fabric-org2-volume
|
|
persistentVolumeClaim:
|
|
claimName: fabric-org2
|
|
|