removed obsolete kubernetes stuff
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
lighttpd is configured in etc_lighttpd
|
|
||||||
generate a configmap with:
|
|
||||||
kubectl create configmap rompr-lighttpd-config --from-file etc_lighthttpd/
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: rompr
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: rompr
|
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: rompr
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- image: cr.lan/rompr
|
|
||||||
name: rompr
|
|
||||||
imagePullPolicy: Always
|
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
name: http
|
|
||||||
volumeMounts:
|
|
||||||
- name: rompr-data
|
|
||||||
mountPath: /rompr
|
|
||||||
volumes:
|
|
||||||
- name: rompr-data
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: rompr-data
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: rompr
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 80
|
|
||||||
selector:
|
|
||||||
app: rompr
|
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: rompr
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: nginx
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: musik.lan
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: rompr
|
|
||||||
port:
|
|
||||||
name: http
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: rompr-data
|
|
||||||
spec:
|
|
||||||
storageClassName: nfs-ssd
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 6Gi
|
|
||||||
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
apiVersion: tekton.dev/v1beta1
|
|
||||||
kind: PipelineRun
|
|
||||||
metadata:
|
|
||||||
name: build-rompr
|
|
||||||
spec:
|
|
||||||
pipelineRef:
|
|
||||||
name: kaniko-pipeline
|
|
||||||
params:
|
|
||||||
- name: git-url
|
|
||||||
value: http://git-ui.lan/chaos/kubernetes.git
|
|
||||||
- name: git-revision
|
|
||||||
value: master
|
|
||||||
- name: path-to-image-context
|
|
||||||
value: apps/rompr
|
|
||||||
- name: path-to-dockerfile
|
|
||||||
value: ./Dockerfile
|
|
||||||
- name: image-name
|
|
||||||
value: cr.lan/rompr
|
|
||||||
workspaces:
|
|
||||||
- name: git-source
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: tektoncd-workspaces
|
|
||||||
subPath: tekton/kaniko-pipelines
|
|
||||||
Reference in New Issue
Block a user