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
5758bc06
Commit
5758bc06
authored
5 years ago
by
G33tha
Browse files
Options
Download
Patches
Plain Diff
Issue #000 feat: added cert registry helm charts
parent
cfc86ad9
3nodeinstall
3node-2.6.0
revert-942-release-2.6.0
release-2.6.0-k8s_9467d13
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
kubernetes/helm_charts/core/certregistry/Chart.yaml
+5
-0
kubernetes/helm_charts/core/certregistry/Chart.yaml
kubernetes/helm_charts/core/certregistry/templates/configmap.yaml
+11
-0
...es/helm_charts/core/certregistry/templates/configmap.yaml
kubernetes/helm_charts/core/certregistry/templates/deployment.yaml
+52
-0
...s/helm_charts/core/certregistry/templates/deployment.yaml
kubernetes/helm_charts/core/certregistry/values.j2
+31
-0
kubernetes/helm_charts/core/certregistry/values.j2
kubernetes/helm_charts/core/player/values.j2
+2
-2
kubernetes/helm_charts/core/player/values.j2
with
101 additions
and
2 deletions
+101
-2
kubernetes/helm_charts/core/certregistry/Chart.yaml
0 → 100644
+
5
−
0
View file @
5758bc06
apiVersion
:
v1
appVersion
:
"
1.0"
description
:
A Helm chart for Kubernetes
name
:
certregistry
version
:
0.1.0
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/certregistry/templates/configmap.yaml
0 → 100644
+
11
−
0
View file @
5758bc06
apiVersion
:
v1
data
:
{{
- range $key
,
$val
:
= .Values.certregistryenv
}}
{{
$key
}}
:
{{
$val
}}
{{
- end
}}
kind
:
ConfigMap
metadata
:
creationTimestamp
:
null
name
:
{{
.Chart.Name
}}
-config
namespace
:
{{
.Values.namespace
}}
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/certregistry/templates/deployment.yaml
0 → 100644
+
52
−
0
View file @
5758bc06
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
{{
.Chart.Name
}}
namespace
:
{{
.Values.namespace
}}
spec
:
replicas
:
{{
.Values.replicaCount
}}
strategy
:
type
:
{{
.Values.strategy.type
}}
rollingUpdate
:
maxsurge
:
{{
.Values.strategy.maxsurge
}}
maxUnavailable
:
{{
.Values.strategy.maxunavailable
}}
selector
:
matchLabels
:
app
:
{{
.Chart.Name
}}
template
:
metadata
:
annotations
:
readiness.status.sidecar.istio.io/applicationPorts
:
"
"
checksum/config
:
{{
include (print $.Template.BasePath "/configmap.yaml") . | sha256sum
}}
labels
:
app
:
{{
.Chart.Name
}}
spec
:
imagePullSecrets
:
-
name
:
{{
.Values.imagepullsecrets
}}
containers
:
-
name
:
{{
.Chart.Name
}}
image
:
"
{{
.Values.dockerhub
}}/{{
.Values.repository
}}:{{
.Values.image_tag
}}"
envFrom
:
-
configMapRef
:
name
:
{{
.Chart.Name
}}
-config
resources
:
{{
toYaml .Values.resources | indent 10
}}
ports
:
-
containerPort
:
{{
.Values.network.port
}}
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
{{
.Chart.Name
}}
-service
namespace
:
{{
.Values.namespace
}}
labels
:
app
:
{{
.Chart.Name
}}
spec
:
ports
:
-
name
:
http-{{ .Chart.Name }}
protocol
:
TCP
port
:
{{
.Values.network.targetport
}}
selector
:
app
:
{{
.Chart.Name
}}
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/certregistry/values.j2
0 → 100644
+
31
−
0
View file @
5758bc06
### Default variable file for cert-registry-service ###
namespace: {{ namespace }}
imagepullsecrets: {{ imagepullsecrets }}
dockerhub: {{ dockerhub }}
replicaCount: {{certregistry_replicacount|default(1)}}
repository: {{certregistry_repository|default('cert_registry_service')}}
image_tag: {{image_tag }}
resources:
requests:
cpu: {{certregistry_service_cpu_req|default('50m')}}
memory: {{certregistry_service_mem_req|default('50Mi')}}
limits:
cpu: {{certregistry_service_cpu_limit|default('1')}}
memory: {{certregistry_service_mem_limit|default('550Mi')}}
network:
port: 9013
targetport: 9000
strategy:
type: RollingUpdate
maxsurge: 1
maxunavailable: 0
certregistryenv:
cert_service_base_url: {{sunbird_cert_service_url}}
sunbird_es_host: {{sunbird_es_host}}
sunbird_es_port: '"{{sunbird_es_port}}'"
This diff is collapsed.
Click to expand it.
kubernetes/helm_charts/core/player/values.j2
+
2
−
2
View file @
5758bc06
...
...
@@ -26,8 +26,8 @@ sunbird_portal_player_cdn_enabled: "{{sunbird_portal_player_cdn_enabled}}"
playerenv:
sunbird_port: '"3000"'
sunbird_content_player_url: {{sunbird_apimanager_service_base_url}}
sunbird_learner_player_url: {{sunbird_apimanager_service_base_url}}
sunbird_content_player_url: {{sunbird_apimanager_service_base_url}}
/
sunbird_learner_player_url: {{sunbird_apimanager_service_base_url}}
/
sunbird_content_proxy_url: {{sunbird_knowledge_mw_service_url}}
sunbird_echo_api_url: {{sunbird_echo_api_url}}
sunbird_autocreate_trampoline_user: '"false"'
...
...
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