Skip to content

CR-15471-insecure-git-providers #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,34 @@ spec:
app: cap-app-proxy
spec:
serviceAccountName: cap-app-proxy
initContainers:
- name: init-certs
image: alpine:3.16
imagePullPolicy: Always
command:
- sh
- -c
- |
/bin/sh <<'EOF'
if [ $(ls /app/config/tls) ]; then
echo "concatenating certs into /app/config/all/all.cer"
cat /app/config/tls/* >> /app/config/all/all.cer
else
echo "no certs to concatenate"
fi
EOF
volumeMounts:
- mountPath: /app/config/tls
name: tls-certs
- mountPath: /app/config/all
name: all-certs
resources:
limits:
memory: 512Mi
cpu: '1'
requests:
memory: 256Mi
cpu: '0.2'
containers:
- env:
- name: ARGO_CD_URL
Expand Down Expand Up @@ -120,6 +148,8 @@ spec:
name: cap-app-proxy-cm
key: stripPrefix
optional: true
- name: NODE_EXTRA_CA_CERTS
value: /app/config/all/all.cer
image: quay.io/codefresh/cap-app-proxy
imagePullPolicy: Always
name: cap-app-proxy
Expand All @@ -141,12 +171,22 @@ spec:
containerPort: 80
resources:
requests:
memory: "512Mi"
ephemeral-storage: "2Gi"
cpu: "100m"
memory: '512Mi'
ephemeral-storage: '2Gi'
cpu: '100m'
limits:
memory: "1Gi"
ephemeral-storage: "6Gi"
cpu: "1500m"
memory: '1Gi'
ephemeral-storage: '6Gi'
cpu: '1500m'
securityContext:
allowPrivilegeEscalation: false
volumeMounts:
- mountPath: /app/config/all
name: all-certs
volumes:
- name: all-certs
emptyDir: {}
- configMap:
defaultMode: 420
name: argocd-tls-certs-cm
name: tls-certs