mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fc90c82f2 |
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -75,5 +75,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
config-name: release-drafter-config.yml
|
config-name: release-drafter-config.yml
|
||||||
publish: true
|
publish: true
|
||||||
|
assets: |
|
||||||
|
operator.yaml
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
apiVersion: storage.k8s.io/v1
|
|
||||||
kind: StorageClass
|
|
||||||
metadata:
|
|
||||||
name: homelab-operator-local-path
|
|
||||||
provisioner: homelab-operator-local-path
|
|
||||||
reclaimPolicy: Retain
|
|
||||||
allowVolumeExpansion: true
|
|
||||||
volumeBindingMode: Immediate
|
|
||||||
parameters:
|
|
||||||
hello: 'world'
|
|
||||||
34
operator.yaml
Normal file
34
operator.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: homelab
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: homelab
|
||||||
|
namespace: homelab
|
||||||
|
spec:
|
||||||
|
interval: 60m
|
||||||
|
url: https://github.com/morten-olsen/homelab-operator
|
||||||
|
ref:
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: operator
|
||||||
|
namespace: homelab
|
||||||
|
spec:
|
||||||
|
releaseName: operator
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: chart
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: homelab
|
||||||
|
namespace: homelab
|
||||||
Reference in New Issue
Block a user