diff --git a/charts/opsgenie-marid/Chart.yaml b/charts/opsgenie-marid/Chart.yaml index 8e87f33..5803902 100644 --- a/charts/opsgenie-marid/Chart.yaml +++ b/charts/opsgenie-marid/Chart.yaml @@ -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/marid-logo@2x.png?cdnVersion=565 home: https://docs.opsgenie.com/docs/marid-integration-server-for-opsgenie keywords: diff --git a/charts/opsgenie-marid/templates/deployment.yaml b/charts/opsgenie-marid/templates/deployment.yaml index 77d0bc2..6117487 100644 --- a/charts/opsgenie-marid/templates/deployment.yaml +++ b/charts/opsgenie-marid/templates/deployment.yaml @@ -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: diff --git a/charts/opsgenie-marid/values.yaml b/charts/opsgenie-marid/values.yaml index 0f87285..4ef7266 100644 --- a/charts/opsgenie-marid/values.yaml +++ b/charts/opsgenie-marid/values.yaml @@ -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: "" @@ -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::%h:%p,proxyport= +# User git +# Hostname ssh.github.com +# Port 443 + + nodeSelector: {} tolerations: []