Skip to content

Commit

Permalink
Konnectivity daemonset (2) (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakopes committed Feb 14, 2023
1 parent 99a72cb commit 08e929b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
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

0 comments on commit 08e929b

Please sign in to comment.