A lot of changes that are hard to track
This commit is contained in:
14
manifests/argo-apps/app.yaml
Normal file
14
manifests/argo-apps/app.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: vaultflux
|
||||
namespace: argo-system
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: git@git.badhouseplants.net:badhouseplants/k8s-cluster-config.git
|
||||
targetRevision: try-argo-and-flux
|
||||
path: manifests/debug/istio
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: default
|
@ -7,22 +7,22 @@ metadata:
|
||||
name: debug
|
||||
---
|
||||
# httpbin.yaml
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: httpbin
|
||||
namespace: debug
|
||||
spec:
|
||||
hosts:
|
||||
- "httpbin.badhouseplants.net"
|
||||
gateways:
|
||||
- istio-system/badhouseplants-net
|
||||
http:
|
||||
- route:
|
||||
- destination:
|
||||
port:
|
||||
number: 8000
|
||||
host: httpbin
|
||||
#apiVersion: networking.istio.io/v1alpha3
|
||||
#kind: VirtualService
|
||||
#metadata:
|
||||
# name: httpbin
|
||||
# namespace: debug
|
||||
#spec:
|
||||
# hosts:
|
||||
# - "httpbin.badhouseplants.net"
|
||||
# gateways:
|
||||
# - istio-system/badhouseplants-net
|
||||
# http:
|
||||
# - route:
|
||||
# - destination:
|
||||
# port:
|
||||
# number: 8000
|
||||
# host: httpbin
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
@ -79,3 +79,19 @@ spec:
|
||||
name: httpbin
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: ubuntu
|
||||
namespace: argo-system
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: git@git.badhouseplants.net:badhouseplants/k8s-cluster-config.git
|
||||
targetRevision: try-argo-and-flux
|
||||
path: manifests/debug/ubuntu
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: default
|
||||
|
52
manifests/helm-releases/podinfo.yaml
Normal file
52
manifests/helm-releases/podinfo.yaml
Normal file
@ -0,0 +1,52 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: podinfo
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 5m
|
||||
url: https://git.badhouseplants.net/api/packages/allanger/helm
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: podinfo
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 10m
|
||||
timeout: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: vaultwarden
|
||||
version: '1.2.0'
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: podinfo
|
||||
interval: 5m
|
||||
releaseName: vaultflux
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 3
|
||||
test:
|
||||
enable: true
|
||||
driftDetection:
|
||||
mode: enabled
|
||||
ignore:
|
||||
- paths: ["/spec/replicas"]
|
||||
target:
|
||||
kind: Deployment
|
||||
postRenderers:
|
||||
- kustomize:
|
||||
patches:
|
||||
- target:
|
||||
labelSelector: app.kubernetes.io/instance=vaultflux
|
||||
patch: |
|
||||
- op: add
|
||||
path: "/metadata/labels/argocd.argoproj.io~1instances"
|
||||
value: vaultflux
|
||||
values:
|
||||
replicaCount: 2
|
Reference in New Issue
Block a user