mirror of
https://github.com/D4M13N-D3V/comissions-app-argocd.git
synced 2025-03-14 08:15:00 +00:00
cleaned up manifests and charts
This commit is contained in:
parent
72b6e47b52
commit
fdde6c9cc5
@ -37,22 +37,32 @@ spec:
|
|||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
|
- name: UI__BaseUrl
|
||||||
|
value: {{.Values.auth.baseUrl}}
|
||||||
|
- name: Auth0__Audience
|
||||||
|
value: {{ .Values.auth.audience}}
|
||||||
|
- name: Auth0__Domain
|
||||||
|
value: {{ .Values.auth.issuerBaseUrl }}
|
||||||
- name: Auth0__ClientId
|
- name: Auth0__ClientId
|
||||||
value: 19GWUL7fWFQWEpdFFtlgv2x3kqfSa0ES
|
value: {{ .Values.auth.clientId }}
|
||||||
- name: Auth0__ClientSecret
|
- name: Auth0__ClientSecret
|
||||||
value: VX5LKeGHeaqKsgNz8Kn1gQ7MSHmwrXJdC2DMjVY82_YHjiRqdPrVNpFFkXBZy8yh
|
value: {{ .Values.auth.clientSecret }}
|
||||||
- name: Stripe__WebHookSecret
|
- name: Stripe__WebHookSecret
|
||||||
value: 'whsec_I4tVknFRWurdaFnFzAVFEYGxJcVxsOYM'
|
value: '{{ .Values.stripe.webhookSecret }}'
|
||||||
|
- name: Stripe__ApiKey
|
||||||
|
value: '{{ .Values.stripe.apiKey }}'
|
||||||
|
- name: Novu__ApiKey
|
||||||
|
value: '{{ .Values.novu.apiKey }}'
|
||||||
- name: Database__Host
|
- name: Database__Host
|
||||||
value: '{{ .Values.postgresHost }}'
|
value: '{{ .Values.postgres.host }}'
|
||||||
- name: Database__Port
|
- name: Database__Port
|
||||||
value: '{{ .Values.postgresPort }}'
|
value: '{{ .Values.postgres.port }}'
|
||||||
- name: Database__Database
|
- name: Database__Database
|
||||||
value: '{{ .Values.postgresDatabase }}'
|
value: '{{ .Values.postgres.database }}'
|
||||||
- name: Database__username
|
- name: Database__username
|
||||||
value: '{{ .Values.postgresUser }}'
|
value: '{{ .Values.postgres.user }}'
|
||||||
- name: Database__password
|
- name: Database__password
|
||||||
value: '{{ .Values.postgresPassword }}'
|
value: '{{ .Values.postgres.password }}'
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
|
@ -38,12 +38,29 @@ securityContext: {}
|
|||||||
# readOnlyRootFilesystem: true
|
# readOnlyRootFilesystem: true
|
||||||
# runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
# runAsUser: 1000
|
# runAsUser: 1000
|
||||||
|
ui:
|
||||||
|
baseUrl: "http://localhost:3000"
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
host: "acid-minimal-cluster"
|
||||||
|
port : 5432
|
||||||
|
user: "postgres"
|
||||||
|
password: "tbXeXzpmPK8l5e3DW6S3IXxzIO9CYCx0d5Ow0q50jgLyx0USEselZuC9JIuJi8Oo"
|
||||||
|
database: comissionsapp
|
||||||
|
|
||||||
|
auth:
|
||||||
|
audience: "https://api.artplatform.com"
|
||||||
|
clientId: "19GWUL7fWFQWEpdFFtlgv2x3kqfSa0ES"
|
||||||
|
clientSecret: "VX5LKeGHeaqKsgNz8Kn1gQ7MSHmwrXJdC2DMjVY82_YHjiRqdPrVNpFFkXBZy8yh"
|
||||||
|
domain: "https://dev-12mb5yq82dow1twh.us.auth0.com/"
|
||||||
|
|
||||||
|
stripe:
|
||||||
|
apiKey: "sk_test_51OdJ1SLooS0IZqYkx2IdNoLcscm6BisgaUyYVIc5jM1RMmarww2e9hLLQS3Atn6TQi00p9YQkCLGQPhAI2gf9ZSY00HmbQYCvP"
|
||||||
|
webhookSecret: "whsec_WTxw2seQHaJjSbLiRr1q8fs1wh8vGdGn"
|
||||||
|
|
||||||
|
novu:
|
||||||
|
apiKey: "287ad99d1cbeba7f96a7d2637b022e6f"
|
||||||
|
|
||||||
postgresHost : "acid-minimal-cluster"
|
|
||||||
postgresPort : 5432
|
|
||||||
postgresUser: "postgres"
|
|
||||||
postgresPassword: "tbXeXzpmPK8l5e3DW6S3IXxzIO9CYCx0d5Ow0q50jgLyx0USEselZuC9JIuJi8Oo"
|
|
||||||
postgresDatabase: comissionsapp
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8080
|
port: 8080
|
||||||
|
@ -46,7 +46,13 @@ spec:
|
|||||||
- name: AUTH0_BASE_URL
|
- name: AUTH0_BASE_URL
|
||||||
value: '{{ .Values.auth.baseUrl }}'
|
value: '{{ .Values.auth.baseUrl }}'
|
||||||
- name: AUTH0_SECRET
|
- name: AUTH0_SECRET
|
||||||
value: '{{ .Values.auth.clientSecret }}'
|
value: '{{ .Values.auth.secret }}'
|
||||||
|
- name: AUTH0_AUDIENCE
|
||||||
|
value: '{{ .Values.auth.audience }}'
|
||||||
|
- name: AUTH0_SCOPE
|
||||||
|
value: '{{ .Values.auth.scope }}'
|
||||||
|
- name: NEXT_PUBLIC_API_URL
|
||||||
|
value: '{{ .Values.publicApiUrl }}'
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
|
@ -1,14 +1,17 @@
|
|||||||
# Default values for ui.
|
# Default values for ui.
|
||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
publicApiUrl: "https://core-api.development.comissions.app"
|
||||||
auth:
|
auth:
|
||||||
issuerBaseUrl: "https://dev-12mb5yq82dow1twh.us.auth0.com"
|
issuerBaseUrl: "https://dev-12mb5yq82dow1twh.us.auth0.com"
|
||||||
clientId: "U39Jg6oyFoNihzjZ24SX2FxiBx2lqvsC"
|
clientId: "U39Jg6oyFoNihzjZ24SX2FxiBx2lqvsC"
|
||||||
clientSecret: "UBH4HTsvkoWHImQwI4abyh46s6qpEnD3hfrODEYBTX7p_5v0bYogz-b_6wJtOkDg"
|
clientSecret: "UBH4HTsvkoWHImQwI4abyh46s6qpEnD3hfrODEYBTX7p_5v0bYogz-b_6wJtOkDg"
|
||||||
baseUrl: "https://development.comissions.app"
|
baseUrl: "https://development.comissions.app"
|
||||||
|
secret: "U39Jg6oyFoNihzjZ24SX2FxiBx2lqvsC"
|
||||||
|
audience: "https://api.artplatform.com"
|
||||||
|
scope: "openid profile email read:user write:user read:request write:request read:artist write:artist"
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: docker pull ghcr.io/comissions-app/ui
|
repository: docker pull ghcr.io/comissions-app/ui
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"deployment": {
|
"deployment": {
|
||||||
"argocd": {
|
"argocd": {
|
||||||
"project": "comissions.app"
|
"project": "default"
|
||||||
},
|
},
|
||||||
"cluster": {
|
"cluster": {
|
||||||
"name": "in-cluster",
|
"name": "in-cluster",
|
||||||
@ -9,13 +9,8 @@
|
|||||||
"address": "https://kubernetes.default.svc"
|
"address": "https://kubernetes.default.svc"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"apps": {
|
"apps":
|
||||||
"core-api": {
|
{
|
||||||
"version" : "latest",
|
|
||||||
"image": "ghcr.io/comissions-app/core-api",
|
|
||||||
"ingress":{
|
|
||||||
"host": "core-api.comissions-dev.com"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
@ -23,11 +23,30 @@ spec:
|
|||||||
path: charts/core-api
|
path: charts/core-api
|
||||||
helm:
|
helm:
|
||||||
values: |
|
values: |
|
||||||
postgresHost: "postgres-postgresql"
|
postgres:
|
||||||
postgresPort: 5432
|
host: "postgres-postgresql"
|
||||||
postgresUsername: "postgres"
|
port: 5432
|
||||||
postgresPassword: "postgres"
|
username: "postgres"
|
||||||
postgresDatabase: "comissionsapp"
|
password: "postgres"
|
||||||
|
database: "comissionsapp"
|
||||||
|
|
||||||
|
ui:
|
||||||
|
baseUrl: "http://development.comissions.app"
|
||||||
|
|
||||||
|
auth:
|
||||||
|
audience: "https://api.artplatform.com"
|
||||||
|
clientId: "19GWUL7fWFQWEpdFFtlgv2x3kqfSa0ES"
|
||||||
|
clientSecret: "VX5LKeGHeaqKsgNz8Kn1gQ7MSHmwrXJdC2DMjVY82_YHjiRqdPrVNpFFkXBZy8yh"
|
||||||
|
domain: "https://dev-12mb5yq82dow1twh.us.auth0.com/"
|
||||||
|
|
||||||
|
stripe:
|
||||||
|
apiKey: "sk_test_51OdJ1SLooS0IZqYkx2IdNoLcscm6BisgaUyYVIc5jM1RMmarww2e9hLLQS3Atn6TQi00p9YQkCLGQPhAI2gf9ZSY00HmbQYCvP"
|
||||||
|
webhookSecret: "whsec_WTxw2seQHaJjSbLiRr1q8fs1wh8vGdGn"
|
||||||
|
|
||||||
|
novu:
|
||||||
|
apiKey: "287ad99d1cbeba7f96a7d2637b022e6f"
|
||||||
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/comissions-app/core-api
|
repository: ghcr.io/comissions-app/core-api
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
@ -23,11 +23,17 @@ spec:
|
|||||||
path: charts/ui
|
path: charts/ui
|
||||||
helm:
|
helm:
|
||||||
values: |
|
values: |
|
||||||
|
publicApiUrl: "https://core-api.development.comissions.app"
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
issuerBaseUrl: "https://dev-12mb5yq82dow1twh.us.auth0.com"
|
issuerBaseUrl: "https://dev-12mb5yq82dow1twh.us.auth0.com"
|
||||||
clientId: "U39Jg6oyFoNihzjZ24SX2FxiBx2lqvsC"
|
clientId: "U39Jg6oyFoNihzjZ24SX2FxiBx2lqvsC"
|
||||||
clientSecret: "UBH4HTsvkoWHImQwI4abyh46s6qpEnD3hfrODEYBTX7p_5v0bYogz-b_6wJtOkDg"
|
clientSecret: "UBH4HTsvkoWHImQwI4abyh46s6qpEnD3hfrODEYBTX7p_5v0bYogz-b_6wJtOkDg"
|
||||||
baseUrl: "https://development.comissions.app"
|
baseUrl: "https://development.comissions.app"
|
||||||
|
secret: "U39Jg6oyFoNihzjZ24SX2FxiBx2lqvsC"
|
||||||
|
audience: "https://api.artplatform.com"
|
||||||
|
scope: "openid profile email read:user write:user read:request write:request read:artist write:artist"
|
||||||
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/comissions-app/ui
|
repository: ghcr.io/comissions-app/ui
|
||||||
|
Loading…
x
Reference in New Issue
Block a user