Skip to content

Commit

Permalink
[common]: add common chart (#62)
Browse files Browse the repository at this point in the history
* feat: add base of common chart with library chart

Signed-off-by: Jan Lauber <[email protected]>

* fix: remove debbug.yaml

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): Chart.yaml

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): add README.md.gotmpl to .helmignore

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): remove mkdocs.yml

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): remove internal registry

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): remove some bedag specific links/comments

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): change prometheus exposition formats link

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): remove home link to internal git

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): remove tenant label

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): change jobs link to general one

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): change security context links

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): change security context links

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): labels best practices link

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): remove bedag specific comments

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): add comments and fix annotations

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): fix internal links

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): remove some bedag comments

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): sync with internal MR 74

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): metrics comment

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): add quote to container env rendering

Signed-off-by: Jan Lauber <[email protected]>

* fix: resolve merge conflicts

Signed-off-by: Jan Lauber <[email protected]>

* fix(all): bump versions

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): move test values to ci folder

Signed-off-by: Jan Lauber <[email protected]>

* fix(common): remove netpol trusted key

Signed-off-by: Jan Lauber <[email protected]>

* fix(ci): release action permissions

Signed-off-by: Jan Lauber <[email protected]>

Signed-off-by: Jan Lauber <[email protected]>
  • Loading branch information
janlauber authored Dec 15, 2022
1 parent d6ff461 commit dc69d2d
Show file tree
Hide file tree
Showing 55 changed files with 3,560 additions and 263 deletions.
27 changes: 27 additions & 0 deletions charts/common/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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
.vscode/
# helm files
.helmignore
# gitlab files
.gitlab-ci.yml
README.md.gotmpl
30 changes: 30 additions & 0 deletions charts/common/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: v2
name: common
description: "Bedag's common Helm chart to use for creating other Helm charts"
version: 7.0.0
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.

# Because linting (in helm-v3.0.0) doesnt work correctly we use type application
type: application
icon: "https://www.bedag.ch/wGlobal/wGlobal/layout/images/logo.svg"
keywords:
- Bedag
- Common
sources:
- https://github.com/bedag/helm-charts/tree/master/charts/common
maintainers:
- name: SRE
email: [email protected]
annotations:
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/prerelease: "false"
artifacthub.io/license: Apache-2.0
artifacthub.io/changes: |
- "[Added]: Initial release"
69 changes: 69 additions & 0 deletions charts/common/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# common

![Version: 7.0.0](https://img.shields.io/badge/Version-7.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

Bedag's common Helm chart to use for creating other Helm charts

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| SRE | <[email protected]> | |

## Source Code

* <https://github.com/bedag/helm-charts/tree/master/charts/common>

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| components.component-1.controller.affinity | object | `{}` | |
| components.component-1.controller.automountServiceAccountToken | bool | `false` | |
| components.component-1.controller.containers | object | `{}` | |
| components.component-1.controller.deploy | bool | `false` | |
| components.component-1.controller.disableChecksumAnnotations | bool | `false` | |
| components.component-1.controller.extraAnnotations | object | `{}` | |
| components.component-1.controller.extraChecksumAnnotations | list | `[]` | |
| components.component-1.controller.extraLabels | object | `{}` | |
| components.component-1.controller.extraVolumeClaimTemplates | list | `[]` | |
| components.component-1.controller.forceRedeploy | bool | `false` | |
| components.component-1.controller.gatherMetrics | bool | `false` | |
| components.component-1.controller.initContainers | object | `{}` | |
| components.component-1.controller.nodeSelector | object | `{}` | |
| components.component-1.controller.podSecurityContext.enabled | bool | `false` | |
| components.component-1.controller.strategy | object | `{}` | |
| components.component-1.controller.tolerations | list | `[]` | |
| components.component-1.controller.type | string | `"Deployment"` | |
| components.component-1.controller.volumes | list | `[]` | |
| components.component-1.networkpolicy.deploy | bool | `false` | |
| components.component-1.services.service-1.deploy | bool | `false` | |
| defaultTag | string | `"latest"` | |
| ingress.annotations."nginx.ingress.kubernetes.io/ssl-redirect" | string | `"true"` | |
| ingress.deploy | bool | `false` | |
| ingress.ingressClassName | string | `""` | |
| ingress.rules[0].host | string | `"myapp.cluster.local"` | |
| ingress.rules[0].http.paths[0].backend.serviceNameSuffix | string | `"component-1"` | |
| ingress.rules[0].http.paths[0].backend.servicePort | string | `"http"` | |
| ingress.rules[0].http.paths[0].path | string | `"/"` | |
| ingress.tls.existing.secret | string | `""` | |
| ingress.tls.provided.cert | string | `""` | |
| ingress.tls.provided.key | string | `""` | |
| ingress.tls.self.alternativeDnsNames | list | `[]` | |
| ingress.tls.self.commonName | string | `"*.cluster.local"` | |
| ingress.tls.self.ipAddresses | list | `[]` | |
| ingress.tls.self.validityDuration | int | `365` | |
| ingress.tls.type | string | `"none"` | |
| networkpolicy.deploy | bool | `true` | |
| pvcs | string | `nil` | |
| secrets.data.registry.pullSecret | string | `""` | |
| servicemonitor.basicAuth.enabled | bool | `false` | |
| servicemonitor.basicAuth.existingSecret | string | `""` | |
| servicemonitor.basicAuth.newSecret | object | `{}` | |
| servicemonitor.basicAuth.passwordKey | string | `"password"` | |
| servicemonitor.basicAuth.userKey | string | `"username"` | |
| servicemonitor.deploy | bool | `false` | |
| servicemonitor.endpoints | object | `{}` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Loading

0 comments on commit dc69d2d

Please sign in to comment.