mirror of
https://github.com/ION606/argo-temp.git
synced 2026-05-15 04:16:53 +00:00
added initial istio BLAHAJ code
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# THE C H I L D
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: app-kelp
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/ION606/argo-temp.git
|
||||
targetRevision: blahaj-app
|
||||
path: apps/kelp
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: demo
|
||||
syncPolicy:
|
||||
automated: { prune: true, selfHeal: true }
|
||||
@@ -0,0 +1,17 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: blahaj-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/ION606/argo-temp.git
|
||||
targetRevision: blahaj-app
|
||||
path: environments/dev
|
||||
directory: { recurse: true }
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated: { prune: true, selfHeal: true }
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: blahaj-gw
|
||||
namespace: demo
|
||||
spec:
|
||||
gatewayClassName: istio
|
||||
listeners:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: HTTP
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: blahaj-routes
|
||||
namespace: demo
|
||||
spec:
|
||||
parentRefs: [{ name: blahaj-gw }]
|
||||
rules:
|
||||
- matches: [{ path: { type: PathPrefix, value: "/" } }]
|
||||
backendRefs: [{ name: reef, port: 80 }]
|
||||
- matches: [{ path: { type: PathPrefix, value: "/kelp" } }]
|
||||
backendRefs: [{ name: kelp, port: 80 }]
|
||||
- matches: [{ path: { type: PathPrefix, value: "/coral" } }]
|
||||
backendRefs: [{ name: coral, port: 80 }]
|
||||
- matches: [{ path: { type: PathPrefix, value: "/bubbles" } }]
|
||||
backendRefs: [{ name: bubbles, port: 80 }]
|
||||
- matches: [{ path: { type: PathPrefix, value: "/blahaj" } }]
|
||||
backendRefs: [{ name: bubbles, port: 80 }]
|
||||
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: demo
|
||||
labels:
|
||||
istio.io/dataplane-mode: ambient
|
||||
Reference in New Issue
Block a user