-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from aeciopires/aeciopires-some-adjusts
Fix bugs and many improvements
- Loading branch information
Showing
18 changed files
with
585 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{- if .Values.rbac.create -}} | ||
# Copied and adapted from: | ||
# https://git.zabbix.com/projects/ZT/repos/kubernetes-helm/browse/templates/clusterrole-binding.yaml | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ include "zabbix.fullname" . }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ include "zabbix.fullname" . }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "zabbix.serviceAccountName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{{- if .Values.rbac.create }} | ||
# Copied and adapted from: | ||
# https://git.zabbix.com/projects/ZT/repos/kubernetes-helm/browse/templates/cluster-role.yaml | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ template "zabbix.fullname" . }} | ||
labels: | ||
{{- include "zabbix.labels" . | nindent 4 }} | ||
rules: | ||
- nonResourceURLs: | ||
- "/metrics" | ||
- "/metrics/cadvisor" | ||
- "/version" | ||
- "/healthz" | ||
- "/readyz" | ||
verbs: ["get"] | ||
- apiGroups: [""] | ||
resources: | ||
- nodes/metrics | ||
- nodes/spec | ||
- nodes/proxy | ||
- nodes/stats | ||
verbs: ["get"] | ||
- apiGroups: [""] | ||
resources: | ||
- namespaces | ||
- pods | ||
- services | ||
- componentstatuses | ||
- nodes | ||
- endpoints | ||
- events | ||
verbs: ["get", "list"] | ||
- apiGroups: ["batch"] | ||
resources: | ||
- jobs | ||
- cronjobs | ||
verbs: ["get", "list"] | ||
- apiGroups: ["extensions"] | ||
resources: | ||
- deployments | ||
- daemonsets | ||
verbs: ["get", "list"] | ||
- apiGroups: ["apps"] | ||
resources: | ||
- statefulsets | ||
- deployments | ||
- daemonsets | ||
verbs: ["get", "list"] | ||
{{- if .Values.rbac.additionalRulesForClusterRole }} | ||
{{ toYaml .Values.rbac.additionalRulesForClusterRole | indent 0 }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
141 changes: 0 additions & 141 deletions
141
charts/zabbix/templates/daemonset-zabbix-java-gatway.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.