diff --git a/.gitattributes b/.gitattributes index 798448e2..79674dd6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,4 @@ secrets.yml filter=git-crypt diff=git-crypt secret.yaml filter=git-crypt diff=git-crypt secret.yml filter=git-crypt diff=git-crypt ghcr-pull-secrets.yaml filter=git-crypt diff=git-crypt +ssh-secrets.yaml filter=git-crypt diff=git-crypt diff --git a/kubernetes/namespaces/bots/king-arthur/deployment.yaml b/kubernetes/namespaces/bots/king-arthur/deployment.yaml index 728d525b..8b4b96a6 100644 --- a/kubernetes/namespaces/bots/king-arthur/deployment.yaml +++ b/kubernetes/namespaces/bots/king-arthur/deployment.yaml @@ -37,6 +37,8 @@ spec: mountPath: /tmp - name: ipa-ca-cert mountPath: /opt/ipa + - name: ssh-secret + mountPath: /root/.ssh securityContext: fsGroup: 2000 runAsUser: 1000 @@ -48,3 +50,6 @@ spec: - name: ipa-ca-cert configMap: name: ipa-ca-configmap + - name: ssh-secret + configMap: + name: ssh-secrets diff --git a/kubernetes/namespaces/bots/king-arthur/ssh-secrets.yaml b/kubernetes/namespaces/bots/king-arthur/ssh-secrets.yaml new file mode 100644 index 00000000..62942ae1 Binary files /dev/null and b/kubernetes/namespaces/bots/king-arthur/ssh-secrets.yaml differ