Skip to content

Commit a0b1f44

Browse files
committed
Experimentally add back sidecar
1 parent f3a3e56 commit a0b1f44

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

deploy/tasks/buildah-oci-ta.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ spec:
489489
BUILDAH_ARGS+=("--secret=id=${ADDITIONAL_SECRET}/${filename},src=$ADDITIONAL_SECRET_TMP/${filename}")
490490
done < <(find $ADDITIONAL_SECRET_TMP -maxdepth 1 -type f -exec basename {} \;)
491491
fi
492-
492+
493493
if [ -f "$ca_bundle" ]; then
494494
cp -r --preserve=mode /mnt/trusted-ca /tmp/trusted-ca
495495
VOLUME_MOUNTS+=(--volume /tmp/trusted-ca:/etc/pki/ca-trust/source/anchors)
@@ -723,3 +723,24 @@ spec:
723723
requests:
724724
cpu: 100m
725725
memory: 256Mi
726+
sidecars:
727+
- name: indy-generic-proxy
728+
image: quay.io/factory2/indy-generic-proxy-service:latest-stage-mpplus
729+
volumeMounts:
730+
- name: indy-generic-proxy-stage-secrets
731+
readOnly: true
732+
mountPath: /mnt/secrets-generic-proxy
733+
- name: indy-generic-proxy-stage-config
734+
readOnly: true
735+
mountPath: /deployment/config
736+
computeResources:
737+
limits:
738+
cpu: 1
739+
memory: 2Gi
740+
requests:
741+
cpu: 200m
742+
memory: 512Mi
743+
script: |
744+
if [ "$(params.ENABLE_INDY_PROXY)" == "true" ]; then
745+
/usr/local/bin/dumb-init /deployment/start-service.sh
746+
fi

0 commit comments

Comments
 (0)