Skip to content

Commit

Permalink
support git-sync proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Sep 11, 2020
1 parent 214b40e commit ba2f345
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/opsgenie-marid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v2.15.0"
description: A Helm chart for Kubernetes
name: opsgenie-marid
version: 0.1.7
version: 0.2.0
icon: https://wac-cdn.atlassian.com/dam/jcr:8dbf0e36-5b84-4205-8dcb-3f7e94240ae7/[email protected]?cdnVersion=565
home: https://docs.opsgenie.com/docs/marid-integration-server-for-opsgenie
keywords:
Expand Down
6 changes: 6 additions & 0 deletions charts/opsgenie-marid/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ spec:
mountPath: /etc/git-secret
- name: scripts
mountPath: /workspace
{{- if hasKey .Values.configmap "sshConfig" }}
- name: config
mountPath: /tmp/.ssh/config
readOnly: true
subPath: sshConfig
{{- end }}
securityContext:
runAsUser: 65533 # git-sync user
env:
Expand Down
12 changes: 10 additions & 2 deletions charts/opsgenie-marid/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ podSecurityContext:
gitSync:
enabled: false
image:
repository: k8s.gcr.io/git-sync
tag: v3.1.6
repository: k8s.gcr.io/git-sync/git-sync
tag: v3.1.7
pullPolicy: IfNotPresent
sshKey: ""
knownHosts: ""
Expand Down Expand Up @@ -121,6 +121,14 @@ configmap:
# log4j.appender.console.layout.conversionPattern=%d [%t] %-5p %c - %m%n
# log4j.appender.console.encoding=UTF-8

# sshConfig: |
# Host github.com
# ProxyCommand socat STDIO PROXY:<theProxyHost>:%h:%p,proxyport=<theProxyPort>
# User git
# Hostname ssh.github.com
# Port 443


nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit ba2f345

Please sign in to comment.