Skip to content
Snippets Groups Projects
Commit 272d718c authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

ci: add deploy to cloud auth

parent 4358812f
No related branches found
No related tags found
1 merge request!64ci: add deploy to cloud auth
Pipeline #69645 waiting for manual action with stages
in 14 minutes and 50 seconds
......@@ -12,7 +12,7 @@ stages:
- registries
- helm
- deploy-test
- deploy-prod
# Lint microservices
lint-agent:
......@@ -209,6 +209,14 @@ deploy dashboard ocm test tagged:
extends: .deploy-dashboard-ocm-test-tag
stage: deploy-test
deploy agent cloud auth:
extends: .deploy-agent-cloud-auth-main
stage: deploy-prod
deploy agent cloud auth tagged:
extends: .deploy-agent-cloud-auth-tag
stage: deploy-prod
# deploy attestation ocm:
# extends: .deploy-attestation-manager-ocm-main
# stage: deploy-test
......
......@@ -157,6 +157,35 @@ spec:
value: {{ .Values.hin.agent.api.basic.pass | quote }}
- name: AUTH_JWT_PUBLIC_KEY
value: {{ .Values.hin.agent.api.jwt.publicKey | quote }}
{{- else if eq .Release.Namespace "cloud-auth" }}
- name: LEDGERS
value: {{ .Values.ca.agent.ledgers | quote }}
- name : AGENT_PEER_URL
value: {{ .Values.ca.agent.peer.url | quote }}
- name: AGENT_NAME
value: {{ .Values.ca.agent.name | quote }}
- name: AGENT_KEY
value: {{ .Values.ca.agent.key | quote }}
- name: AGENT_DID_SEED
value: {{ .Values.ca.agent.did.seed | quote }}
- name: AGENT_DB_HOST
value: {{ .Values.ca.agent.db.host | quote }}
- name: AGENT_DB_USER
value: {{ .Values.ca.agent.db.user | quote }}
- name: AGENT_DB_PASS
value: {{ .Values.ca.agent.db.pass | quote }}
- name: AGENT_PORT
value: {{ .Values.ca.agent.port | quote }}
- name: AGENT_IS_REST
value: {{ .Values.ca.agent.is.rest | quote }}
- name: AGENT_IS_SVDX
value: {{ .Values.ca.agent.is.svdx | quote }}
- name: AGENT_MAX_MESSAGES
value: {{ .Values.ca.agent.max.messages | quote }}
- name: AGENT_RETE_LIMIT
value: {{ .Values.ca.agent.rete.limit | quote }}
- name: ALLOWED_ORIGINS
value: {{ .Values.ca.agent.allowedOrigin | quote }}
{{- end }}
{{- if .Values.extraVars }}
{{ toYaml .Values.extraVars | indent 8 }}
......
......@@ -70,5 +70,23 @@ spec:
name: {{ template "app.name" . }}
port:
number: {{ .Values.hin.agent.port }}
{{- else if eq .Release.Namespace "cloud-auth" }}
- host: {{ .Values.ingress.frontendDomain }}
http:
paths:
- path: /cloud-auth-agent(/|$)(.*)
pathType: Prefix
backend:
service:
name: {{ template "app.name" . }}
port:
number: {{ .Values.service.port1 }}
- path: /api-cloud-auth-agent(/|$)(.*)
pathType: Prefix
backend:
service:
name: {{ template "app.name" . }}
port:
number: {{ .Values.hin.agent.port }}
{{- end }}
{{- end }}
......@@ -184,6 +184,29 @@ hin:
user: "ocmhin-admin"
pass: ""
ca:
agent:
ledgers: "BCOVRIN_TEST"
peer:
url: "https://ssi-dev.vereign.com/cloud-auth-agent"
name: "cloud-auth-agent-test"
key: "Fpvsvz0seqevq7RRiPbRTjaskj1la6oopAcrMXcaY8asdasdd"
did:
seed: "8rQuMQ6Yekl1239VF1CVyKp4KZTjikcvbpwM4irGlasdu1l26Ds"
port: 8080
is:
rest: "true"
svdx: "false"
max:
messages: 10
rete:
limit: 5
db:
host: ""
user: ""
pass: ""
allowedOrigin: "*"
service:
port: 8080
port1: 8001
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment