Skip to content

Commit

Permalink
Add a connection test for SQLi
Browse files Browse the repository at this point in the history
  • Loading branch information
rielas committed Jun 6, 2024
1 parent 39c8abe commit a0901ef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sqli/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ description: A Helm chart for Kubernetes
type: application
keywords:
- sqli
version: 1.0.13
version: 1.0.15
14 changes: 14 additions & 0 deletions charts/sqli/templates/tests/test-internal-connection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ .Release.Name }}-test-internal-connection"
namespace: "{{ .Release.Namespace }}"
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['sh']
args: ['-c', 'echo "Connection to "; wget -qO- http://{{ .Release.Name }}']
restartPolicy: Never

0 comments on commit a0901ef

Please sign in to comment.