Added config for service
This commit is contained in:
parent
c3c8c4d509
commit
4e39627bbf
2 changed files with 45 additions and 6 deletions
|
@ -162,3 +162,24 @@ spec:
|
|||
automated:
|
||||
selfHeal: false
|
||||
prune: true
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: dashboard
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.ar21.de/yolokube/core-deployments.git
|
||||
targetRevision: HEAD
|
||||
path: dashboard
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: dashboard
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
automated:
|
||||
selfHeal: false
|
||||
prune: true
|
|
@ -177,10 +177,10 @@ data:
|
|||
"name": "Monitoring",
|
||||
"items": [
|
||||
{
|
||||
"name": "Test",
|
||||
"displayURL": "Test.exaple.com",
|
||||
"url": "test.exaple.com",
|
||||
"icon": "e88a",
|
||||
"name": "Grafana",
|
||||
"displayURL": "grafana-old.services.yolokube.de",
|
||||
"url": "grafana-old.services.yolokube.de",
|
||||
"icon": "e6e1",
|
||||
"newTab": true
|
||||
}
|
||||
]
|
||||
|
@ -277,7 +277,7 @@ spec:
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: dashboard
|
||||
name: dashboard-service
|
||||
namespace: dashboard
|
||||
spec:
|
||||
selector:
|
||||
|
@ -286,3 +286,21 @@ spec:
|
|||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: dashboard-ingress
|
||||
namespace: dashboard
|
||||
spec:
|
||||
rules:
|
||||
- host: "dashboard.apps.yolokube.de"
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: dashboard-service
|
||||
port:
|
||||
number: 80
|
Loading…
Reference in a new issue