Skip to content

Commit

Permalink
Solution file cleanup
Browse files Browse the repository at this point in the history
Add argo.run k8 configuration info.
  • Loading branch information
GinoCanessa committed Jul 18, 2024
1 parent 6716921 commit d234b60
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 4 deletions.
145 changes: 145 additions & 0 deletions .deployments/k8-argo-run-ris.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ri-subscriptions
namespace: subscriptions-ri
labels:
app: ri-subscriptions
spec:
replicas: 1
selector:
matchLabels:
app: ri-subscriptions
template:
metadata:
labels:
app: ri-subscriptions
spec:
containers:
- name: fhir-candle
image: ghcr.io/fhir/fhir-candle:latest
command: ["dotnet"]
args: ["fhir-candle.dll", "--reference-implementation", "subscriptions", "--load-package", "hl7.fhir.uv.subscriptions-backport#1.1.0", "--load-examples", "false", "--protect-source", "true", "-m", "200"]
envFrom:
- configMapRef:
name: special-config
env:
- name: Listen_Port
value: "5826"
- name: Public_Url
value: "https://subscriptions.argo.run"
- name: Zulip_Email
valueFrom:
secretKeyRef:
name: argonaut-secrets
key: Zulip_Email
- name: Zulip_Key
valueFrom:
secretKeyRef:
name: argonaut-secrets
key: Zulip_Key
- name: Zulip_Url
value: "https://chat.fhir.org"
- name: SMTP_Host
valueFrom:
secretKeyRef:
name: argonaut-secrets
key: SMTP_Host
- name: SMTP_Password
valueFrom:
secretKeyRef:
name: argonaut-secrets
key: SMTP_Password
- name: SMTP_Port
valueFrom:
secretKeyRef:
name: argonaut-secrets
key: SMTP_Port
- name: SMTP_User
valueFrom:
secretKeyRef:
name: argonaut-secrets
key: SMTP_User
ports:
- containerPort: 5826
---
apiVersion: v1
kind: Service
metadata:
namespace: subscriptions-ri
name: ri-subscriptions
spec:
selector:
app: ri-subscriptions
ports:
- protocol: TCP
port: 80
targetPort: 5826
---
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
name: subscriptions-ingress
namespace: subscriptions-ri
annotations:
cert-manager.io/cluster-issuer: letsencrypt-nginx
spec:
tls:
- hosts:
- subscriptions.argo.run
- cdex.ri.argo.run
- ecr.ri.argo.run
- vitals-server.ri.argo.run
- feature-cs-server.ri.argo.run
secretName: tls-secret
rules:
- host: subscriptions.argo.run
http:
paths:
- backend:
service:
name: ri-subscriptions
port:
number: 80
path: /
pathType: Prefix
- host: cdex.ri.argo.run
http:
paths:
- backend:
service:
name: ri-cdex
port:
number: 80
path: /
pathType: Prefix
- host: ecr.ri.argo.run
http:
paths:
- backend:
service:
name: ri-ecr
port:
number: 80
path: /
pathType: Prefix
- host: vitals-server.ri.argo.run
http:
paths:
- backend:
service:
name: ri-vitals-server
port:
number: 80
path: /
pathType: Prefix
- host: feature-cs-server.ri.argo.run
http:
paths:
- backend:
service:
name: ri-feature-cs-server
port:
number: 80
path: /
pathType: Prefix
24 changes: 20 additions & 4 deletions fhir-candle.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
.github\workflows\argo-subscriptions.yml = .github\workflows\argo-subscriptions.yml
.github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml
CONTRIBUTING.MD = CONTRIBUTING.MD
Dockerfile = Dockerfile
fhir-candle.props = fhir-candle.props
.github\workflows\ghcr-docker.yml = .github\workflows\ghcr-docker.yml
LICENSE = LICENSE
.github\workflows\nuget-tool.yml = .github\workflows\nuget-tool.yml
README.md = README.md
THIRDPARTYNOTICES.md = THIRDPARTYNOTICES.md
EndProjectSection
Expand All @@ -41,6 +37,21 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FhirCandle.Ui.R5", "src\Fhi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FhirCandle.Ui.Common", "src\FhirCandle.Ui.Common\FhirCandle.Ui.Common.csproj", "{2276D057-68A6-4639-A821-0C028D8449D0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".deployments", ".deployments", "{C08AFD85-C98F-4DEA-8915-AEE3CF5A7C15}"
ProjectSection(SolutionItems) = preProject
.deployments\k8-argo-run-ris.yaml = .deployments\k8-argo-run-ris.yaml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{1AAC7962-65B4-42CD-AD5F-3EE8BD3149D0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{22C11CB9-2408-4056-B41E-87DD07AECF94}"
ProjectSection(SolutionItems) = preProject
.github\workflows\argo-subscriptions.yml = .github\workflows\argo-subscriptions.yml
.github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml
.github\workflows\ghcr-docker.yml = .github\workflows\ghcr-docker.yml
.github\workflows\nuget-tool.yml = .github\workflows\nuget-tool.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -91,6 +102,11 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{C08AFD85-C98F-4DEA-8915-AEE3CF5A7C15} = {8B6BFF93-0260-40D3-BF26-175BC295D77B}
{1AAC7962-65B4-42CD-AD5F-3EE8BD3149D0} = {8B6BFF93-0260-40D3-BF26-175BC295D77B}
{22C11CB9-2408-4056-B41E-87DD07AECF94} = {1AAC7962-65B4-42CD-AD5F-3EE8BD3149D0}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2F9896CC-1A33-4A99-95F9-8D13DF291779}
EndGlobalSection
Expand Down

0 comments on commit d234b60

Please sign in to comment.