initial commit
This commit is contained in:
2
dev/olproperties/.argocdignore
Normal file
2
dev/olproperties/.argocdignore
Normal file
@@ -0,0 +1,2 @@
|
||||
catalog-info.yaml
|
||||
catalog-info.yml
|
||||
19
dev/olproperties/docs/catalog-info.yaml.ignore
Normal file
19
dev/olproperties/docs/catalog-info.yaml.ignore
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: dev-olproperties
|
||||
title: Olproperties (dev)
|
||||
description: Olproperties instance running in Kubernetes
|
||||
annotations:
|
||||
backstage.io/kubernetes-label-selector: "app=olproperties"
|
||||
links:
|
||||
- url: https://github.com/AllardKrings/kubernetes/dev/olproperties
|
||||
title: olproperties-configuration
|
||||
docs:
|
||||
- url: ./README.md
|
||||
spec:
|
||||
type: service
|
||||
lifecycle: production
|
||||
owner: group:default/allarddcs
|
||||
subcomponentOf: component:default/DEV-cluster
|
||||
|
||||
53
dev/olproperties/olproperties.yaml
Executable file
53
dev/olproperties/olproperties.yaml
Executable file
@@ -0,0 +1,53 @@
|
||||
apiVersion: apps/v1
|
||||
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: harbor-dev.allarddcs.nl/allard/olproperties:1.3
|
||||
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.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: olproperties-tls
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`olproperties-dev.allarddcs.nl`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: olproperties
|
||||
port: 9080
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
Reference in New Issue
Block a user