Skip to content

Commit

Permalink
fix service name in filebeat.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
caesterlein authored Jul 17, 2020
1 parent 45a7e4c commit e04dca1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helm/onestop-dev/templates/filebeat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
labels:
{{- include "onestop-dev.selectorLabels.filebeat" . | nindent 8 }}
spec:
serviceAccountName: filebeat
serviceAccountName: {{ include "onestop-dev.fullname" . }}-filebeat
terminationGracePeriodSeconds: 30
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
Expand Down Expand Up @@ -139,11 +139,11 @@ metadata:
{{- include "onestop-dev.labels.filebeat" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: filebeat
name: {{ include "onestop-dev.fullname" . }}-filebeat
namespace: default
roleRef:
kind: ClusterRole
name: filebeat
name: {{ include "onestop-dev.fullname" . }}-filebeat
apiGroup: rbac.authorization.k8s.io
---
apiVersion: rbac.authorization.k8s.io/v1
Expand All @@ -169,4 +169,4 @@ metadata:
labels:
{{- include "onestop-dev.labels.filebeat" . | nindent 4 }}
---
{{- end }}
{{- end }}

0 comments on commit e04dca1

Please sign in to comment.