Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Syntax3rror404 committed Aug 25, 2024
1 parent 3761e56 commit 802033b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ RUN python3 -m venv /usr/local/venv && \
RUN curl -L -o /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc && \
chmod +x /usr/local/bin/mc

# Create non-root user with specific UID/GID
# Create dev user
RUN groupadd -g 1001 dev && \
useradd -m -d /home/dev -s /bin/bash -g dev -u 1001 dev && \
echo 'dev:*:17900:0:99999:7:::' >> /etc/shadow && \
echo "dev:temporary" | chpasswd && \
passwd -d dev && \
echo "dev ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers


# Adjust permissions for /usr/local and home directories
RUN chown -R dev:dev /usr/local /home/dev

Expand Down
4 changes: 2 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
replicaCount: 1

image:
source: ghcr.io/syntax3rror404/k8s-devmachine@sha256:0814c31aaeccf36a95c2a4c80635a56aaf64a392a0cb32d6efac342684da2e2d
source: ghcr.io/syntax3rror404/k8s-devmachine@sha256:4ca67768825b186a0639b8eb4d6936f311d50f757033896d8a0c2701afb759a0
pullPolicy: IfNotPresent

service:
Expand All @@ -20,7 +20,7 @@ ssh:
authorizedKeys: |
# Place auth keys here ...
# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCu...
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDBMGGOs2OYGxj74/TS3AXmbGNoVLQ07gCG5LXamlrd6HoZLPRkqwy2X1YS+9mWvINwH7FzvPnzd+5P5fxeLiYiwTIEXamlqQ53rnTvvgtS9Wl7fI/4MdlI2pNsAS3jm1KOzn/w5ABTkvGUo9QtzgR2659ykpo/LicsShEqVKh0ItOv+D298JsD5Ykj9Y3S5G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c3uskJ2XsGDdHoxIQvx2KfStaGshN83mzbvn9Qx3SwdI2X/lpABIrrSg97kNKWPywB8s5J3a86Y+Knvd8fSz3lM/2Yk1lZ9oYN68wD0mqNmPbxIMQVaKh1pd4xTucVM+1E+IEKFk8Un6xNRk0luYanbGjvYpN5gxnEfq4NT1+VhKrcHw==
securityContext:
runAsNonRoot: true
Expand Down

0 comments on commit 802033b

Please sign in to comment.