diff --git a/kubernetes/apps/kustomization.yaml b/kubernetes/apps/kustomization.yaml index 14b3e26..4b0316e 100644 --- a/kubernetes/apps/kustomization.yaml +++ b/kubernetes/apps/kustomization.yaml @@ -16,3 +16,5 @@ resources: - umami - chore-score-bot - travel-price-map-redirects + - lod-codefor-de-api + - lod-codefor-de-frontend diff --git a/kubernetes/apps/lod-codefor-de-api/kustomization.yaml b/kubernetes/apps/lod-codefor-de-api/kustomization.yaml new file mode 100644 index 0000000..ad4414d --- /dev/null +++ b/kubernetes/apps/lod-codefor-de-api/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - release.yaml diff --git a/kubernetes/apps/lod-codefor-de-api/release.yaml b/kubernetes/apps/lod-codefor-de-api/release.yaml new file mode 100644 index 0000000..855d41b --- /dev/null +++ b/kubernetes/apps/lod-codefor-de-api/release.yaml @@ -0,0 +1,31 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: lod-codefor-de-api + namespace: app-releases +spec: + chart: + spec: + chart: simple-app + sourceRef: + kind: HelmRepository + name: charts + namespace: flux-system + version: '^3.1.0' + interval: 5m + values: + image: + repositoryWithRegistry: "ghcr.io/juliuste/lod.codefor.de-api" # {"$imagepolicy": "flux-system:lod-codefor-de-api-image-policy:name"} + tag: "v1_e7af552_2024-09-09T19.30.47Z" # {"$imagepolicy": "flux-system:lod-codefor-de-api-image-policy:tag"} + exposedPort: 8080 + environment: + PORT: 8080 + resources: + limits: + cpu: 1000m + memory: 2048Mi + requests: + cpu: 100m + memory: 512Mi + livenessProbe: false + startupProbe: false diff --git a/kubernetes/apps/lod-codefor-de-frontend/kustomization.yaml b/kubernetes/apps/lod-codefor-de-frontend/kustomization.yaml new file mode 100644 index 0000000..ad4414d --- /dev/null +++ b/kubernetes/apps/lod-codefor-de-frontend/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - release.yaml diff --git a/kubernetes/apps/lod-codefor-de-frontend/release.yaml b/kubernetes/apps/lod-codefor-de-frontend/release.yaml new file mode 100644 index 0000000..58cad58 --- /dev/null +++ b/kubernetes/apps/lod-codefor-de-frontend/release.yaml @@ -0,0 +1,34 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: lod-codefor-de-frontend + namespace: app-releases +spec: + chart: + spec: + chart: simple-app + sourceRef: + kind: HelmRepository + name: charts + namespace: flux-system + version: '^3.1.0' + interval: 5m + values: + image: + repositoryWithRegistry: "ghcr.io/juliuste/lod.codefor.de-frontend" # {"$imagepolicy": "flux-system:lod-codefor-de-frontend-image-policy:name"} + tag: "v1_e7af552_2024-09-09T19.30.47Z" # {"$imagepolicy": "flux-system:lod-codefor-de-frontend-image-policy:tag"} + exposedPort: 8080 + environment: + PORT: 8080 + SPARQL_ENDPOINT_URL: 'http://lod-codefor-de-api-service.lod-codefor-de-api:80/dataset/sparql' + hosts: + - 'lod.codefor.de' + # resources: + # limits: + # cpu: 200m + # memory: 256Mi + # requests: + # cpu: 100m + # memory: 128Mi + livenessProbe: false + startupProbe: false