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

Remove env vars for SMTP in Zitadel #1298

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion kubevirt/examples/disks/debian12-cloud-rwo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
cdi.kubevirt.io/storage.import.endpoint: "https://cloud.debian.org/images/cloud/bookworm/daily/latest/debian-12-generic-amd64-daily.qcow2"
spec:
storageClassName: local-path
storageClassName: seaweedfs-storage
accessModes:
- ReadWriteOnce
resources:
Expand Down
2 changes: 1 addition & 1 deletion kubevirt/examples/disks/deian12-iso-rwo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
cdi.kubevirt.io/storage.import.endpoint: "https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-12.6.0-amd64-DVD-1.iso"
spec:
storageClassName: local-path
storageClassName: seaweedfs-storage
accessModes:
- ReadWriteOnce
resources:
Expand Down
2 changes: 1 addition & 1 deletion kubevirt/examples/disks/jammy-cloud-rwo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
cdi.kubevirt.io/storage.import.endpoint: "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
spec:
storageClassName: local-path
storageClassName: seaweedfs-storage
accessModes:
- ReadWriteOnce
resources:
Expand Down
2 changes: 1 addition & 1 deletion kubevirt/examples/disks/lunar-cloud-rwo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
cdi.kubevirt.io/storage.import.endpoint: "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img"
spec:
storageClassName: local-path
storageClassName: seaweedfs-storage
accessModes:
- ReadWriteOnce
resources:
Expand Down
2 changes: 1 addition & 1 deletion kubevirt/examples/disks/virtio-drivers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
cdi.kubevirt.io/storage.import.endpoint: "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.240-1/virtio-win-0.1.240.iso"
spec:
storageClassName: local-path
storageClassName: seaweedfs-storage
accessModes:
- ReadWriteOnce
resources:
Expand Down
2 changes: 1 addition & 1 deletion kubevirt/examples/disks/windows-10-ro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
cdi.kubevirt.io/storage.import.endpoint: "https://f004.backblazeb2.com/file/buildstar-public-share/windows10.iso"
spec:
storageClassName: local-path
storageClassName: seaweedfs-storage
accessModes:
- ReadWriteOnce
resources:
Expand Down
2 changes: 1 addition & 1 deletion kubevirt/examples/disks/windows-autoconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
cdi.kubevirt.io/storage.import.endpoint: "https://f004.backblazeb2.com/file/buildstar-public-share/config.iso"
spec:
storageClassName: local-path
storageClassName: seaweedfs-storage
accessModes:
- ReadWriteOnce
resources:
Expand Down
32 changes: 17 additions & 15 deletions kubevirt/kubevirt-cdi-argo-app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# KubeVirt extends Kubernetes by adding additional virtualization resource types
# (especially the VM type) through Kubernetes's Custom Resource Definitions API.
# By using this mechanism, the Kubernetes API can be used to manage these VM resources
# KubeVirt extends Kubernetes by adding additional virtualization resource types
# (especially the VM type) through Kubernetes's Custom Resource Definitions API.
# By using this mechanism, the Kubernetes API can be used to manage these VM resources
# alongside all other resources Kubernetes provides.
# https://github.com/kubevirt/kubevirt
---
Expand All @@ -9,6 +9,8 @@ kind: Application
metadata:
name: kubevirt-cdi
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "4"
spec:
destination:
name: ''
Expand All @@ -19,20 +21,20 @@ spec:
repoURL: 'https://cloudymax.github.io/kubevirt-community-stack/'
targetRevision: 0.1.5
chart: kubevirt-cdi
helm:
helm:
values: |
replicaCount: 1

image:
repository: quay.io/kubevirt/cdi-operator
pullPolicy: IfNotPresent
tag: ""

serviceAccount:
create: true
annotations: {}
name: "kubevirt-cdi-service-account"

securityContext:
capabilities:
drop:
Expand All @@ -41,36 +43,36 @@ spec:
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault

service:
type: ClusterIP
port: 8080
name: metrics
protocol: TCP

uploadProxy:
type: ClusterIP
port: 443
targetPort: 8443
protocol: TCP

ingress:
enabled: false

resources:
requests:
cpu: 10m
memory: 150Mi

nodeSelector:
kubernetes.io/os: linux

tolerations:
- key: CriticalAddonsOnly
operator: Exists

affinity: {}

cdi:
featureGates:
- HonorWaitForFirstConsumer
Expand Down
42 changes: 22 additions & 20 deletions kubevirt/kubevirt-operator-argo-app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# KubeVirt extends Kubernetes by adding additional virtualization resource types
# (especially the VM type) through Kubernetes's Custom Resource Definitions API.
# By using this mechanism, the Kubernetes API can be used to manage these VM resources
# KubeVirt extends Kubernetes by adding additional virtualization resource types
# (especially the VM type) through Kubernetes's Custom Resource Definitions API.
# By using this mechanism, the Kubernetes API can be used to manage these VM resources
# alongside all other resources Kubernetes provides.
# https://github.com/kubevirt/kubevirt
---
Expand All @@ -9,6 +9,8 @@ kind: Application
metadata:
name: kubevirt-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "4"
spec:
project: kubevirt
destination:
Expand All @@ -19,43 +21,43 @@ spec:
targetRevision: 0.2.7
chart: kubevirt
helm:
values: |
values: |
replicaCount: 1

image:
repository: quay.io/kubevirt/virt-operator
pullPolicy: IfNotPresent
tag: "v1.2.0"

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

serviceAccount:
create: true
annotations: {}
name: "kubevirt-operator"

podAnnotations: {}

podSecurityContext: {}

securityContext:
privileged: true

resources: {}

nodeSelector: {}
tolerations:
- key: CriticalAddonsOnly
operator: Exists

monitorNamespace: "prometheus"
prometheus:
prometheus:
enabled: true
serviceName: "prom-stack-kube-prometheus-prometheus"
serviceNamesapce: "prometheus"

affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand All @@ -68,11 +70,11 @@ spec:
- virt-operator
topologyKey: kubernetes.io/hostname
weight: 1

priorityclass:
create: true
value: 1000000000

permittedHostDevices:
pciHostDevices:
- pciVendorSelector: "10de:2782"
Expand All @@ -84,12 +86,12 @@ spec:
mediatedDevices:
- mdevNameSelector: "GRID M60-2Q"
resourceName: "nvidia.com/GRID_M60-2Q"

mediatedDevicesTypes:
- nvidia-18

useEmulation: false

featureGates:
- ExpandDisks
- CPUManager
Expand Down
140 changes: 140 additions & 0 deletions kubevirt/s3_csi_driver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kubevirt-swfs-csi-driver
namespace: kubevirt
annotations:
argocd.argoproj.io/sync-wave: "3"
spec:
destination:
name: ''
namespace: kubevirt
server: 'https://kubernetes.default.svc'
source:
path: ''
repoURL: 'https://cloudymax.github.io/kubevirt-community-stack/'
targetRevision: 0.1.5
chart: kubevirt-cdi
helm:
valuesObject: |
seaweedfsFiler: "http://seaweedfs-volume:8888"
storageClassName: seaweedfs-storage
isDefaultStorageClass: false
tlsSecret: ""
logVerbosity: 4
cacheCapacityMB: 0

#concurrentWriters: 32

imagePullPolicy: "IfNotPresent"

#imagePullSecrets:
#- name: mycredentials

csiProvisioner:
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
resources: {}
livenessProbe:
failureThreshold:
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 60

csiResizer:
image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0
resources: {}
livenessProbe:
failureThreshold:
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 60

csiAttacher:
# generally we don't need attacher, cause we do nothing to attach volume to node
# we will keep this for a historical reason
# you need to delete seaweedfs CSIDriver crd manually before upgrading with attacher disabled
# also you need to delete all seaweedfs VolumeAttachment crd manually after upgrade
enabled: true
image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0
resources: {}
livenessProbe:
failureThreshold:
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 60

csiSnapshotter:
# we do not support snapshots yet
enabled: false

csiNodeDriverRegistrar:
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0
resources: {}
livenessProbe:
failureThreshold:
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 60

csiLivenessProbe:
image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0
resources: {}

seaweedfsCsiPlugin:
image: chrislusf/seaweedfs-csi-driver:v1.2.5
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true

driverName: seaweedfs-csi-driver

controller:
replicas: 1
affinity: {}
tolerations:
resources: {}
livenessProbe:
failureThreshold:
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 60

# DataLocality (inspired by Longhorn) allows instructing the storage-driver which volume-locations will be used or preferred in Pods to read & write.
# e.g. Allows Pods to write preferrably to its local dataCenter volume-servers
# Requires Volume-Servers to be correctly labelled and matching Topology-Info to be passed into seaweedfs-csi-driver node
# Example-Value: "write_preferlocaldc"
dataLocality: "none"

node:
# Deploy node daemonset
enabled: true
# When seaweedfs-csi-driver-node pod on node is recreated, all pods on same node using seaweed-csi PV will stop working.
# For safe update set updateStrategy.type: OnDelete and manually move pods who use seaweed-csi PV, then delete seaweedfs-csi-driver-node damonset pod
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
affinity: {}
tolerations:
livenessProbe:
failureThreshold:
initialDelaySeconds: 10
timeoutSeconds: 3
periodSeconds: 60

# Auto-Inject Topology-Info from Kubernetes node-labels using KubeMod (https://github.com/kubemod/kubemod)
# Necessary because DownwardAPI doesnt support passing node-labels (see: https://github.com/kubernetes/kubernetes/issues/40610)
# Requires KubeMod to be installed
injectTopologyInfoFromNodeLabel:
enabled: false
labels:
dataCenter: "topology.kubernetes.io/zone"

## Change if not using standard kubernetes deployments, like k0s
volumes:
registration_dir: /var/lib/kubelet/plugins_registry
plugins_dir: /var/lib/kubelet/plugins
pods_mount_dir: /var/lib/kubelet/pods
Loading