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: "" 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

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 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

View file

@ -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