Skip to content

Commit

Permalink
chore: update deployment config (#164)
Browse files Browse the repository at this point in the history
- deploy to association environment
- move deployment config into environments directory
- add information about deployment configuration in notice file
- remove obsolete deployment config from consortia (pen, stable, beta envs)
  • Loading branch information
evegufy authored Jul 11, 2024
1 parent 5b04040 commit 081d71b
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 184 deletions.
4 changes: 4 additions & 0 deletions NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ This project leverages the following third party content.

See DEPENDENCIES file.

## Test Environments

The project contains deployment configuration specific to hosted test environments and needed for end-to-end testing. This configuration is maintained within the [environments](/environments) directory.

## Cryptography

Content may contain encryption software. The country in which you are currently
Expand Down
38 changes: 0 additions & 38 deletions consortia/argocd-app-templates/appsetup-pen.yaml

This file was deleted.

77 changes: 0 additions & 77 deletions consortia/argocd-app-templates/appsetup-stable.yaml

This file was deleted.

53 changes: 0 additions & 53 deletions consortia/environments/values-beta.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ spec:
source:
path: charts/policy-hub
repoURL: 'https://github.com/eclipse-tractusx/policy-hub.git'
targetRevision: policy-hub-1.0.0
targetRevision: chore/349-deploy-to-eV
plugin:
env:
- name: AVP_SECRET
value: vault-secret
- name: helm_args
value: '-f values.yaml -f ../../consortia/environments/values-beta.yaml'
value: '-f values.yaml -f ../../environments/helm-values/values-int.yaml'
project: project-portal
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- name: AVP_SECRET
value: vault-secret
- name: helm_args
value: '-f values.yaml -f ../../consortia/environments/values-dev.yaml'
value: '-f values.yaml -f ../../environments/consortia/helm-values/values-dev.yaml'
project: project-portal
syncPolicy:
automated:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ spec:
- name: AVP_SECRET
value: vault-secret
- name: helm_args
value: '-f values.yaml -f ../../consortia/environments/values-int.yaml'
value: '-f values.yaml -f ../../environments/consortia/helm-values/values-int.yaml'
project: project-portal
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ spec:
- name: AVP_SECRET
value: vault-secret
- name: helm_args
value: '-f values.yaml -f ../../consortia/environments/values-rc.yaml'
value: '-f values.yaml -f ../../environments/consortia/helm-values/values-rc.yaml'
project: project-portal
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,46 @@
# SPDX-License-Identifier: Apache-2.0
###############################################################

policyHubAddress: "https://policy-hub-pen.dev.demo.catena-x.net"
policyHubAddress: "https://policy-hub.int.catena-x.net"
centralidp:
address: "https://centralidp-pen.dev.demo.catena-x.net"
address: "https://centralidp.int.catena-x.net"

ingress:
enabled: true
className: "nginx"
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "8m"
nginx.ingress.kubernetes.io/cors-allow-origin: "http://localhost:3000, https://*.dev.demo.catena-x.net"
nginx.ingress.kubernetes.io/cors-allow-origin: "https://*.int.catena-x.net"
tls:
- secretName: "tls-secret"
- secretName: "policy-hub.int.catena-x.net-tls"
hosts:
- "policy-hub-backend-pen.dev.demo.catena-x.net"
- "policy-hub.int.catena-x.net"
hosts:
- host: "policy-hub-backend-pen.dev.demo.catena-x.net"
- host: "policy-hub.int.catena-x.net"
paths:
- path: "/api/policy-hub"
pathType: "Prefix"

service:
keycloak:
central:
jwtBearerOptions:
tokenValidationParameters:
validAudience: "Cl23-CX-Policy-Hub"

policyhub:
swaggerEnabled: true

migrations:
policyhubmigrations:
logging:
default: "Debug"

replicaCount: 2

postgresql:
architecture: standalone
auth:
postgrespassword: "<path:portal/data/policy-hub/pen/postgres#postgres-password>"
password: "<path:portal/data/policy-hub/pen/postgres#password>"
replicationPassword: "<path:portal/data/policy-hub/pen/postgres#replication-password>"
postgrespassword: "<path:portal/data/policy-hub/int/postgres#postgres-password>"
password: "<path:portal/data/policy-hub/int/postgres#password>"

0 comments on commit 081d71b

Please sign in to comment.