Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
d6315a97
Unverified
Commit
d6315a97
authored
2 years ago
by
Prasath Sivasubramaniyan
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge branch 'project-sunbird:master' into prasath-release-5.1.0
parents
d1254738
a5626ed5
upstream/release-5.1.0-vdn
login-changes
loginRegisterBtn
prasath-release-5.1.0
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uat
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
1 merge request
!16
Release 5.1.0 api
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Installation.md
+1
-1
Installation.md
kubernetes/ansible/cassandrainfo.yaml
+17
-0
kubernetes/ansible/cassandrainfo.yaml
kubernetes/helm_charts/core/nginx-public-ingress/values.j2
+8
-0
kubernetes/helm_charts/core/nginx-public-ingress/values.j2
with
26 additions
and
1 deletion
+26
-1
Installation.md
+
1
−
1
View file @
d6315a97
### Installation wiki moved to [here.](http://
www
.sunbird.org/developer-docs/installation)
### Installation wiki moved to [here.](http://
docs
.sunbird.org/
latest/
developer-docs/
server-
installation
/prerequisites/
)
This diff is collapsed.
Click to expand it.
kubernetes/ansible/cassandrainfo.yaml
0 → 100644
+
17
−
0
View file @
d6315a97
---
# Retrieve information from cassandra
-
hosts
:
"
{{server_group}}"
gather_facts
:
false
vars_files
:
-
"
{{inventory_dir}}/secrets.yml"
tasks
:
-
name
:
validate the cassandra query
shell
:
"
echo
{{cassandra_query}}
|
grep
-iE
'drop|delete|truncate|alter|update|insert'"
register
:
validator_output
run_once
:
true
-
name
:
execute the query on succesful validation
shell
:
"
cqlsh
--request-timeout=3600
\"
{{cassandra_query}}
\"
"
when
:
validator_output.rc ==
1
run_once
:
true
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/nginx-public-ingress/values.j2
+
8
−
0
View file @
d6315a97
...
...
@@ -117,6 +117,9 @@ proxyconfig: |-
proxy_set_header X-Forwarded-Proto $scheme;
ignore_invalid_headers off; #pass through headers from Jenkins which are considered invalid by Nginx server.
resolver {{ kube_dns_ip }} valid=30s;
location ~* .*\/\.\..*$ {
return 401 "InvalidRoute Called.";
}
# Mobile Devices Refresh token Endpoints
location ~* ^/auth/v1/refresh/token {
rewrite ^/auth/(.*) /auth/$1 break;
...
...
@@ -1211,7 +1214,12 @@ keycloakconf: |
proxy_http_version 1.1;
proxy_pass http://keycloak;
}
location /mirror {
proxy_set_header Requestdebugger_url https://dev.sunbirded.org;
proxy_pass http://requestdebugger-service.dev.svc.cluster.local:80$request_uri;
}
location / {
mirror /mirror;
rewrite ^/(.*) /$1 break;
proxy_set_header Host $host;
proxy_set_header X-Real-IP {{ nginx_client_public_ip_header | d('$remote_addr') }};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets