Fixed tests
This commit is contained in:
parent
9e19855493
commit
dbffe4a651
1 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
||||||
:spec
|
:spec
|
||||||
{:containers
|
{:containers
|
||||||
[{:name "shynet-webserver"
|
[{:name "shynet-webserver"
|
||||||
:image "milesmcc/shynet:edge"
|
:image "milesmcc/shynet:v0.12.0"
|
||||||
:imagePullPolicy "IfNotPresent"
|
:imagePullPolicy "IfNotPresent"
|
||||||
:envFrom [{:secretRef {:name "shynet-settings"}}]}]}}}}
|
:envFrom [{:secretRef {:name "shynet-settings"}}]}]}}}}
|
||||||
(cut/generate-webserver-deployment))))
|
(cut/generate-webserver-deployment))))
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
:spec
|
:spec
|
||||||
{:containers
|
{:containers
|
||||||
[{:name "shynet-celeryworker"
|
[{:name "shynet-celeryworker"
|
||||||
:image "milesmcc/shynet:edge"
|
:image "milesmcc/shynet:v0.12.0"
|
||||||
:imagePullPolicy "IfNotPresent"
|
:imagePullPolicy "IfNotPresent"
|
||||||
:command ["./celeryworker.sh"]
|
:command ["./celeryworker.sh"]
|
||||||
:envFrom [{:secretRef {:name "shynet-settings"}}]}]}}}}
|
:envFrom [{:secretRef {:name "shynet-settings"}}]}]}}}}
|
||||||
|
@ -66,7 +66,6 @@
|
||||||
{:name "shynet-webserver-ingress"
|
{:name "shynet-webserver-ingress"
|
||||||
:annotations
|
:annotations
|
||||||
{:cert-manager.io/cluster-issuer "letsencrypt-staging-issuer"
|
{:cert-manager.io/cluster-issuer "letsencrypt-staging-issuer"
|
||||||
:kubernetes.io/ingress.class "addon-http-application-routing"
|
|
||||||
:nginx.ingress.kubernetes.io/proxy-body-size "256m"
|
:nginx.ingress.kubernetes.io/proxy-body-size "256m"
|
||||||
:nginx.ingress.kubernetes.io/ssl-redirect "true"
|
:nginx.ingress.kubernetes.io/ssl-redirect "true"
|
||||||
:nginx.ingress.kubernetes.io/rewrite-target "/"
|
:nginx.ingress.kubernetes.io/rewrite-target "/"
|
||||||
|
@ -77,7 +76,8 @@
|
||||||
{:tls [{:hosts ["test.com"], :secretName "shynet-secret"}]
|
{:tls [{:hosts ["test.com"], :secretName "shynet-secret"}]
|
||||||
:rules
|
:rules
|
||||||
[{:host "test.com"
|
[{:host "test.com"
|
||||||
:http {:paths [{:backend {:serviceName "shynet-webserver-service", :servicePort 8080}, :path "/"}]}}]}}
|
:http {:paths [{:backend {:service
|
||||||
|
{:name "shynet-webserver-service" :port {:number 8080}}}, :path "/", :pathType "Prefix"}]}}]}}
|
||||||
(cut/generate-ingress {:fqdn "test.com" :issuer :staging}))))
|
(cut/generate-ingress {:fqdn "test.com" :issuer :staging}))))
|
||||||
|
|
||||||
(deftest should-generate-secret
|
(deftest should-generate-secret
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
:type "Opaque"
|
:type "Opaque"
|
||||||
:stringData
|
:stringData
|
||||||
{:DEBUG "False"
|
{:DEBUG "False"
|
||||||
:ALLOWED_HOSTS "test.com"
|
:ALLOWED_HOSTS "*"
|
||||||
:DJANGO_SECRET_KEY "django-pw"
|
:DJANGO_SECRET_KEY "django-pw"
|
||||||
:ACCOUNT_SIGNUPS_ENABLED "False"
|
:ACCOUNT_SIGNUPS_ENABLED "False"
|
||||||
:TIME_ZONE "America/New_York"
|
:TIME_ZONE "America/New_York"
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
:DB_NAME "shynet"
|
:DB_NAME "shynet"
|
||||||
:DB_USER "postgres-user"
|
:DB_USER "postgres-user"
|
||||||
:DB_PASSWORD "postgres-pw"
|
:DB_PASSWORD "postgres-pw"
|
||||||
:DB_HOST "postgresql-service:5432"
|
:DB_HOST "postgresql-service"
|
||||||
:EMAIL_HOST_USER ""
|
:EMAIL_HOST_USER ""
|
||||||
:EMAIL_HOST_PASSWORD ""
|
:EMAIL_HOST_PASSWORD ""
|
||||||
:EMAIL_HOST ""
|
:EMAIL_HOST ""
|
||||||
|
|
Loading…
Reference in a new issue