Skip to content

Commit

Permalink
Bumps app and chart version numbers, adds experimental option to disa…
Browse files Browse the repository at this point in the history
…ble agents (#64)

* Bumps Kubetail app version => 0.7.2
* Bumps Kubetail chart version => 0.7.3
* Adds experimental (and undocumented) option to disable agents to Kubetail chart
  • Loading branch information
amorey authored Oct 7, 2024
1 parent 28b743c commit 0e0b1f0
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/kubetail/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ keywords:
- private
- realtime
type: application
version: 0.7.2
appVersion: "0.7.1"
version: 0.7.3
appVersion: "0.7.2"
home: https://github.com/kubetail-org/kubetail
maintainers:
- email: [email protected]
Expand Down
2 changes: 2 additions & 0 deletions charts/kubetail/templates/agent/config-map.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.kubetail.agent.enabled }}
{{- $cfgMap := index .Values "kubetail" "agent" "configMap" -}}
kind: ConfigMap
apiVersion: v1
Expand All @@ -11,3 +12,4 @@ metadata:
data:
config.yaml: |
{{- include "kubetail.agent.config" . | nindent 4 }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/kubetail/templates/agent/daemon-set.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.kubetail.agent.enabled }}
{{- $ds := index .Values "kubetail" "agent" "daemonSet" -}}
{{- $podTmpl := index .Values "kubetail" "agent" "podTemplate" }}
{{- $container := index .Values "kubetail" "agent" "container" -}}
Expand Down Expand Up @@ -99,3 +100,4 @@ spec:
{{- with $podTmpl.tolerations }}
{{- toYaml . | nindent 6 }}
{{- end}}
{{- end }}
2 changes: 2 additions & 0 deletions charts/kubetail/templates/agent/network-policy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.kubetail.agent.enabled }}
{{- $np := index .Values "kubetail" "agent" "networkPolicy" -}}
{{- if $np.enabled }}
kind: NetworkPolicy
Expand All @@ -19,3 +20,4 @@ spec:
matchLabels:
{{- include "kubetail.server.selectorLabels" . | nindent 10 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/kubetail/templates/agent/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.kubetail.agent.enabled }}
{{- if eq .Values.kubetail.authMode "cluster" }}
{{- $rbac := index .Values "kubetail" "agent" "rbac" -}}
{{- if not .Values.kubetail.allowedNamespaces }}
Expand Down Expand Up @@ -66,3 +67,4 @@ subjects:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/kubetail/templates/agent/service-account.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.kubetail.agent.enabled }}
{{- if eq .Values.kubetail.authMode "cluster" }}
{{- $sa := index .Values "kubetail" "agent" "serviceAccount" -}}
kind: ServiceAccount
Expand All @@ -11,3 +12,4 @@ metadata:
annotations:
{{- include "kubetail.annotations" (list $ $sa.annotations) | indent 4 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/kubetail/templates/agent/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.kubetail.agent.enabled }}
{{- $svc := index .Values "kubetail" "agent" "service" -}}
kind: Service
apiVersion: v1
Expand All @@ -12,3 +13,4 @@ spec:
clusterIP: None
selector:
{{- include "kubetail.agent.selectorLabels" . | nindent 4 }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/kubetail/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ kubetail:

# -- Kubetail agent component settings
agent:
# -- Enabled/disable agent (EXPERIMENTAL)
enabled: true

# -- Runtime configuration settings
runtimeConfig:
# -- Sets the container port to listen on
Expand Down

0 comments on commit 0e0b1f0

Please sign in to comment.