Skip to content

Commit

Permalink
Kustomize added and changed Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aalonsolopez committed Nov 27, 2024
1 parent 8626977 commit a3aa24f
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 46 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/create-image.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: CI CD

on:
push:

jobs:
main-GH-workflow:
uses: Gravitate-Health/reusable-workflows/.github/workflows/main.yml@main
secrets:
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
KUBECONFIG_DEV: ${{ secrets.KUBECONFIG_DEV }}
10 changes: 0 additions & 10 deletions .github/workflows/ruff-check.yml

This file was deleted.

File renamed without changes.
32 changes: 32 additions & 0 deletions kubernetes/base/002-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: external-summary-lens-python
spec:
replicas: 1
selector:
matchLabels:
app: external-summary-lens-python
template:
metadata:
labels:
app: external-summary-lens-python
spec:
containers:
- name: external-summary-lens-python
image: gravitate-registry.cr.de-fra.ionos.com/external-summary-lens-python:v0.1.0
imagePullPolicy: Always
env:
- name: SERVER_URL
value: "https://fosps.gravitatehealth.eu/"
- name: MODEL_URL
value: "https://ollama.lst.tfo.upm.es"
- name: OPENAI_KEY
value: ""
- name: GROQ_API_KEY
value: ""
ports:
- containerPort: 80
protocol: TCP
restartPolicy: Always
status: {}
File renamed without changes.
7 changes: 7 additions & 0 deletions kubernetes/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- 001-service.yaml
- 002-deployment.yaml
- 003-vs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: external-summary-lens-python
image: gravitate-registry.cr.de-fra.ionos.com/external-summary-lens-python:dev
image: gravitate-registry.cr.de-fra.ionos.com/external-summary-lens-python:latest
imagePullPolicy: Always
env:
- name: SERVER_URL
Expand Down
8 changes: 8 additions & 0 deletions kubernetes/dev/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../base

patches:
- path: 002-deployment.yaml

0 comments on commit a3aa24f

Please sign in to comment.