-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mosip:1.2.0-rc2' into 1.2.0-rc2
- Loading branch information
Showing
29 changed files
with
408 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
values.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v2 | ||
name: tusd | ||
description: A Helm chart for Mosip tusd server | ||
version: 1.2.0 | ||
appVersion: 1.8.0 |
7 changes: 7 additions & 0 deletions
7
deployment/sandbox-v2/helm/charts/tusd/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{/* Template for impagepull secrets */}} | ||
{{- define "dockerHubSecret" }} | ||
{{ if .Values.dockerHub.private }} | ||
imagePullSecrets: | ||
- name: {{ .Values.dockerHub.keyname }} | ||
{{ end }} | ||
{{- end }} |
20 changes: 20 additions & 0 deletions
20
deployment/sandbox-v2/helm/charts/tusd/templates/ingress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ .Values.docker.service }} | ||
namespace: {{ .Release.Namespace}} | ||
annotations: | ||
kubernetes.io/ingress.class: "nginx" | ||
nginx.com/health-checks: "true" | ||
spec: | ||
rules: | ||
- http: | ||
paths: | ||
- path: /tusd | ||
pathType: ImplementationSpecific | ||
backend: | ||
service: | ||
name: {{ .Values.docker.service }} | ||
port: | ||
number: 80 | ||
|
51 changes: 51 additions & 0 deletions
51
deployment/sandbox-v2/helm/charts/tusd/templates/tusd-dep.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: {{ .Values.docker.service }} | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
replicas: {{ .Values.services.tusd.podconfig.replicas }} | ||
selector: | ||
matchLabels: | ||
app: {{ .Values.docker.service }} | ||
minReadySeconds: {{ .Values.services.tusd.podconfig.minReadySeconds }} | ||
strategy: | ||
type: RollingUpdate | ||
rollingUpdate: | ||
maxUnavailable: {{ .Values.services.tusd.podconfig.maxUnavailable }} | ||
maxSurge: {{ .Values.services.tusd.podconfig.maxSurge }} | ||
template: | ||
metadata: | ||
labels: | ||
app: {{ .Values.docker.service }} | ||
exportLogs: {{ .Values.exportLogs }} | ||
spec: | ||
{{- include "dockerHubSecret" . | indent 6}} | ||
containers: | ||
{{- include "dockerHubSecret" . | indent 6}} | ||
- name: {{ .Values.docker.service }} | ||
image: {{ .Values.docker.image }} | ||
imagePullPolicy: {{ .Values.imagePullPolicy }} | ||
ports: | ||
- containerPort: {{ .Values.services.tusd.containerPort }} | ||
|
||
readinessProbe: | ||
tcpSocket: | ||
port: {{ .Values.services.tusd.containerPort }} | ||
periodSeconds: {{ .Values.probe.period }} | ||
timeoutSeconds: {{ .Values.probe.timeout }} | ||
failureThreshold: {{ .Values.probe.failureThreshold }} | ||
livenessProbe: | ||
tcpSocket: | ||
port: {{ .Values.services.tusd.containerPort }} | ||
periodSeconds: {{ .Values.probe.livenessPeriod }} | ||
timeoutSeconds: {{ .Values.probe.timeout }} | ||
failureThreshold: {{ .Values.probe.failureThreshold }} | ||
startupProbe: | ||
tcpSocket: | ||
port: {{ .Values.services.tusd.containerPort }} | ||
failureThreshold: {{ .Values.probe.failureThreshold }} | ||
periodSeconds: {{ .Values.probe.startupPeriod }} | ||
timeoutSeconds: {{ .Values.probe.timeout }} | ||
initialDelaySeconds: {{ .Values.probe.initialDelaySeconds }} |
13 changes: 13 additions & 0 deletions
13
deployment/sandbox-v2/helm/charts/tusd/templates/tusd-svc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{ .Values.docker.service }} | ||
namespace: {{ .Release.Namespace }} | ||
|
||
spec: | ||
selector: | ||
app: {{ .Values.docker.service }} | ||
ports: | ||
- port: {{ .Values.services.tusd.servicePort }} | ||
targetPort: {{ .Values.services.tusd.containerPort }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: tusd | ||
docker: | ||
service: tusd | ||
image: tusproject/tusd:v1.8.0 | ||
imagePullPolicy: Always | ||
|
||
dockerHub: | ||
private: {{ docker.hub.private }} | ||
keyname: {{ docker.hub.keyname }} | ||
|
||
services: | ||
tusd: | ||
podconfig: | ||
{{ podconfig.tusd.service | to_nice_yaml(indent=6) | indent(6) }} | ||
containerPort: 8080 | ||
servicePort: 80 | ||
exportLogs: enabled # Let filebeat export the logs | ||
|
||
probe: | ||
period: 10 # Seconds | ||
timeout: 5 | ||
livenessPeriod: 10 | ||
failureThreshold: 30 | ||
startupPeriod: 10 | ||
initialDelaySeconds: 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Antivirus running on MZ. | ||
# | ||
|
||
- hosts: console | ||
vars: | ||
kube_config: '{{clusters.mz.kube_config}}' | ||
install_name: 'tusd' | ||
helm_chart: '{{charts_root}}/tusd' | ||
is_template: true | ||
helm_namespace: default | ||
helm_values: '{{charts_root}}/tusd/values.template.j2' | ||
helm_strings: '' | ||
roles: | ||
- {role: helm} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 0 additions & 109 deletions
109
deployment/sandbox-v2/roles/keycloak-init/files/realms/realm_prereg.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.