-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
3,119 additions
and
277 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
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 |
---|---|---|
|
@@ -777,7 +777,7 @@ tools-min: update-vendor | |
.PHONY: tools | ||
tools: tools-min | ||
@echo ">> Fetching gci" | ||
@GOBIN=$(GOPATH)/bin go install github.com/daixiang0/gci@v0.3.0 | ||
@GOBIN=$(GOPATH)/bin go install github.com/daixiang0/gci@v0.13.4 | ||
@echo ">> Fetching yamlfmt" | ||
@GOBIN=$(GOPATH)/bin go install github.com/google/yamlfmt/cmd/[email protected] | ||
@echo ">> Downloading protobuf compiler..." | ||
|
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
26 changes: 26 additions & 0 deletions
26
chart/kube-arangodb-arm64/templates/networking-operator/cluster-role-binding.yaml
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,26 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if not (eq .Values.operator.scope "namespaced") -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac-cluster" . }}-networking | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ template "kube-arangodb.rbac-cluster" . }}-networking | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "kube-arangodb.operatorName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
|
||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
22 changes: 22 additions & 0 deletions
22
chart/kube-arangodb-arm64/templates/networking-operator/cluster-role.yaml
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,22 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if not (eq .Values.operator.scope "namespaced") -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac-cluster" . }}-networking | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: ["apiextensions.k8s.io"] | ||
resources: ["customresourcedefinitions"] | ||
verbs: ["get", "list", "watch"] | ||
|
||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
25 changes: 25 additions & 0 deletions
25
chart/kube-arangodb-arm64/templates/networking-operator/role-binding.yaml
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,25 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac" . }}-networking | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: {{ template "kube-arangodb.rbac" . }}-networking | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "kube-arangodb.operatorName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
|
||
{{- end }} | ||
{{- end }} |
68 changes: 68 additions & 0 deletions
68
chart/kube-arangodb-arm64/templates/networking-operator/role.yaml
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,68 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac" . }}-networking | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- "ml.arangodb.com" | ||
resources: | ||
- "arangomlextensions" | ||
- "arangomlextensions/status" | ||
- "arangomlbatchjobs" | ||
- "arangomlbatchjobs/status" | ||
- "arangomlcronjobs" | ||
- "arangomlcronjobs/status" | ||
- "arangomlstorages" | ||
- "arangomlstorages/status" | ||
verbs: | ||
- "*" | ||
- apiGroups: | ||
- "scheduler.arangodb.com" | ||
resources: | ||
- "arangoprofiles" | ||
- "arangoprofiles/status" | ||
verbs: | ||
- "*" | ||
- apiGroups: | ||
- "database.arangodb.com" | ||
resources: | ||
- "arangodeployments" | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- apiGroups: | ||
- "rbac.authorization.k8s.io" | ||
resources: | ||
- "roles" | ||
- "rolebindings" | ||
verbs: ["*"] | ||
- apiGroups: | ||
- "batch" | ||
resources: | ||
- "cronjobs" | ||
- "jobs" | ||
verbs: ["*"] | ||
- apiGroups: ["apps"] | ||
resources: | ||
- "statefulsets" | ||
verbs: ["*"] | ||
- apiGroups: [""] | ||
resources: | ||
- "pods" | ||
- "secrets" | ||
- "services" | ||
- "serviceaccounts" | ||
verbs: ["*"] | ||
{{- 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
26 changes: 26 additions & 0 deletions
26
chart/kube-arangodb-enterprise-arm64/templates/networking-operator/cluster-role-binding.yaml
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,26 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if not (eq .Values.operator.scope "namespaced") -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac-cluster" . }}-networking | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ template "kube-arangodb.rbac-cluster" . }}-networking | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "kube-arangodb.operatorName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
|
||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
22 changes: 22 additions & 0 deletions
22
chart/kube-arangodb-enterprise-arm64/templates/networking-operator/cluster-role.yaml
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,22 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if not (eq .Values.operator.scope "namespaced") -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac-cluster" . }}-networking | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: ["apiextensions.k8s.io"] | ||
resources: ["customresourcedefinitions"] | ||
verbs: ["get", "list", "watch"] | ||
|
||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
25 changes: 25 additions & 0 deletions
25
chart/kube-arangodb-enterprise-arm64/templates/networking-operator/role-binding.yaml
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,25 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac" . }}-networking | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: {{ template "kube-arangodb.rbac" . }}-networking | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "kube-arangodb.operatorName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
|
||
{{- end }} | ||
{{- end }} |
68 changes: 68 additions & 0 deletions
68
chart/kube-arangodb-enterprise-arm64/templates/networking-operator/role.yaml
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,68 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac" . }}-networking | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- "ml.arangodb.com" | ||
resources: | ||
- "arangomlextensions" | ||
- "arangomlextensions/status" | ||
- "arangomlbatchjobs" | ||
- "arangomlbatchjobs/status" | ||
- "arangomlcronjobs" | ||
- "arangomlcronjobs/status" | ||
- "arangomlstorages" | ||
- "arangomlstorages/status" | ||
verbs: | ||
- "*" | ||
- apiGroups: | ||
- "scheduler.arangodb.com" | ||
resources: | ||
- "arangoprofiles" | ||
- "arangoprofiles/status" | ||
verbs: | ||
- "*" | ||
- apiGroups: | ||
- "database.arangodb.com" | ||
resources: | ||
- "arangodeployments" | ||
verbs: | ||
- "get" | ||
- "list" | ||
- "watch" | ||
- apiGroups: | ||
- "rbac.authorization.k8s.io" | ||
resources: | ||
- "roles" | ||
- "rolebindings" | ||
verbs: ["*"] | ||
- apiGroups: | ||
- "batch" | ||
resources: | ||
- "cronjobs" | ||
- "jobs" | ||
verbs: ["*"] | ||
- apiGroups: ["apps"] | ||
resources: | ||
- "statefulsets" | ||
verbs: ["*"] | ||
- apiGroups: [""] | ||
resources: | ||
- "pods" | ||
- "secrets" | ||
- "services" | ||
- "serviceaccounts" | ||
verbs: ["*"] | ||
{{- 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
26 changes: 26 additions & 0 deletions
26
chart/kube-arangodb-enterprise/templates/networking-operator/cluster-role-binding.yaml
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,26 @@ | ||
{{ if .Values.rbac.enabled -}} | ||
{{ if not (eq .Values.operator.scope "namespaced") -}} | ||
{{ if .Values.operator.features.networking -}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ template "kube-arangodb.rbac-cluster" . }}-networking | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-arangodb.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
release: {{ .Release.Name }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ template "kube-arangodb.rbac-cluster" . }}-networking | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "kube-arangodb.operatorName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
|
||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.