Skip to content

Commit

Permalink
Use post-install hook for fluentd and fluent-bit cr (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
baluchicken authored and ahma committed Apr 2, 2019
1 parent 9cdec73 commit fa0dac5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion logging-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Logging operator for Kubernetes based on Fluentd and Fluent-bit.
name: logging-operator
version: 0.1.4
version: 0.1.5
appVersion: 0.1.2
home: https://github.com/banzaicloud/logging-operator
icon: https://banzaicloud.com/img/banzai-cloud-logo.png
Expand Down
3 changes: 3 additions & 0 deletions logging-operator/templates/fluentbit-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
helm.sh/chart: {{ include "logging-operator.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
annotations:
"helm.sh/hook": post-install
"helm.sh/hook-delete-policy": "before-hook-creation"
spec:
namespace: {{ default .Release.Namespace .Values.watchNamespace }}
annotations:
Expand Down
3 changes: 3 additions & 0 deletions logging-operator/templates/fluentd-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
helm.sh/chart: {{ include "logging-operator.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
annotations:
"helm.sh/hook": post-install
"helm.sh/hook-delete-policy": "before-hook-creation"
spec:
namespace: {{ default .Release.Namespace .Values.watchNamespace }}
annotations:
Expand Down

0 comments on commit fa0dac5

Please sign in to comment.