Skip to content

Commit

Permalink
use curl
Browse files Browse the repository at this point in the history
  • Loading branch information
lharzenetter committed Sep 9, 2024
1 parent cb7f178 commit 6cfbbb1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions charts/hawkbit/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ metadata:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['--user', 'admin', '--password', 'admin', '{{ include "hawkbit.fullname" . }}:{{ .Values.service.port }}/rest/v1/userinfo']
- name: curl
image: curlimages/curl
command: ['curl']
args: [
"-X 'GET'",
"-u admin:admin",
"'{{ include "hawkbit.fullname" . }}:{{ .Values.service.port }}/rest/v1/userinfo'"
]
restartPolicy: Never

0 comments on commit 6cfbbb1

Please sign in to comment.