test
This commit is contained in:
parent
3195e570c8
commit
820b56fd6b
|
|
@ -0,0 +1,51 @@
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: olproperties
|
||||
labels:
|
||||
app: olproperties
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: olproperties
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: olproperties
|
||||
spec:
|
||||
containers:
|
||||
- name: olproperties
|
||||
image: allardkrings/riscv64-olproperties:1.0
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 9080
|
||||
imagePullSecrets:
|
||||
- name: registry-credentials
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: olproperties
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: port-0
|
||||
port: 9080
|
||||
selector:
|
||||
app: olproperties
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: olproperties-tls
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`olproperties-riscv.allarddcs.nl`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: olproperties
|
||||
port: 9080
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
Loading…
Reference in New Issue
Block a user