Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add lightmare #20

Merged
merged 9 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
terraform state rm \
module.spectrum.helm_release.flux-sync \
module.spectrum.helm_release.flux \
module.spectrum.helm_release.cilium
module.spectrum.helm_release.cilium || true
terraform destroy -auto-approve
terraform workspace delete ${{ steps.sanitize.outputs.workspace }}
;;
Expand Down
4 changes: 2 additions & 2 deletions flux/components/kubevirt/ks.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: kube-virt
name: kubevirt
namespace: flux-system
spec:
interval: 1m0s
path: ./flux/components/kube-virt/app
path: ./flux/components/kubevirt/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
6 changes: 6 additions & 0 deletions flux/core/lightmare/app/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yml
- repository.yml
- release.yml
4 changes: 4 additions & 0 deletions flux/core/lightmare/app/namespace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: lightmare
16 changes: 16 additions & 0 deletions flux/core/lightmare/app/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: lightmare
namespace: lightmare
spec:
interval: 5m
chartRef:
kind: OCIRepository
name: lightmare
namespace: flux-system
values:
image:
repository: fluencelabs/lightmare
tag: main
pullPolicy: Always
10 changes: 10 additions & 0 deletions flux/core/lightmare/app/repository.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: lightmare
namespace: flux-system
spec:
interval: 5m0s
url: oci://registry-1.docker.io/fluencelabs/lightmare-chart
ref:
tag: 0.1.0
13 changes: 13 additions & 0 deletions flux/core/lightmare/ks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: lightmare
namespace: flux-system
spec:
interval: 1m0s
path: ./flux/core/lightmare/app
prune: true
sourceRef:
kind: GitRepository
name: spectrum
namespace: flux-system
4 changes: 4 additions & 0 deletions flux/core/lightmare/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ks.yaml
2 changes: 1 addition & 1 deletion terraform-modules/spectrum/templates/flux-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ kustomization:
kustomizationlist:
- spec:
interval: 1m0s
path: "./flux/components/lightmare/app"
path: "./flux/core/lightmare/app"
prune: true
Loading