-
Notifications
You must be signed in to change notification settings - Fork 166
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
16 changed files
with
207 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ A Helm chart to install the k6 operator | |
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| yorugac | [email protected] | | | ||
| yorugac | <[email protected]> | | | ||
|
||
## Source Code | ||
|
||
|
@@ -24,6 +24,7 @@ Kubernetes: `>=1.16.0-0` | |
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | Affinity to be applied on all containers | | ||
| authProxy.enabled | bool | `true` | enables the protection of /metrics endpoint. (https://github.com/brancz/kube-rbac-proxy) | | ||
| authProxy.image.name | string | `"gcr.io/kubebuilder/kube-rbac-proxy"` | rbac-proxy image name | | ||
| authProxy.image.pullPolicy | string | `"IfNotPresent"` | pull policy for the image can be Always, Never, IfNotPresent (default: IfNotPresent) | | ||
|
@@ -45,9 +46,12 @@ Kubernetes: `>=1.16.0-0` | |
| manager.resources.limits.memory | string | `"100Mi"` | controller-manager Memory limit (Max) | | ||
| manager.resources.requests.cpu | string | `"100m"` | controller-manager CPU request (Min) | | ||
| manager.resources.requests.memory | string | `"50Mi"` | controller-manager Memory request (Min) | | ||
| manager.serviceAccount | string | `"k6-operator-controller"` | kubernetes service account for the manager | | ||
| manager.serviceAccount.create | bool | `true` | create the service account (default: true) | | ||
| manager.serviceAccount.name | string | `"k6-operator-controller"` | kubernetes service account for the k6 manager | | ||
| namespace.create | bool | `true` | create the namespace (default: true) | | ||
| nodeSelector | object | `{}` | Node Selector to be applied on all containers | | ||
| prometheus.enabled | bool | `false` | enables the prometheus metrics scraping (default: false) | | ||
| tolerations | object | `{}` | Tolerations to be applied on all containers | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) | ||
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) |
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 |
---|---|---|
@@ -1,35 +1,37 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ .Release.Name }}-manager-rolebinding | ||
name: {{ include "k6-operator.fullname" . }}-manager-rolebinding | ||
labels: | ||
{{- include "operator.labels" . }} | ||
app.kubernetes.io/component: controller | ||
{{- include "k6-operator.labels" . | nindent 4 }} | ||
{{- include "k6-operator.customLabels" . | default "{}" | nindent 4 }} | ||
annotations: | ||
{{- include "operator.annotations" . | default "" | nindent 4 }} | ||
{{- include "k6-operator.customAnnotations" . | default "" | nindent 4 }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ .Release.Name }}-manager-role | ||
name: {{ include "k6-operator.fullname" . }}-manager-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ .Values.manager.serviceAccount }} | ||
namespace: {{- include "operator.namespace" . -}} | ||
name: {{- include "k6-operator.serviceAccountName" . -}} | ||
namespace: {{- include "k6-operator.namespace" . -}} | ||
{{- if .Values.authProxy.enabled }} | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ .Release.Name }}-proxy-rolebinding | ||
name: {{ include "k6-operator.fullname" . }}-proxy-rolebinding | ||
labels: | ||
{{- include "operator.labels" . }} | ||
{{- include "k6-operator.customLabels" . }} | ||
annotations: | ||
{{- include "operator.annotations" . | default "" | nindent 4 }} | ||
{{- include "k6-operator.customAnnotations" . | default "" | nindent 4 }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ .Release.Name }}-proxy-role | ||
name: {{ include "k6-operator.fullname" . }}-proxy-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ .Values.manager.serviceAccount }} | ||
namespace: {{- include "operator.namespace" . -}} | ||
name: {{- include "k6-operator.serviceAccountName" . -}} | ||
namespace: {{- include "k6-operator.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
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
Oops, something went wrong.