Updates to run the workshop on the Apple M1

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
Josh Kneubuhl 2022-11-09 16:06:44 -05:00
parent 111c75b2b2
commit 8af0ed1b96
3 changed files with 13 additions and 13 deletions

View file

@ -49,26 +49,26 @@ spec:
productChargedContainers: ""
productMetric: "VIRTUAL_PROCESSOR_CORE"
spec:
serviceAccountName: fabric-operator
# hostIPC: false
# hostNetwork: false
# hostPID: false
serviceAccountName: fabric-operator
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- amd64
# affinity:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: kubernetes.io/arch
# operator: In
# values:
# - amd64
# securityContext:
# runAsNonRoot: true
# runAsUser: 1001
# fsGroup: 2000
imagePullSecrets:
- name: ghcr-pull-secret
- name: image-pull-secret
containers:
- name: fabric-operator

View file

@ -41,7 +41,7 @@ context CONTAINER_CLI docker # or nerdctl for contain
context CONTAINER_NAMESPACE "" # or "--namespace k8s.io" for containerd / nerdctl
context STORAGE_CLASS standard
context KUSTOMIZE_BUILD "kubectl kustomize"
context STAGE_DOCKER_IMAGES true
context STAGE_DOCKER_IMAGES false
context FABRIC_CONTAINER_REGISTRY hyperledger
context NAME test-network

View file

@ -90,7 +90,7 @@ function launch_network_CAs() {
apply_kustomization config/cas
# 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 org1-ca