forked from hyperledger/fabric-samples
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate namespace for each organization (hyperledger#817)
* seperate namespace for each organization Signed-off-by: Basil K Y <[email protected]> * rest server working Signed-off-by: Basil K Y <[email protected]> * use single namespace by default, fix k8s buider Signed-off-by: Basil K Y <[email protected]> * added ci test for testing k8s n/w on multiple namespaces Signed-off-by: Basil K Y <[email protected]> * fix: access rest server via gateway Signed-off-by: Basil K Y <[email protected]> Signed-off-by: Basil K Y <[email protected]>
- Loading branch information
Showing
26 changed files
with
239 additions
and
158 deletions.
There are no files selected for viewing
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
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
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
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
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
32 changes: 32 additions & 0 deletions
32
test-network-k8s/kube/org0/org0-job-scrub-fabric-volumes.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,32 @@ | ||
# | ||
# 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-org0-volume | ||
mountPath: /mnt/fabric-org0 | ||
volumes: | ||
- name: fabric-org0-volume | ||
persistentVolumeClaim: | ||
claimName: fabric-org0 |
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
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
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
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
32 changes: 32 additions & 0 deletions
32
test-network-k8s/kube/org1/org1-job-scrub-fabric-volumes.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,32 @@ | ||
# | ||
# 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-org1-volume | ||
mountPath: /mnt/fabric-org1 | ||
volumes: | ||
- name: fabric-org1-volume | ||
persistentVolumeClaim: | ||
claimName: fabric-org1 |
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
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
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
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
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
Oops, something went wrong.