Skip to content

Commit

Permalink
feat(kubevirt-manager): bump 1.3.3 (#67)
Browse files Browse the repository at this point in the history
* feat(kubevirt-manager): bump 1.3.3

* chore: bump chart version
  • Loading branch information
oliverbaehler authored May 20, 2024
1 parent 30a4dcb commit a3ecfda
Show file tree
Hide file tree
Showing 7 changed files with 121 additions and 15 deletions.
2 changes: 1 addition & 1 deletion charts/kubermatic-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
apiVersion: v1
name: kubermatic-operator
version: 1.1.0
version: 1.1.1
appVersion: v2.25.1
description: Helm chart to install the Kubermatic Operator
keywords:
Expand Down
64 changes: 64 additions & 0 deletions charts/kubermatic-operator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# kubermatic-operator

![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![AppVersion: v2.25.1](https://img.shields.io/badge/AppVersion-v2.25.1-informational?style=flat-square)

Helm chart to install the Kubermatic Operator

**Homepage:** <https://www.kubermatic.com/>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| oliverbaehler | <oliverbaehler@hotmail.com> | |
| chifu1234 | <kk@sudo-i.net> | |

## Source Code

* <https://github.com/kubermatic/kubermatic>

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| kubermaticOperator.affinity | object | `{}` | Operator affinity |
| kubermaticOperator.args | object | `{}` | Arguments for Container |
| kubermaticOperator.command | list | `["kubermatic-operator"]` | Command execute for Container |
| kubermaticOperator.crds | object | `{"install":true,"keep":true}` | Manage CRD Lifecycle |
| kubermaticOperator.crds.install | bool | `true` | Install the CustomResourceDefinitions (This also manages the lifecycle of the CRDs for update operations) |
| kubermaticOperator.crds.keep | bool | `true` | Keep the CustomResourceDefinitions (when the chart is deleted) |
| kubermaticOperator.debug | bool | `false` | Additional arguments for the operator |
| kubermaticOperator.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| kubermaticOperator.image.registry | string | `"quay.io"` | Image Registry |
| kubermaticOperator.image.repository | string | `"kubermatic/kubermatic"` | Image Repository |
| kubermaticOperator.image.tag | string | `""` | Image Tag |
| kubermaticOperator.imagePullSecret | list | `[]` | ImagePullSecrets |
| kubermaticOperator.leaderElection | bool | `true` | |
| kubermaticOperator.livenessProbe | object | `{"enabled":false,"httpGet":{"path":"/healthz","port":10080},"initialDelaySeconds":60}` | Configure the liveness probe using Deployment probe spec |
| kubermaticOperator.nodeSelector | object | `{}` | Operator nodeSelector |
| kubermaticOperator.podAnnotations | object | `{"fluentbit.io/parser":"json_iso","prometheus.io/port":"8085","prometheus.io/scrape":"true"}` | Additional Pod Annotations |
| kubermaticOperator.podLabels | object | `{}` | Additional Pod Labels |
| kubermaticOperator.podSecurityContext | object | `{"enabled":true,"seccompProfile":{"type":"RuntimeDefault"}}` | SecurityContext for Pod |
| kubermaticOperator.rbac.create | bool | `true` | Create RBAC for Controller |
| kubermaticOperator.readinessProbe | object | `{"enabled":false,"httpGet":{"path":"/readyz","port":10080},"initialDelaySeconds":60}` | Configure the readiness probe using Deployment probe spec |
| kubermaticOperator.replicaCount | int | `1` | Amount of replicas |
| kubermaticOperator.resources | object | `{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"50m","memory":"128Mi"}}` | Resources for the Operator |
| kubermaticOperator.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":true,"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534}` | SecurityContext for Container |
| kubermaticOperator.serviceAccount.annotations | object | `{}` | |
| kubermaticOperator.serviceAccount.create | bool | `true` | |
| kubermaticOperator.serviceAccount.name | string | `""` | |
| kubermaticOperator.serviceMonitor.annotations | object | `{}` | Assign additional Annotations |
| kubermaticOperator.serviceMonitor.enabled | bool | `false` | Enable ServiceMonitor |
| kubermaticOperator.serviceMonitor.endpoint.interval | string | `"15s"` | Set the scrape interval for the endpoint of the serviceMonitor |
| kubermaticOperator.serviceMonitor.endpoint.metricRelabelings | list | `[]` | Set metricRelabelings for the endpoint of the serviceMonitor |
| kubermaticOperator.serviceMonitor.endpoint.relabelings | list | `[]` | Set relabelings for the endpoint of the serviceMonitor |
| kubermaticOperator.serviceMonitor.endpoint.scrapeTimeout | string | `""` | Set the scrape timeout for the endpoint of the serviceMonitor |
| kubermaticOperator.serviceMonitor.jobLabel | string | `"app.kubernetes.io/name"` | Set JobLabel for the serviceMonitor |
| kubermaticOperator.serviceMonitor.labels | object | `{}` | Assign additional labels according to Prometheus' serviceMonitorSelector matching labels |
| kubermaticOperator.serviceMonitor.matchLabels | object | `{}` | Change matching labels |
| kubermaticOperator.serviceMonitor.namespace | string | `""` | Install the ServiceMonitor into a different Namespace, as the monitoring stack one (default: the release one) |
| kubermaticOperator.serviceMonitor.targetLabels | list | `[]` | Set targetLabels for the serviceMonitor |
| kubermaticOperator.tolerations | list | `[]` | Operator tolerations |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
4 changes: 2 additions & 2 deletions charts/kubevirt-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: kubevirt-manager
description: KuberVirt Manager
type: application
version: 0.1.2
appVersion: "1.3.1"
version: 0.1.3
appVersion: "1.3.3"
maintainers:
- name: oliverbaehler
email: oliverbaehler@hotmail.com
Expand Down
13 changes: 8 additions & 5 deletions charts/kubevirt-manager/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kubevirt-manager

![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.1](https://img.shields.io/badge/AppVersion-1.3.1-informational?style=flat-square)
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.3](https://img.shields.io/badge/AppVersion-1.3.3-informational?style=flat-square)

KuberVirt Manager

Expand All @@ -15,11 +15,12 @@ KuberVirt Manager

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| affinity | object | `{}` | Set affinity rules |
| autoscaling.enabled | bool | `false` | |
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| envs | object | `{}` | Extra environment variables (`key: value` style, allows templating) |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"kubevirtmanager/kubevirt-manager"` | |
Expand All @@ -30,12 +31,13 @@ KuberVirt Manager
| ingress.enabled | bool | `false` | |
| ingress.host | string | `"chart-example.local"` | |
| ingress.path | string | `"/"` | |
| ingress.pathType | string | `"ImplementationSpecific"` | |
| ingress.pathType | string | `"Prefix"` | |
| ingress.tls | bool | `false` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| nodeSelector | object | `{}` | Set the node selector |
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| priorityClassName | string | `""` | Set a pod priorityClassName |
| prometheus.enabled | bool | `false` | Enable Prometheus Integration |
| prometheus.service | string | `"http://prometheus.monitoring.svc:9090"` | Backend Service for prometheus instance with kubevirt metrics |
| rbac.create | bool | `true` | Create RBAC for kubevirt-manager |
Expand All @@ -51,7 +53,8 @@ KuberVirt Manager
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
| tolerations | list | `[]` | |
| tolerations | list | `[]` | Set list of tolerations |
| topologySpreadConstraints | list | `[]` | Set Topology Spread Constraints |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
18 changes: 18 additions & 0 deletions charts/kubevirt-manager/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,21 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

{{- define "helm.utils.template" -}}
{{- if $.ctx }}
{{- if typeIs "string" $.tpl }}
{{- tpl $.tpl $.ctx | replace "+|" "\n" }}
{{- else }}
{{- tpl ($.tpl | toYaml) $.ctx | replace "+|" "\n" }}
{{- end }}
{{- end }}
{{- end -}}

{{- define "helm.utils.envs" -}}
{{- range $key, $value := $.envs }}
- name: {{ $key }}
value: {{ include "helm.utils.template" (dict "tpl" $value "ctx" $.ctx) }}
{{- end }}
{{- end -}}

12 changes: 12 additions & 0 deletions charts/kubevirt-manager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
{{- range $key, $value := .Values.args }}
{{- if not (kindIs "invalid" $value) }}
- -{{ $key | mustRegexFind "^[^_]+" }}={{ include "helm.utils.template" (dict "tpl" $value "ctx" $.ctx) }}
{{- else }}
- -{{ $key | mustRegexFind "^[^_]+" }}
{{- end }}
{{- end }}
{{- with .envs }}
env:
{{- include "helm.utils.envs" (dict "envs" . "ctx" $) | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: 8080
Expand Down
23 changes: 16 additions & 7 deletions charts/kubevirt-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000

# -- Extra environment variables (`key: value` style, allows templating)
envs: {}
# EXTRA: "value"

securityContext:
capabilities:
drop:
Expand All @@ -53,7 +57,7 @@ ingress:
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
path: "/"
pathType: ImplementationSpecific
pathType: Prefix
host: chart-example.local
tls: false

Expand All @@ -69,19 +73,24 @@ resources: {}
# cpu: 100m
# memory: 128Mi

# -- Set the node selector
nodeSelector: {}
# -- Set list of tolerations
tolerations: []
# -- Set affinity rules
affinity: {}
# -- Set Topology Spread Constraints
topologySpreadConstraints: []
# -- Set a pod priorityClassName
priorityClassName: ""

autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

nodeSelector: {}

tolerations: []

affinity: {}

prometheus:
# -- Enable Prometheus Integration
enabled: false
Expand Down

0 comments on commit a3ecfda

Please sign in to comment.