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

Konnectivity daemonset (2) #18

Merged
merged 2 commits into from
Feb 14, 2023
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Deploy Kubernetes in Kubernetes using Helm

```bash
helm repo add kvaps https://kvaps.github.io/charts
helm install foo kvaps/kubernetes --version 0.13.4 \
helm install foo kvaps/kubernetes --version 0.13.5 \
--namespace foo \
--create-namespace \
--set persistence.storageClassName=local-path
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/kubernetes/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: kubernetes
description: Production-Grade Container Scheduling and Management
version: 0.13.4
version: 0.13.5
appVersion: 1.22.4
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/Kubernetes_logo_without_workmark.svg/723px-Kubernetes_logo_without_workmark.svg.png
keywords:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{{- $fullName := include "kubernetes.fullname" . -}}

{{- if .Values.konnectivityAgent.daemonSet -}}
apiVersion: apps/v1
kind: DaemonSet
{{- else -}}
apiVersion: apps/v1
kind: Deployment
{{- end }}
metadata:
labels:
addonmanager.kubernetes.io/mode: Reconcile
Expand All @@ -15,7 +21,9 @@ metadata:
namespace: kube-system
name: konnectivity-agent
spec:
{{- if not .Values.konnectivityAgent.daemonSet }}
replicas: {{ .Values.konnectivityAgent.replicaCount }}
{{- end }}
selector:
matchLabels:
k8s-app: konnectivity-agent
Expand Down
3 changes: 2 additions & 1 deletion deploy/helm/kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ admin:
enabled: true
image:
repository: ghcr.io/kvaps/kubernetes-tools
tag: v0.13.4
tag: v0.13.5
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -350,6 +350,7 @@ konnectivityAgent:
tag: v0.0.24
pullPolicy: IfNotPresent
pullSecrets: []
daemonSet: false
replicaCount: 2
hostNetwork: true

Expand Down