main
parent
3c9a8f6045
commit
4d87e95b93
5 changed files with 9 additions and 50 deletions
@ -0,0 +1,7 @@ |
|||||||
|
apiVersion: v1 |
||||||
|
kind: Secret |
||||||
|
metadata: |
||||||
|
name: auth-secret |
||||||
|
type: Opaque |
||||||
|
data: |
||||||
|
SENTRY_DSN: aHR0cHM6Ly8zZjRiMzFkYmJkOWE0YTZiOGE3MWY5ODgxZDk2MmYyNUBvNDUwNDY1NDU2OTc5OTY4MC5pbmdlc3Quc2VudHJ5LmlvLzQ1MDQ2NTQ1NzI2ODMyNjQ= |
@ -1,23 +0,0 @@ |
|||||||
apiVersion: networking.k8s.io/v1 |
|
||||||
kind: Ingress |
|
||||||
metadata: |
|
||||||
name: ingress |
|
||||||
labels: |
|
||||||
app: auth-application |
|
||||||
spec: |
|
||||||
# defaultBackend: |
|
||||||
# service: |
|
||||||
# name: auth-service |
|
||||||
# port: |
|
||||||
# number: 9994 |
|
||||||
rules: |
|
||||||
# - host: www.test3k.com |
|
||||||
- http: |
|
||||||
paths: |
|
||||||
- path: / |
|
||||||
pathType: Prefix |
|
||||||
backend: |
|
||||||
service: |
|
||||||
name: auth-service |
|
||||||
port: |
|
||||||
number: 9994 |
|
@ -1,26 +0,0 @@ |
|||||||
#!/bin/sh |
|
||||||
|
|
||||||
if [ -z "$1" ] |
|
||||||
then |
|
||||||
echo "No argument uid (1 of 3)" |
|
||||||
exit 1 |
|
||||||
fi |
|
||||||
|
|
||||||
if [ -z "$2" ] |
|
||||||
then |
|
||||||
echo "No argument email (2 of 3)" |
|
||||||
exit 1 |
|
||||||
fi |
|
||||||
|
|
||||||
if [ -z "$3" ] |
|
||||||
then |
|
||||||
echo "No argument password (3 of 3)" |
|
||||||
exit 1 |
|
||||||
fi |
|
||||||
|
|
||||||
curl --location --request POST 'http://{ingress_address}/api/v1/registration' \ |
|
||||||
--header 'Content-Type: application/x-www-form-urlencoded' \ |
|
||||||
--data-urlencode uid=""$1"" \ |
|
||||||
--data-urlencode email=""$2"" \ |
|
||||||
--data-urlencode password=""$3"" |
|
||||||
echo "" |
|
Loading…
Reference in new issue