Skip to content
Snippets Groups Projects
Commit 12771266 authored by Kalin Daskalov's avatar Kalin Daskalov
Browse files

Merge branch 'test' into 'main'

Test

See merge request !1
parents 4fb046ac d2f14841
No related branches found
No related tags found
1 merge request!1Test
Checking pipeline status
apiVersion: v1 apiVersion: v1
appVersion: v0.0.6 appVersion: v0.0.8
description: mediator deployment description: mediator deployment
name: mediator name: mediator
version: 0.0.2 version: 0.1.8
icon: "https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg" icon: "https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg"
apiVersion: v1
kind: Secret
metadata:
name: {{ template "app.name" . }}-config
namespace: {{ .Release.Namespace }}
labels:
{{- include "app.labels" . | nindent 4 }}
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: "mediator" name: "mediator-test"
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
{{- include "app.labels" . | nindent 4 }} {{- include "app.labels" . | nindent 4 }}
...@@ -37,40 +37,13 @@ spec: ...@@ -37,40 +37,13 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy | quote }} imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
env: env:
- name: MEDIATOR_CONTROLLER_ADMIN_API_KEY - name: MEDIATOR_CONTROLLER_ADMIN_API_KEY
valueFrom: value: {{ .Values.mediator.controller.key | quote }}
secretKeyRef:
name: {{ template "app.name" . }}-config
key: MEDIATOR_CONTROLLER_ADMIN_API_KEY
- name: MEDIATOR_AGENT_ADMIN_API_KEY - name: MEDIATOR_AGENT_ADMIN_API_KEY
valueFrom: value: {{ .Values.mediator.admin.key | quote }}
secretKeyRef:
name: {{ template "app.name" . }}-config
key: MEDIATOR_AGENT_ADMIN_API_KEY
- name: POSTGRESQL_HOST
valueFrom:
secretKeyRef:
name: {{ template "app.name" . }}-config
key: POSTGRESQL_HOST
- name: ACAPY_WALLET_STORAGE_CONFIG
valueFrom:
secretKeyRef:
name: {{ template "app.name" . }}-config
key: ACAPY_WALLET_STORAGE_CONFIG
- name: ACAPY_WALLET_STORAGE_CREDS
valueFrom:
secretKeyRef:
name: {{ template "app.name" . }}-config
key: ACAPY_WALLET_STORAGE_CREDS
- name: ACAPY_WALLET_KEY - name: ACAPY_WALLET_KEY
valueFrom: value: {{ .Values.mediator.wallet.key | quote }}
secretKeyRef:
name: {{ template "app.name" . }}-config
key: ACAPY_WALLET_KEY
- name: MEDIATOR_AGENT_ADMIN_MODE - name: MEDIATOR_AGENT_ADMIN_MODE
valueFrom: value: {{ .Values.mediator.admin.mode | quote }}
secretKeyRef:
name: {{ template "app.name" . }}-config
key: MEDIATOR_AGENT_ADMIN_MODE
- name: MEDIATOR_CONTROLLER_WEBHOOK - name: MEDIATOR_CONTROLLER_WEBHOOK
value: {{ .Values.mediator.controller.webhook | quote }} value: {{ .Values.mediator.controller.webhook | quote }}
- name: MEDIATOR_AGENT_LABEL - name: MEDIATOR_AGENT_LABEL
...@@ -93,8 +66,10 @@ spec: ...@@ -93,8 +66,10 @@ spec:
value: {{ .Values.mediator.wallet.name | quote }} value: {{ .Values.mediator.wallet.name | quote }}
- name: MEDIATOR_ARG_FILE - name: MEDIATOR_ARG_FILE
value: {{ .Values.mediator.arg_file | quote }} value: {{ .Values.mediator.arg_file | quote }}
- name: POSTGRESQL_PORT - name: DB_USER
value: {{ .Values.mediator.postgre.port | quote }} value: {{ .Values.postgres.user }}
- name: DB_PASSWORD
value: {{ .Values.postgres.password }}
{{- if .Values.extraVars }} {{- if .Values.extraVars }}
{{ toYaml .Values.extraVars | indent 8 }} {{ toYaml .Values.extraVars | indent 8 }}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: {{ template "app.name" . }} name: "mediator-test"
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
annotations: annotations:
{{ toYaml .Values.ingress.annotations | indent 4 }} {{ toYaml .Values.ingress.annotations | indent 4 }}
...@@ -23,7 +23,7 @@ spec: ...@@ -23,7 +23,7 @@ spec:
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: {{ template "app.name" . }} name: caddy
port: port:
number: {{ .Values.service.port }} number: 2015
{{- end }} {{- end }}
\ No newline at end of file
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ template "app.name" . }} name: "mediator-test"
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
{{- include "app.labels" . | nindent 4 }} {{- include "app.labels" . | nindent 4 }}
...@@ -18,4 +18,4 @@ spec: ...@@ -18,4 +18,4 @@ spec:
port: {{ .Values.service.port2 }} port: {{ .Values.service.port2 }}
targetPort: {{ .Values.service.port2 }} targetPort: {{ .Values.service.port2 }}
selector: selector:
{{- include "app.selectorLabels" . | nindent 4 }} {{- include "app.selectorLabels" . | nindent 4 }}
\ No newline at end of file
...@@ -64,37 +64,39 @@ service: ...@@ -64,37 +64,39 @@ service:
port1: 3001 port1: 3001
port2: 3002 port2: 3002
postgres:
user: "root"
password: "password"
mediator: mediator:
controller: controller:
key: "" key: "xei2QavYTUaOmeI4FOudvQXpALhDGoCA"
webhook: http://mediator:3010/webhooks webhook: http://mediator:3010/webhooks
agent: agent:
key: "" key: ""
label: Gaiax-Mediator label: Test-Mediator
http_in_port: 3000 http_in_port: 3000
ws_in_port: 3001 ws_in_port: 3001
http_admin_port: 3002 http_admin_port: 3002
admin_mode: admin:
admin_api_key: "" key: "Hxly1uuBXSWjSERoEkuD2amIWn7KBWxE"
mode: "admin-api-key 7gdmVBiJalMj52Oum50yD8neu/nxmv3/DTWcZPyKZ4K2UdNNwSPKgg=="
alias: MOON alias: MOON
log: log:
level: INFO level: INFO
endpoint: endpoint:
url: https://gaiax.vereign.com/mediator url: https://gcloud-stage.vrgnservices.com/mediator
env: local env: local
postgre: postgre:
host: "" host: "35.234.125.209"
port: 5432 port: 5432
wallet: wallet:
storage:
config: ""
creds: ""
name: mediator name: mediator
key: "" key: testing
arg_file: ./configs/mediator-auto-accept.yml arg_file: ./configs/mediator-auto-accept.yml
ingress: ingress:
enabled: true enabled: true
tlsEnabled: true tlsEnabled: true
frontendDomain: gaiax.vereign.com frontendDomain: gcloud-stage.vrgnservices.com
frontendTlsSecretName: cert-manager-tls frontendTlsSecretName: cert-manager-tls
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment