File tree Expand file tree Collapse file tree 4 files changed +18
-1
lines changed
Expand file tree Collapse file tree 4 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1616
1717 # Prompt
1818 PS1='\u@\h:\w\$ '
19+
20+ # activate venv
21+ source ~/venv/bin/activate
Original file line number Diff line number Diff line change 6969 echo "WARNING: Could not check port usage (no ss/netstat found)."
7070 fi
7171
72+ VENV_DIR="/home/dev/venv"
73+ if [ ! -d "$VENV_DIR" ]; then
74+ echo "Creating virtual environment in $VENV_DIR"
75+ python3 -m venv "$VENV_DIR"
76+ fi
77+ source "$VENV_DIR/bin/activate"
78+
7279 echo "Starting SSH service on port $PORT..."
7380 exec /usr/sbin/sshd -D -f /etc/ssh/sshd_config \
7481 -o Port=$PORT \
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ apiVersion: v1
33kind : Service
44metadata :
55 name : {{ .Release.Name }}-service
6+ labels :
7+ {{- with .Values.service.labels }}
8+ {{ toYaml .}}
9+ {{- end }}
610spec :
711 type : {{ .Values.service.type }}
812 ports :
Original file line number Diff line number Diff line change 11replicaCount : 1
22
33image :
4- source : ghcr.io/syntax3rror404/k8s-devmachine@sha256:b74d9fc455717bee5b6330ef892bc621c0cfccf3c2b95af5ea407624ed4cce95
4+ source : ghcr.io/syntax3rror404/k8s-devmachine@sha256:62d616cfddddd6b81272c12f751215c56c15ffefa355acb11cf8f1e4c48d63dc
55 pullPolicy : IfNotPresent
66
77service :
88 type : LoadBalancer
99 port : 2222
1010 targetPort : 2222
11+ labels :
12+ ciliuml2 : pool
13+
1114
1215persistence :
1316 enabled : true
You can’t perform that action at this time.
0 commit comments