Try portainer!

This commit is contained in:
2023-10-24 17:28:08 +01:00
parent 92c8d5bee0
commit ecf0fa850b
12 changed files with 48 additions and 8090 deletions

View File

@@ -1,17 +0,0 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: podinfo
namespace: flux-system
spec:
interval: 30m0s
path: ./kustomize
prune: true
retryInterval: 2m0s
sourceRef:
kind: GitRepository
name: podinfo
targetNamespace: default
timeout: 3m0s
wait: true

View File

@@ -1,11 +0,0 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: podinfo
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: master
url: https://github.com/stefanprodan/podinfo

View File

@@ -0,0 +1,17 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: portainer
namespace: portainer
spec:
interval: 5m
chart:
spec:
chart: portainer
sourceRef:
kind: HelmRepository
name: portainer
namespace: portainer
interval: 1m
values:
replicaCount: 1

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: portainer
namespace: portainer
spec:
interval: 1m
url: https://portainer.github.io/k8s

View File

@@ -0,0 +1,5 @@
namespace: portainer
resources:
- namespace.yaml
- helm-repository.yaml
- helm-release.yaml

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: portainer

File diff suppressed because it is too large Load Diff

View File

@@ -1,27 +0,0 @@
# This manifest was generated by flux. DO NOT EDIT.
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
secretRef:
name: flux-system
url: ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m0s
path: ./
prune: true
sourceRef:
kind: GitRepository
name: flux-system

View File

@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml

View File

@@ -0,0 +1,12 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: portainer
namespace: flux-system
spec:
interval: 10m0s
path: ./apps/portainer
prune: true
sourceRef:
kind: GitRepository
name: flux-system

View File

@@ -3,3 +3,4 @@ kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
- apps/*.yaml

View File

@@ -2,4 +2,4 @@ choco install kind
choco install flux
kind create cluster
flux bootstrap git --private-key-file=~/.ssh/gitea --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=cluster
flux bootstrap git --private-key-file=C:/Users/Joe/.ssh/gitea --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=clusters/kind