refactor!: renommer module et réorganiser fichiers
BREAKING: Rapporter fichiers `pkg/*.go` à la racine BREAKING: Bump version du module à `git.agecem.com/agecem/babillard/v8` et ajuster les références
This commit is contained in:
parent
0d8f880023
commit
217b17d436
10 changed files with 3 additions and 3 deletions
31
k8s/deployment.yaml
Normal file
31
k8s/deployment.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: babillard-deployment
|
||||
labels:
|
||||
app: babillard
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: babillard
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: babillard
|
||||
spec:
|
||||
containers:
|
||||
- name: babillard
|
||||
image: git.agecem.com/agecem/babillard:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: babillard-nfs
|
||||
mountPath: "/app/contenu"
|
||||
volumes:
|
||||
- name: babillard-nfs
|
||||
nfs:
|
||||
server: fs.agecem.com
|
||||
path: /mnt/Pool1/babillard
|
||||
readOnly: true
|
13
k8s/service.yaml
Normal file
13
k8s/service.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: babillard-service
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: babillard
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
nodePort: 30001
|
Loading…
Add table
Add a link
Reference in a new issue