diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..3743632 --- /dev/null +++ b/changelog.md @@ -0,0 +1,5 @@ +## Changes + +### Bug Fixes + +* chart: don't break when gitOwners is provided (Vincent Behar) diff --git a/charts/cd-indicators/Chart.yaml b/charts/cd-indicators/Chart.yaml index c3ec6e5..e9a12b6 100644 --- a/charts/cd-indicators/Chart.yaml +++ b/charts/cd-indicators/Chart.yaml @@ -3,7 +3,7 @@ name: cd-indicators description: Continuous Delivery Indicators for Jenkins X icon: https://raw.githubusercontent.com/jenkins-x/jenkins-x-website/master/images/logo/jenkinsx-icon-color.svg home: https://github.com/jenkins-x/cd-indicators -version: 0.0.1 +version: 0.0.13 appVersion: latest sources: - https://github.com/jenkins-x/cd-indicators diff --git a/charts/cd-indicators/README.md b/charts/cd-indicators/README.md new file mode 100644 index 0000000..0e417fb --- /dev/null +++ b/charts/cd-indicators/README.md @@ -0,0 +1,87 @@ +# cd-indicators + +![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) + +Continuous Delivery Indicators for Jenkins X + +**Homepage:** + +## Source Code + +* + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| https://charts.bitnami.com/bitnami | postgresql | 10.3.13 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| config.gitOwners | list | `[]` | | +| config.logLevel | string | `"INFO"` | | +| config.postgres.extraParams | object | `{}` | | +| config.postgres.logLevel | string | `"WARN"` | | +| config.resyncInterval | string | `"1h"` | | +| deployment.annotations | object | `{}` | | +| deployment.labels | object | `{}` | | +| deployment.replicas | int | `1` | | +| deployment.revisionHistoryLimit | int | `2` | | +| fullnameOverride | string | `nil` | | +| grafana.dashboards.label | string | `"jenkins-x.io/grafana-dashboard"` | | +| grafana.dashboards.value | string | `"1"` | | +| grafana.datasources.label | string | `"jenkins-x.io/grafana-datasource"` | | +| grafana.datasources.postgres.settings.connMaxLifetime | int | `14400` | | +| grafana.datasources.postgres.settings.maxIdleConns | int | `2` | | +| grafana.datasources.postgres.settings.maxOpenConns | int | `10` | | +| grafana.datasources.postgres.settings.postgresVersion | int | `1200` | | +| grafana.datasources.postgres.settings.sslmode | string | `"disable"` | | +| grafana.datasources.value | string | `"1"` | | +| image.pullPolicy | string | `nil` | | +| image.repository | string | `"gcr.io/jenkinsxio/cd-indicators"` | | +| 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 | `[]` | | +| postgresql.postgresqlDatabase | string | `"indicators"` | | +| postgresql.postgresqlHost | string | `nil` | | +| postgresql.postgresqlPassword | string | `"password"` | | +| postgresql.postgresqlPort | int | `5432` | | +| postgresql.postgresqlUsername | string | `"postgres"` | | +| postgresql.useInternalInstance | bool | `true` | | +| role.rules[0].apiGroups[0] | string | `"jenkins.io"` | | +| role.rules[0].resources[0] | string | `"pipelineactivities"` | | +| role.rules[0].resources[1] | string | `"releases"` | | +| role.rules[0].verbs[0] | string | `"list"` | | +| role.rules[0].verbs[1] | string | `"watch"` | | +| role.rules[0].verbs[2] | string | `"get"` | | +| secrets.lighthouse.hmac.secretKeyRef.key | string | `"hmac"` | | +| secrets.lighthouse.hmac.secretKeyRef.name | string | `"lighthouse-hmac-token"` | | +| secrets.postgres.password.secretKeyRef.key | string | `"postgresql-password"` | | +| secrets.postgres.password.secretKeyRef.name | string | `nil` | | +| 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/cd-indicators/cd-indicators-0.0.13.tgz b/charts/cd-indicators/cd-indicators-0.0.13.tgz new file mode 100644 index 0000000..348d6ef Binary files /dev/null and b/charts/cd-indicators/cd-indicators-0.0.13.tgz differ diff --git a/charts/cd-indicators/templates/release.yaml b/charts/cd-indicators/templates/release.yaml new file mode 100644 index 0000000..7feabd7 --- /dev/null +++ b/charts/cd-indicators/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-07-21T08:49:38Z" + 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): don't break when gitOwners is provided + sha: 202311749ff5127c192e6bb4cde5e32eb4f78a17 + gitHttpUrl: https://github.com/jenkins-x/cd-indicators + gitOwner: jenkins-x + gitRepository: cd-indicators + name: '{{ .Chart.Name }}' + version: 0.0.13 +status: {} + +{{- end }} diff --git a/charts/cd-indicators/values.yaml b/charts/cd-indicators/values.yaml index 45ab772..196543c 100644 --- a/charts/cd-indicators/values.yaml +++ b/charts/cd-indicators/values.yaml @@ -61,9 +61,9 @@ secrets: key: postgresql-password image: - repository: gcr.io/jenkinsxio/cd-indicators + repository: ghcr.io/jenkins-x/cd-indicators # If no tag, fallback to the Chart's AppVersion - tag: + tag: 0.0.13 pullPolicy: deployment: