This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced references to helm stable (#324)
* Replaced references to helm stable * update local-chart to non stable
- Loading branch information
Showing
75 changed files
with
1,422 additions
and
436 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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
apiVersion: v1 | ||
name: prometheus | ||
version: 11.1.4 | ||
appVersion: 2.16.0 | ||
appVersion: 2.21.0 | ||
description: Prometheus is a monitoring system and time series database. | ||
home: https://prometheus.io/ | ||
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png | ||
sources: | ||
- https://github.com/prometheus/alertmanager | ||
- https://github.com/prometheus/prometheus | ||
- https://github.com/prometheus/pushgateway | ||
- https://github.com/prometheus/node_exporter | ||
- https://github.com/kubernetes/kube-state-metrics | ||
dependencies: | ||
- name: kube-state-metrics | ||
version: "2.7.*" | ||
repository: https://kubernetes-charts.storage.googleapis.com/ | ||
condition: kubeStateMetrics.enabled | ||
maintainers: | ||
- name: gianrubio | ||
email: [email protected] | ||
- name: zanhsieh | ||
email: [email protected] | ||
engine: gotpl | ||
- email: [email protected] | ||
name: gianrubio | ||
- email: [email protected] | ||
name: zanhsieh | ||
- email: [email protected] | ||
name: Xtigyro | ||
- email: [email protected] | ||
name: monotek | ||
- email: [email protected] | ||
name: naseemkullah | ||
name: prometheus | ||
sources: | ||
- https://github.com/prometheus/alertmanager | ||
- https://github.com/prometheus/prometheus | ||
- https://github.com/prometheus/pushgateway | ||
- https://github.com/prometheus/node_exporter | ||
- https://github.com/kubernetes/kube-state-metrics | ||
version: 11.16.7 |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file removed
BIN
-6.48 KB
testdata/local-charts/prometheus/charts/kube-state-metrics-2.7.2.tgz
Binary file not shown.
21 changes: 21 additions & 0 deletions
21
testdata/local-charts/prometheus/charts/kube-state-metrics/.helmignore
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,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
20 changes: 20 additions & 0 deletions
20
testdata/local-charts/prometheus/charts/kube-state-metrics/Chart.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,20 @@ | ||
apiVersion: v1 | ||
appVersion: 1.9.7 | ||
description: Install kube-state-metrics to generate and expose cluster-level metrics | ||
home: https://github.com/kubernetes/kube-state-metrics/ | ||
keywords: | ||
- metric | ||
- monitoring | ||
- prometheus | ||
- kubernetes | ||
maintainers: | ||
- email: [email protected] | ||
name: fiunchinho | ||
- email: [email protected] | ||
name: tariq1890 | ||
- email: [email protected] | ||
name: mrueg | ||
name: kube-state-metrics | ||
sources: | ||
- https://github.com/kubernetes/kube-state-metrics/ | ||
version: 2.8.14 |
8 changes: 8 additions & 0 deletions
8
testdata/local-charts/prometheus/charts/kube-state-metrics/OWNERS
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,8 @@ | ||
approvers: | ||
- fiunchinho | ||
- tariq1890 | ||
- mrueg | ||
reviewers: | ||
- fiunchinho | ||
- tariq1890 | ||
- mrueg |
80 changes: 80 additions & 0 deletions
80
testdata/local-charts/prometheus/charts/kube-state-metrics/README.md
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,80 @@ | ||
# kube-state-metrics Helm Chart | ||
|
||
* Installs the [kube-state-metrics agent](https://github.com/kubernetes/kube-state-metrics). | ||
|
||
## Installing the Chart | ||
|
||
To install the chart with the release name `my-release`: | ||
|
||
```bash | ||
$ helm install stable/kube-state-metrics | ||
``` | ||
|
||
## Configuration | ||
|
||
| Parameter | Description | Default | | ||
|:---------------------------------------------|:--------------------------------------------------------------------------------------|:-------------------------------------------| | ||
| `image.repository` | The image repository to pull from | `quay.io/coreos/kube-state-metrics` | | ||
| `image.tag` | The image tag to pull from | `v1.9.7` | | ||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` | | ||
| `imagePullSecrets` | List of container registry secrets | `[]` | | ||
| `replicas` | Number of replicas | `1` | | ||
| `autosharding.enabled` | Set to `true` to automatically shard data across `replicas` pods. EXPERIMENTAL | `false` | | ||
| `service.port` | The port of the container | `8080` | | ||
| `service.annotations` | Annotations to be added to the service | `{}` | | ||
| `customLabels` | Custom labels to apply to service, deployment and pods | `{}` | | ||
| `hostNetwork` | Whether or not to use the host network | `false` | | ||
| `prometheusScrape` | Whether or not enable prom scrape | `true` | | ||
| `rbac.create` | If true, create & use RBAC resources | `true` | | ||
| `serviceAccount.create` | If true, create & use serviceAccount | `true` | | ||
| `serviceAccount.name` | If not set & create is true, use template fullname | | | ||
| `serviceAccount.imagePullSecrets` | Specify image pull secrets field | `[]` | | ||
| `serviceAccount.annotations` | Annotations to be added to the serviceAccount | `{}` | | ||
| `podSecurityPolicy.enabled` | If true, create & use PodSecurityPolicy resources. Note that related RBACs are created only if `rbac.enabled` is `true`. | `false` | | ||
| `podSecurityPolicy.annotations` | Specify pod annotations in the pod security policy | `{}` | | ||
| `podSecurityPolicy.additionalVolumes` | Specify allowed volumes in the pod security policy (`secret` is always allowed) | `[]` | | ||
| `securityContext.enabled` | Enable security context | `true` | | ||
| `securityContext.fsGroup` | Group ID for the filesystem | `65534` | | ||
| `securityContext.runAsGroup` | Group ID for the container | `65534` | | ||
| `securityContext.runAsUser` | User ID for the container | `65534` | | ||
| `priorityClassName` | Name of Priority Class to assign pods | `nil` | | ||
| `nodeSelector` | Node labels for pod assignment | `{}` | | ||
| `affinity` | Affinity settings for pod assignment | `{}` | | ||
| `tolerations` | Tolerations for pod assignment | `[]` | | ||
| `podAnnotations` | Annotations to be added to the pod | `{}` | | ||
| `podDisruptionBudget` | Optional PodDisruptionBudget | `{}` | | ||
| `resources` | kube-state-metrics resource requests and limits | `{}` | | ||
| `collectors.certificatesigningrequests` | Enable the certificatesigningrequests collector. | `true` | | ||
| `collectors.configmaps` | Enable the configmaps collector. | `true` | | ||
| `collectors.cronjobs` | Enable the cronjobs collector. | `true` | | ||
| `collectors.daemonsets` | Enable the daemonsets collector. | `true` | | ||
| `collectors.deployments` | Enable the deployments collector. | `true` | | ||
| `collectors.endpoints` | Enable the endpoints collector. | `true` | | ||
| `collectors.horizontalpodautoscalers` | Enable the horizontalpodautoscalers collector. | `true` | | ||
| `collectors.ingresses` | Enable the ingresses collector. | `true` | | ||
| `collectors.jobs` | Enable the jobs collector. | `true` | | ||
| `collectors.limitranges` | Enable the limitranges collector. | `true` | | ||
| `collectors.mutatingwebhookconfigurations` | Enable the mutatingwebhookconfigurations collector. | `true` | | ||
| `collectors.namespaces` | Enable the namespaces collector. | `true` | | ||
| `collectors.networkpolicies` | Enable the networkpolicies collector. | `true` | | ||
| `collectors.nodes` | Enable the nodes collector. | `true` | | ||
| `collectors.persistentvolumeclaims` | Enable the persistentvolumeclaims collector. | `true` | | ||
| `collectors.persistentvolumes` | Enable the persistentvolumes collector. | `true` | | ||
| `collectors.poddisruptionbudgets` | Enable the poddisruptionbudgets collector. | `true` | | ||
| `collectors.pods` | Enable the pods collector. | `true` | | ||
| `collectors.replicasets` | Enable the replicasets collector. | `true` | | ||
| `collectors.replicationcontrollers` | Enable the replicationcontrollers collector. | `true` | | ||
| `collectors.resourcequotas` | Enable the resourcequotas collector. | `true` | | ||
| `collectors.secrets` | Enable the secrets collector. | `true` | | ||
| `collectors.services` | Enable the services collector. | `true` | | ||
| `collectors.statefulsets` | Enable the statefulsets collector. | `true` | | ||
| `collectors.storageclasses` | Enable the storageclasses collector. | `true` | | ||
| `collectors.validatingwebhookconfigurations` | Enable the validatingwebhookconfigurations collector. | `true` | | ||
| `collectors.verticalpodautoscalers` | Enable the verticalpodautoscalers collector. | `true` | | ||
| `collectors.volumeattachments` | Enable the volumeattachments collector. | `true` | | ||
| `prometheus.monitor.enabled` | Set this to `true` to create ServiceMonitor for Prometheus operator | `false` | | ||
| `prometheus.monitor.additionalLabels` | Additional labels that can be used so ServiceMonitor will be discovered by Prometheus | `{}` | | ||
| `prometheus.monitor.namespace` | Namespace where servicemonitor resource should be created | `the same namespace as kube-state-metrics` | | ||
| `prometheus.monitor.honorLabels` | Honor metric labels | `false` | | ||
| `namespaceOverride` | Override the deployment namespace | `""` (`Release.Namespace`) | | ||
| `kubeTargetVersionOverride` | Override the k8s version of the target cluster | `""` | |
10 changes: 10 additions & 0 deletions
10
testdata/local-charts/prometheus/charts/kube-state-metrics/templates/NOTES.txt
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,10 @@ | ||
kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects. | ||
The exposed metrics can be found here: | ||
https://github.com/kubernetes/kube-state-metrics/blob/master/docs/README.md#exposed-metrics | ||
|
||
The metrics are exported on the HTTP endpoint /metrics on the listening port. | ||
In your case, {{ template "kube-state-metrics.fullname" . }}.{{ template "kube-state-metrics.namespace" . }}.svc.cluster.local:{{ .Values.service.port }}/metrics | ||
|
||
They are served either as plaintext or protobuf depending on the Accept header. | ||
They are designed to be consumed either by Prometheus itself or by a scraper that is compatible with scraping a Prometheus client endpoint. | ||
|
47 changes: 47 additions & 0 deletions
47
testdata/local-charts/prometheus/charts/kube-state-metrics/templates/_helpers.tpl
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,47 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "kube-state-metrics.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "kube-state-metrics.fullname" -}} | ||
{{- if .Values.fullnameOverride -}} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "kube-state-metrics.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create -}} | ||
{{ default (include "kube-state-metrics.fullname" .) .Values.serviceAccount.name }} | ||
{{- else -}} | ||
{{ default "default" .Values.serviceAccount.name }} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Allow the release namespace to be overridden for multi-namespace deployments in combined charts | ||
*/}} | ||
{{- define "kube-state-metrics.namespace" -}} | ||
{{- if .Values.namespaceOverride -}} | ||
{{- .Values.namespaceOverride -}} | ||
{{- else -}} | ||
{{- .Release.Namespace -}} | ||
{{- end -}} | ||
{{- end -}} |
Oops, something went wrong.