-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[create-pull-request] automated change
- Loading branch information
Showing
17 changed files
with
746 additions
and
544 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
627 changes: 336 additions & 291 deletions
627
addons/s3-chart/crds/s3.services.k8s.aws_buckets.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
209 changes: 117 additions & 92 deletions
209
addons/s3-chart/crds/services.k8s.aws_adoptedresources.yaml
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,26 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: ack-namespaces-cache-s3-controller | ||
roleRef: | ||
kind: ClusterRole | ||
apiGroup: rbac.authorization.k8s.io | ||
name: ack-namespaces-cache-s3-controller | ||
subjects: | ||
- kind: ServiceAccount | ||
name: ack-s3-controller | ||
namespace: {{ .Release.Namespace }} | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: ack-configmaps-cache-s3-controller | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
kind: Role | ||
apiGroup: rbac.authorization.k8s.io | ||
name: ack-configmaps-cache-s3-controller | ||
subjects: | ||
- kind: ServiceAccount | ||
name: ack-s3-controller | ||
namespace: {{ .Release.Namespace }} |
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,28 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: ack-namespaces-cache-s3-controller | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- namespaces | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: ack-configmaps-cache-s3-controller | ||
namespace: {{ .Release.Namespace }} | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- configmaps | ||
verbs: | ||
- get | ||
- list | ||
- watch |
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 |
---|---|---|
@@ -1,21 +1,36 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
{{ if eq .Values.installScope "cluster" }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ include "app.fullname" . }} | ||
name: {{ include "ack-s3-controller.app.fullname" . }} | ||
roleRef: | ||
kind: ClusterRole | ||
{{ else }} | ||
apiGroup: rbac.authorization.k8s.io | ||
name: ack-s3-controller | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ include "ack-s3-controller.service-account.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
{{ else if eq .Values.installScope "namespace" }} | ||
{{ $wn := include "ack-s3-controller.watch-namespace" . }} | ||
{{ $namespaces := split "," $wn }} | ||
{{ $fullname := include "ack-s3-controller.app.fullname" . }} | ||
{{ $releaseNamespace := .Release.Namespace }} | ||
{{ $serviceAccountName := include "ack-s3-controller.service-account.name" . }} | ||
{{ range $namespaces }} | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: {{ include "app.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
name: {{ $fullname }} | ||
namespace: {{ . }} | ||
roleRef: | ||
kind: Role | ||
{{ end }} | ||
apiGroup: rbac.authorization.k8s.io | ||
name: ack-s3-controller | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ include "service-account.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
name: {{ $serviceAccountName }} | ||
namespace: {{ $releaseNamespace }} | ||
{{ end }} | ||
{{ end }} |
Oops, something went wrong.