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
daef1777
Commit
daef1777
authored
2 years ago
by
saiakhil46
Browse files
Options
Download
Patches
Plain Diff
added config.json file in certificatesign and updated templates
parent
d002f1e5
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
release-5.1.0_RC3
release-5.1.0_RC2
release-5.1.0_RC1
1 merge request
!16
Release 5.1.0 api
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
kubernetes/ansible/roles/helm-deploy/tasks/main.yml
+8
-0
kubernetes/ansible/roles/helm-deploy/tasks/main.yml
kubernetes/helm_charts/sunbird-RC/certificatesign/configs/config.json
+11
-0
...elm_charts/sunbird-RC/certificatesign/configs/config.json
kubernetes/helm_charts/sunbird-RC/certificatesign/templates/configmap.yaml
+13
-0
...harts/sunbird-RC/certificatesign/templates/configmap.yaml
kubernetes/helm_charts/sunbird-RC/certificatesign/templates/deployment.yaml
+7
-0
...arts/sunbird-RC/certificatesign/templates/deployment.yaml
with
39 additions
and
0 deletions
+39
-0
kubernetes/ansible/roles/helm-deploy/tasks/main.yml
+
8
−
0
View file @
daef1777
...
...
@@ -22,6 +22,14 @@
-
"
{{
chart_path
}}/schemas/*.json"
when
:
release_name == "registry"
-
name
:
template config json
template
:
src
:
"
{{
item
}}"
dest
:
"
{{
item
}}"
with_fileglob
:
-
"
{{
chart_path
}}/configs/*.json"
when
:
release_name == "certificatesign"
-
name
:
Load role to decrypt private keys, copy to private keys helm chart
include_role
:
name
:
mount-keys
...
...
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/sunbird-RC/certificatesign/configs/config.json
0 → 100644
+
11
−
0
View file @
daef1777
{
"issuers"
:
{
"default"
:
{
"publicKey"
:
{{
CERTIFICATE_PUBLIC_KEY
|
default(
""
)
}},
"privateKey"
:
{{
CERTIFICATE_PRIVATE_KEY
|
default(
""
)
}},
"signatureType"
:
"RSA"
,
"verificationMethod"
:
"did:india"
,
"$comment"
:
"The above are test keys and it needs to be replaced before going to production"
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/sunbird-RC/certificatesign/templates/configmap.yaml
+
13
−
0
View file @
daef1777
...
...
@@ -9,3 +9,16 @@ metadata:
creationTimestamp: null
name: {{ .Chart.Name }}-config
namespace: {{ .Values.namespace }}
-
--
{
{- $configs := .Files.Glob "configs/*" }}
{
{ if $configs }}
a
piVersion: v1
k
ind: ConfigMap
m
etadata:
name: {{ .Chart.Name }}-conf
namespace: {{ .Values.namespace }}
d
ata:
{
{ (.Files.Glob "configs/*").AsConfig | indent 2 }}
{
{ end }}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/sunbird-RC/certificatesign/templates/deployment.yaml
+
7
−
0
View file @
daef1777
...
...
@@ -34,6 +34,13 @@ spec:
{{
toYaml .Values.resources | indent 10
}}
ports
:
-
containerPort
:
{{
.Values.network.port
}}
volumeMounts
:
-
name
:
{{
.Chart.Name
}}
-conf
mountPath
:
/etc/signer
volumes
:
-
name
:
{{
.Chart.Name
}}
-conf
configMap
:
name
:
{{
.Chart.Name
}}
-conf
---
...
...
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