Skip to content

Commit

Permalink
feat: add separate radixconfig for transfer POC (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjetilhau authored Nov 25, 2024
1 parent e7e3807 commit 137fa70
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/Equinor.ProjectExecutionPortal.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
nuget.config = nuget.config
..\..\radixconfig.yaml = ..\..\radixconfig.yaml
..\README.md = ..\README.md
..\..\radixconfig_pcs5-demo.yaml = ..\..\radixconfig_pcs5-demo.yaml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{1E2C7897-D92B-429C-8114-8D99DFFCF275}"
Expand Down
144 changes: 144 additions & 0 deletions radixconfig_pcs5-demo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: pcs5-demo
spec:
build:
useBuildKit: true
useBuildCache: true
environments:
- name: admin
- name: transfer
- name: status
- name: scoping
components:
# Web Server (client backend)
- name: webserver
identity:
azure:
clientId: ea425507-0de4-4f5f-bac8-48cea54f7a0c
src: . # Dockerfile location
dockerfileName: clientBackend.Dockerfile
variables:
ASPNETCORE_URLS: "http://*:5000"
ApplicationInsights__ConnectionString: ""
AzureAd__ClientId: ""
ClientBundle__Msal__ClientId: ""
ClientBundle__PortalId: ""
FusionPortalApi__BaseAddress: ""
FusionPortalApi__Scope: ""
AssetProxy__FusionPortalUrl: ""
AssetProxy__FusionPeopleUrl: ""
AssetProxy__FusionAppsUrl: ""
AssetProxy__TokenScope: ""
FusionProjectPortalApi__BaseAddress: ""
FusionProjectPortalApi__Scope: ""
FusionBookmarks__Name: ""
FusionBookmarks__Identifier: ""
FusionBookmarks__Subsystem: "Project Portal"
ClientBundle__FusionLegacyEnvIdentifier: "ci"
ports:
- name: http
port: 5000
publicPort: http
environmentConfig:
- environment: admin
identity:
azure:
clientId: 68e0c697-b713-4cd0-b24f-c2509f442e84
secretRefs:
azureKeyVaults:
- name: kv-pep-ws-noe-test
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ClientBundle--AgGrid--LicenseKey
type: secret
envVar: ClientBundle__AgGrid__LicenseKey
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"
- environment: transfer
identity:
azure:
clientId: 68e0c697-b713-4cd0-b24f-c2509f442e84
secretRefs:
azureKeyVaults:
- name: kv-pep-ws-noe-test
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ClientBundle--AgGrid--LicenseKey
type: secret
envVar: ClientBundle__AgGrid__LicenseKey
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"
- environment: status
identity:
azure:
clientId: 68e0c697-b713-4cd0-b24f-c2509f442e84
secretRefs:
azureKeyVaults:
- name: kv-pep-ws-noe-test
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ClientBundle--AgGrid--LicenseKey
type: secret
envVar: ClientBundle__AgGrid__LicenseKey
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"
- environment: scoping
identity:
azure:
clientId: 68e0c697-b713-4cd0-b24f-c2509f442e84
secretRefs:
azureKeyVaults:
- name: kv-pep-ws-noe-test
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ClientBundle--AgGrid--LicenseKey
type: secret
envVar: ClientBundle__AgGrid__LicenseKey
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"

0 comments on commit 137fa70

Please sign in to comment.