Fix file structure

Steven 2021-03-04 21:26:14 +01:00
parent bd221141d6
commit 5997549d38
1 changed files with 0 additions and 166 deletions

166
all.yaml
View File

@ -1,166 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: db-claim0
name: db-claim0
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
io.kompose.service: db
name: db
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: db
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
io.kompose.service: db
spec:
containers:
- env:
- name: MYSQL_DATABASE
- name: MYSQL_PASSWORD
- name: MYSQL_ROOT_PASSWORD
- name: MYSQL_USER
image: mysql/mysql-server:5.7
name: misp-db
resources: {}
volumeMounts:
- mountPath: /var/lib/mysql
name: db-claim0
restartPolicy: Always
volumes:
- name: db-claim0
persistentVolumeClaim:
claimName: db-claim0
status: {}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: web-claim0
name: web-claim0
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: web-claim1
name: web-claim1
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
io.kompose.service: web
name: web
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: web
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
io.kompose.service: web
spec:
containers:
- env:
- name: MISP_ADMIN_EMAIL
- name: MISP_ADMIN_PASSPHRASE
- name: MISP_BASEURL
- name: MYSQL_DATABASE
- name: MYSQL_HOST
- name: MYSQL_PASSWORD
- name: MYSQL_USER
- name: POSTFIX_RELAY_HOST
- name: TIMEZONE
image: misp:latest
name: misp-web
ports:
- containerPort: 80
resources: {}
volumeMounts:
- mountPath: /dev/random
name: web-claim0
- mountPath: /var/www/MISP
name: web-claim1
restartPolicy: Always
volumes:
- name: web-claim0
persistentVolumeClaim:
claimName: web-claim0
- name: web-claim1
persistentVolumeClaim:
claimName: web-claim1
status: {}
---
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
io.kompose.service: web
name: web
spec:
ports:
- name: "80"
port: 80
targetPort: 80
selector:
io.kompose.service: web
status:
loadBalancer: {}