mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-25 11:05:10 +00:00
Updates to run the workshop on the Apple M1
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
parent
111c75b2b2
commit
8af0ed1b96
3 changed files with 13 additions and 13 deletions
|
|
@ -49,26 +49,26 @@ spec:
|
||||||
productChargedContainers: ""
|
productChargedContainers: ""
|
||||||
productMetric: "VIRTUAL_PROCESSOR_CORE"
|
productMetric: "VIRTUAL_PROCESSOR_CORE"
|
||||||
spec:
|
spec:
|
||||||
|
serviceAccountName: fabric-operator
|
||||||
# hostIPC: false
|
# hostIPC: false
|
||||||
# hostNetwork: false
|
# hostNetwork: false
|
||||||
# hostPID: false
|
# hostPID: false
|
||||||
serviceAccountName: fabric-operator
|
# affinity:
|
||||||
affinity:
|
# nodeAffinity:
|
||||||
nodeAffinity:
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
# nodeSelectorTerms:
|
||||||
nodeSelectorTerms:
|
# - matchExpressions:
|
||||||
- matchExpressions:
|
# - key: kubernetes.io/arch
|
||||||
- key: kubernetes.io/arch
|
# operator: In
|
||||||
operator: In
|
# values:
|
||||||
values:
|
# - amd64
|
||||||
- amd64
|
|
||||||
# securityContext:
|
# securityContext:
|
||||||
# runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
# runAsUser: 1001
|
# runAsUser: 1001
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: ghcr-pull-secret
|
- name: image-pull-secret
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: fabric-operator
|
- name: fabric-operator
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ context CONTAINER_CLI docker # or nerdctl for contain
|
||||||
context CONTAINER_NAMESPACE "" # or "--namespace k8s.io" for containerd / nerdctl
|
context CONTAINER_NAMESPACE "" # or "--namespace k8s.io" for containerd / nerdctl
|
||||||
context STORAGE_CLASS standard
|
context STORAGE_CLASS standard
|
||||||
context KUSTOMIZE_BUILD "kubectl kustomize"
|
context KUSTOMIZE_BUILD "kubectl kustomize"
|
||||||
context STAGE_DOCKER_IMAGES true
|
context STAGE_DOCKER_IMAGES false
|
||||||
context FABRIC_CONTAINER_REGISTRY hyperledger
|
context FABRIC_CONTAINER_REGISTRY hyperledger
|
||||||
|
|
||||||
context NAME test-network
|
context NAME test-network
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ function launch_network_CAs() {
|
||||||
apply_kustomization config/cas
|
apply_kustomization config/cas
|
||||||
|
|
||||||
# give the operator a chance to run the first reconciliation on the new resource
|
# give the operator a chance to run the first reconciliation on the new resource
|
||||||
sleep 1
|
sleep 10
|
||||||
|
|
||||||
wait_for ibpca org0-ca
|
wait_for ibpca org0-ca
|
||||||
wait_for ibpca org1-ca
|
wait_for ibpca org1-ca
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue