diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..efc07be --- /dev/null +++ b/changelog.md @@ -0,0 +1,5 @@ +## Changes + +### Bug Fixes + +* chart: fix typo in template (Vincent Behar) diff --git a/charts/lighthouse-telemetry-plugin/Chart.yaml b/charts/lighthouse-telemetry-plugin/Chart.yaml index af57de1..65ca724 100644 --- a/charts/lighthouse-telemetry-plugin/Chart.yaml +++ b/charts/lighthouse-telemetry-plugin/Chart.yaml @@ -3,7 +3,7 @@ name: lighthouse-telemetry-plugin description: Lighthouse plugin to export telemetry data, including distributed traces icon: https://raw.githubusercontent.com/jenkins-x/jenkins-x-website/master/images/logo/jenkinsx-icon-color.svg home: https://github.com/jenkins-x/lighthouse-telemetry-plugin -version: 0.0.1 +version: 0.1.1 appVersion: latest sources: - https://github.com/jenkins-x/lighthouse-telemetry-plugin \ No newline at end of file diff --git a/charts/lighthouse-telemetry-plugin/README.md b/charts/lighthouse-telemetry-plugin/README.md new file mode 100644 index 0000000..f6e5dec --- /dev/null +++ b/charts/lighthouse-telemetry-plugin/README.md @@ -0,0 +1,86 @@ +# lighthouse-telemetry-plugin + +![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) + +Lighthouse plugin to export telemetry data, including distributed traces + +**Homepage:** + +## Source Code + +* + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| config.childPullRequestDelay | string | `"10m"` | | +| config.logLevel | string | `"INFO"` | | +| config.resyncInterval | string | `"1h"` | | +| deployment.annotations | object | `{}` | | +| deployment.labels | object | `{}` | | +| deployment.replicas | int | `1` | | +| deployment.revisionHistoryLimit | int | `2` | | +| fullnameOverride | string | `nil` | | +| image.pullPolicy | string | `nil` | | +| image.repository | string | `"ghcr.io/jenkins-x/lighthouse-telemetry-plugin"` | | +| image.tag | string | `nil` | | +| jx.releaseCRD | bool | `true` | | +| nameOverride | string | `nil` | | +| pod.activeDeadlineSeconds | string | `nil` | | +| pod.affinity | object | `{}` | | +| pod.annotations | object | `{}` | | +| pod.enableServiceLinks | bool | `false` | | +| pod.env | object | `{}` | | +| pod.hostAliases | list | `[]` | | +| pod.labels | object | `{}` | | +| pod.nodeSelector | object | `{}` | | +| pod.resources.limits.cpu | string | `"1"` | | +| pod.resources.limits.memory | string | `"512M"` | | +| pod.resources.requests.cpu | string | `"0.2"` | | +| pod.resources.requests.memory | string | `"256M"` | | +| pod.schedulerName | string | `nil` | | +| pod.securityContext.fsGroup | int | `1000` | | +| pod.terminationGracePeriodSeconds | string | `nil` | | +| pod.tolerations | list | `[]` | | +| role.rules[0].apiGroups[0] | string | `"jenkins.io"` | | +| role.rules[0].resources[0] | string | `"pipelineactivities"` | | +| role.rules[0].verbs[0] | string | `"list"` | | +| role.rules[0].verbs[1] | string | `"watch"` | | +| role.rules[0].verbs[2] | string | `"get"` | | +| role.rules[0].verbs[3] | string | `"patch"` | | +| role.rules[1].apiGroups[0] | string | `"tekton.dev"` | | +| role.rules[1].resources[0] | string | `"pipelineruns"` | | +| role.rules[1].resources[1] | string | `"taskruns"` | | +| role.rules[1].verbs[0] | string | `"list"` | | +| role.rules[1].verbs[1] | string | `"watch"` | | +| role.rules[1].verbs[2] | string | `"get"` | | +| role.rules[1].verbs[3] | string | `"patch"` | | +| role.rules[2].apiGroups[0] | string | `"lighthouse.jenkins.io"` | | +| role.rules[2].resources[0] | string | `"lighthousejobs"` | | +| role.rules[2].verbs[0] | string | `"list"` | | +| role.rules[2].verbs[1] | string | `"watch"` | | +| role.rules[2].verbs[2] | string | `"get"` | | +| role.rules[2].verbs[3] | string | `"patch"` | | +| role.rules[3].apiGroups[0] | string | `""` | | +| role.rules[3].resources[0] | string | `"pods"` | | +| role.rules[3].verbs[0] | string | `"list"` | | +| role.rules[3].verbs[1] | string | `"watch"` | | +| role.rules[3].verbs[2] | string | `"get"` | | +| role.rules[3].verbs[3] | string | `"patch"` | | +| role.rules[4].apiGroups[0] | string | `""` | | +| role.rules[4].resources[0] | string | `"events"` | | +| role.rules[4].verbs[0] | string | `"list"` | | +| role.rules[4].verbs[1] | string | `"watch"` | | +| role.rules[4].verbs[2] | string | `"get"` | | +| secrets.lighthouse.hmac.secretKeyRef.key | string | `"hmac"` | | +| secrets.lighthouse.hmac.secretKeyRef.name | string | `"lighthouse-hmac-token"` | | +| service.annotations | object | `{}` | | +| service.labels | object | `{}` | | +| service.loadBalancerIP | string | `nil` | | +| service.port | int | `80` | | +| service.type | string | `nil` | | +| serviceAccount.annotations | object | `{}` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.4.0](https://github.com/norwoodj/helm-docs/releases/v1.4.0) diff --git a/charts/lighthouse-telemetry-plugin/lighthouse-telemetry-plugin-0.1.1.tgz b/charts/lighthouse-telemetry-plugin/lighthouse-telemetry-plugin-0.1.1.tgz new file mode 100644 index 0000000..d6d653b Binary files /dev/null and b/charts/lighthouse-telemetry-plugin/lighthouse-telemetry-plugin-0.1.1.tgz differ diff --git a/charts/lighthouse-telemetry-plugin/templates/release.yaml b/charts/lighthouse-telemetry-plugin/templates/release.yaml new file mode 100644 index 0000000..8f2207c --- /dev/null +++ b/charts/lighthouse-telemetry-plugin/templates/release.yaml @@ -0,0 +1,27 @@ +{{- if and (.Capabilities.APIVersions.Has "jenkins.io/v1/Release") (hasKey .Values.jx "releaseCRD") (.Values.jx.releaseCRD)}} +apiVersion: jenkins.io/v1 +kind: Release +metadata: + creationTimestamp: "2021-08-04T17:10:40Z" + deletionTimestamp: null + name: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}' +spec: + commits: + - author: + email: v.behar@free.fr + name: Vincent Behar + branch: master + committer: + email: v.behar@free.fr + name: Vincent Behar + message: | + fix(chart): fix typo in template + sha: 282154ff63d792884eeccb84bc95b379f7c66131 + gitHttpUrl: https://github.com/jenkins-x/lighthouse-telemetry-plugin + gitOwner: jenkins-x + gitRepository: lighthouse-telemetry-plugin + name: '{{ .Chart.Name }}' + version: 0.1.1 +status: {} + +{{- end }} diff --git a/charts/lighthouse-telemetry-plugin/values.yaml b/charts/lighthouse-telemetry-plugin/values.yaml index fa531be..3d8ac23 100644 --- a/charts/lighthouse-telemetry-plugin/values.yaml +++ b/charts/lighthouse-telemetry-plugin/values.yaml @@ -24,7 +24,7 @@ jx: image: repository: ghcr.io/jenkins-x/lighthouse-telemetry-plugin # If no tag, fallback to the Chart's AppVersion - tag: + tag: 0.1.1 pullPolicy: deployment: diff --git a/go.mod b/go.mod index ee6b44f..410ed61 100644 --- a/go.mod +++ b/go.mod @@ -10,9 +10,9 @@ require ( github.com/scylladb/go-set v1.0.2 github.com/sirupsen/logrus v1.8.1 github.com/spf13/pflag v1.0.5 - github.com/stretchr/testify v1.7.0 // indirect + github.com/stretchr/testify v1.7.0 github.com/tektoncd/pipeline v0.23.0 - github.com/ucarion/urlpath v0.0.0-20200424170820-7ccc79b76bbb // indirect + github.com/ucarion/urlpath v0.0.0-20200424170820-7ccc79b76bbb go.opentelemetry.io/otel v0.19.0 go.opentelemetry.io/otel/exporters/otlp v0.19.0 go.opentelemetry.io/otel/exporters/trace/jaeger v0.19.0 @@ -21,7 +21,7 @@ require ( k8s.io/api v0.20.2 k8s.io/apimachinery v0.20.2 k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible - mvdan.cc/xurls/v2 v2.3.0 // indirect + mvdan.cc/xurls/v2 v2.3.0 ) replace (