Agregando git y ultimas configuraciones a el repo.
This commit is contained in:
@ -1,10 +1,27 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: git-install-script
|
||||
namespace: vscode-tunnel
|
||||
data:
|
||||
01-git.sh: |
|
||||
#!/bin/bash
|
||||
# Installing git
|
||||
sudo apt update
|
||||
sudo apt install -y git
|
||||
if command -v git >/dev/null 2>&1; then
|
||||
git config --global user.name "Alejandro Lembke Barrientos"
|
||||
git config --global user.email "aleleba@hotmail.com"
|
||||
fi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: nvm-install-script
|
||||
namespace: vscode-tunnel
|
||||
data:
|
||||
01-nvm.sh: |
|
||||
02-nvm.sh: |
|
||||
#!/bin/bash
|
||||
# Installing Node.js with NVM
|
||||
sudo curl -O https://raw.githubusercontent.com/creationix/nvm/master/install.sh
|
||||
|
@ -40,8 +40,12 @@ spec:
|
||||
- name: nfs-vol
|
||||
mountPath: /home/aleleba/projects
|
||||
# - name: nvm-script
|
||||
# mountPath: /usr/bin/custom-scripts/01-nvm.sh
|
||||
# subPath: 01-nvm.sh
|
||||
# mountPath: /usr/bin/custom-scripts/02-nvm.sh
|
||||
# subPath: 02-nvm.sh
|
||||
# readOnly: true
|
||||
# - name: git-script
|
||||
# mountPath: /usr/bin/custom-scripts/01-git.sh
|
||||
# subPath: 01-git.sh
|
||||
# readOnly: true
|
||||
# - name: extensions-config
|
||||
# mountPath: /home/extensions.json
|
||||
@ -55,6 +59,10 @@ spec:
|
||||
# configMap:
|
||||
# name: nvm-install-script
|
||||
# defaultMode: 0555
|
||||
# - name: git-script
|
||||
# configMap:
|
||||
# name: git-install-script
|
||||
# defaultMode: 0555
|
||||
# - name: extensions-config
|
||||
# configMap:
|
||||
# name: vscode-tunnel-extensions
|
||||
|
Reference in New Issue
Block a user