generated from phoenix-oss/tenant-tpl
change chart location
This commit is contained in:
parent
70c9cc437d
commit
14f83e08a5
5 changed files with 35 additions and 6 deletions
15
repos/helm/ubuntu.yaml
Normal file
15
repos/helm/ubuntu.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: ubuntu-vm-helm
|
||||||
|
namespace: ${TENANT_NAMESPACE}-ns
|
||||||
|
spec:
|
||||||
|
vmName: ubuntu-helm
|
||||||
|
namespace: kubevirt-vms
|
||||||
|
imageURL: "quay.io/containerdisks/ubuntu:22.04"
|
||||||
|
storageSize: 40Gi
|
||||||
|
storageClassName: standard
|
||||||
|
cpu: 2
|
||||||
|
memory: 4Gi
|
|
@ -1,4 +0,0 @@
|
||||||
apiVersion: v2
|
|
||||||
name: ubuntu-helm
|
|
||||||
description: Deploy an Unbuntu VirtualMachine using KubeVirt
|
|
||||||
version: 0.1.0
|
|
|
@ -9,7 +9,7 @@ spec:
|
||||||
interval: 30m
|
interval: 30m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: ./charts # local path in Git repo
|
chart: ./repos/helm # local path in Git repo
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: tenant-repos
|
name: tenant-repos
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
vmName: ubuntu-helm
|
vmName: windows-vm
|
||||||
namespace: kubevirt-vms
|
namespace: kubevirt-vms
|
||||||
imageURL: "quay.io/containerdisks/ubuntu:22.04"
|
imageURL: "quay.io/containerdisks/ubuntu:22.04"
|
||||||
storageSize: 40Gi
|
storageSize: 40Gi
|
18
ubuntu-vm/ks.yaml
Normal file
18
ubuntu-vm/ks.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &app ubuntu-vm
|
||||||
|
namespace: ${TENANT_NAMESPACE}
|
||||||
|
spec:
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
|
path: ./ubuntu-vm/ubuntu
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: tenant-repos
|
||||||
|
wait: false
|
||||||
|
interval: 30m
|
||||||
|
retryInterval: 1m
|
||||||
|
timeout: 5m
|
Loading…
Add table
Add a link
Reference in a new issue