Add test app
This commit is contained in:
parent
7b98d28dea
commit
8c1fe434cc
@ -1,44 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: test-service
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
selector:
|
||||
run: test
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
labels:
|
||||
run: test
|
||||
name: test
|
||||
spec:
|
||||
containers:
|
||||
- image: nginx
|
||||
name: test
|
||||
ports:
|
||||
- containerPort: 80
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: nginx-ingress
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- test.kjuulh.app
|
||||
rules:
|
||||
- host: test.kjuulh.app
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: test-service
|
||||
port:
|
||||
number: 80
|
12
clank/apps/test/podinfo-source.yaml
Normal file
12
clank/apps/test/podinfo-source.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: podinfo
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 30s
|
||||
ref:
|
||||
branch: master
|
||||
url: https://github.com/stefanprodan/podinfo
|
||||
|
Loading…
Reference in New Issue
Block a user