Commit Graph

86 Commits

Author SHA1 Message Date
Tom Coufal 4927da73e9
chore: set required kubeVersion because of Ingress resource (#94)
Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
2023-05-05 14:06:34 +02:00
Tom Coufal bbd151cdb6
chore: add disclaimer about Backstage customization (#93)
Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
2023-05-05 00:06:13 +02:00
Tom Coufal d83cda63ce
feat: add json schema for the chart (#92)
* feat: add json schema for the chart

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* chore: enrich Chart.yaml with additional metadata

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

---------

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
2023-05-04 18:52:31 +02:00
dependabot[bot] 5ea59d3b51
chore(deps): bump sigstore/cosign-installer from 3.0.2 to 3.0.3 (#90)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](9e9de2292d...204a51a57a)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 11:24:48 +01:00
Tom Coufal 2c056d7190
fix: render resources specified via extraDeploy (#89) 2023-04-28 10:48:33 +02:00
dependabot[bot] 30ae55f9a7
chore(deps): bump actions/setup-python from 4.5.0 to 4.6.0 (#88)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](d27e3f3d7c...57ded4d7d5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 23:19:49 +01:00
dependabot[bot] d00602cd87
chore(deps): bump actions/checkout from 3.5.0 to 3.5.2 (#87) 2023-04-17 18:32:36 +01:00
dependabot[bot] e550034c23
chore(deps): bump sigstore/cosign-installer from 3.0.1 to 3.0.2 (#86)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](c3667d9942...9e9de2292d)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 17:02:37 +01:00
Tom Coufal 77f0aedb85
feat: add additional annotations to Deployment (#78) 2023-04-04 13:13:18 +02:00
dependabot[bot] 13a408cc07
chore(deps): bump helm/chart-testing-action from 2.3.1 to 2.4.0 (#75)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 15:22:27 +02:00
dependabot[bot] c0b7eb8533
chore(deps): bump actions/checkout from 3.4.0 to 3.5.0 (#74)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 15:22:17 +02:00
enmuro 709fe4d5ea
add nodeSelector to deployment template (#73)
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Co-authored-by: Enoe Mugnaschi <enoe.mugnaschi@edreamsodigeo.com>
2023-03-25 11:03:14 +01:00
dependabot[bot] 27389d9897
chore(deps): bump actions/setup-go from 3.5.0 to 4.0.0 (#70)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.5.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](6edd4406fa...4d34df0c23)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 10:25:06 +01:00
dependabot[bot] 9e100c769c
chore(deps): bump actions/checkout from 3.3.0 to 3.4.0 (#69)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 22:21:32 +01:00
Alex Eftimie e48b18fee1
feat: allow setting Deployment replicas count via values (#66) 2023-03-20 14:35:10 +01:00
Tom Coufal 76135577d8
feat: Change Service port name from hardcoded to a value (#63) 2023-03-13 14:58:10 +01:00
Tom Coufal bfec87bf4f
chore(ci): Fix cosign confirmation prompts (#65) 2023-03-13 14:57:43 +01:00
Max Nitze 6126db3f21
bugfix: Render globally configured image pull secrets in deployment template (#64)
Co-authored-by: Max Nitze <Max.Nitze@mgm-tp.com>
2023-03-13 11:53:54 +01:00
dependabot[bot] d3fc1b8509
chore(deps): bump sigstore/cosign-installer from 2.8.1 to 3.0.1 (#61)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.8.1 to 3.0.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](9becc61764...c3667d9942)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 14:52:58 +01:00
Nikolai Røed Kristiansen 37b9b3009d
feat: Add ServiceMonitor for Prometheus operator (#58)
* feat: Add ServiceMonitor for Prometheus operator

Backstage instances with the Prometheus /metrics endpoint configured [1]
can set `serviceMonitor.enabled` to allow prometheus to scrape it's metrics

Disabled by default.

[1] https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md

Signed-off-by: Nikolai R Kristiansen <nikolai.kristiansen@remarkable.no>

* chore: Adress review feedback

- Move to `metrics.serviceMonitor
- Document prometheus-operator and /metrics endpoint requirements
- Remove namespaceSelector config option
- Add commonLabels and commonAnnotations

Signed-off-by: Nikolai R Kristiansen <nikolai.kristiansen@remarkable.no>

* chore: Roll chart version

Signed-off-by: Nikolai R Kristiansen <nikolai.kristiansen@remarkable.no>

* chore: Link to latest master version of /metrics tutorial

Co-authored-by: Vincenzo Scamporlino <me@vinzscam.dev>
Signed-off-by: Nikolai R Kristiansen <nikolai.kristiansen@remarkable.no>

* fix: allow templating for labels and annotations

Signed-off-by: Nikolai R Kristiansen <nikolai.kristiansen@remarkable.no>

---------

Signed-off-by: Nikolai R Kristiansen <nikolai.kristiansen@remarkable.no>
Co-authored-by: Vincenzo Scamporlino <me@vinzscam.dev>
2023-02-22 22:49:55 +01:00
Andrew Block 965b79a662
Fix issues with resources and args (#34) 2023-02-09 16:45:23 +01:00
Patrik Fuhrmann 8f188f5bcd
Fix containerSecurityContext (#57)
* Fix containerSecurityContext

Apply actually `containerSecurityContext` instead of `podSecurityContext` (I assume this a bug introduced in #20).

Signed-off-by: Patrik Fuhrmann <github@pinglf.com>

* Bump the chart version

Signed-off-by: Patrik Fuhrmann <github@pinglf.com>

* Fix README

Signed-off-by: Patrik Fuhrmann <github@pinglf.com>

* Bump only patch version instead of minor

Signed-off-by: Patrik Fuhrmann <github@pinglf.com>

---------

Signed-off-by: Patrik Fuhrmann <github@pinglf.com>
2023-02-06 15:07:57 +01:00
Alex Eftimie 1c02855d61
fix: declare both appConfig and resources (#56) 2023-01-27 14:20:54 +01:00
Alex Eftimie 75f152057b
feat: allow setting podAnnotations (#54) 2023-01-27 12:38:50 +01:00
Chris A. Qvigstad 52a9c3ae77
Tolerations option (#47) 2023-01-18 15:18:06 +01:00
dependabot[bot] e09a705607
chore(deps): bump actions/setup-python from 4.4.0 to 4.5.0 (#52)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](5ccb29d877...d27e3f3d7c)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 17:36:37 +01:00
Nikolai Røed Kristiansen 9b2769b248
chore: Generate release notes (#50)
Resolves https://github.com/backstage/charts/issues/24
2023-01-11 13:28:24 +01:00
Sylvain Pasche 5fe6c3720b
feat: allow using existing serviceAccount (#42) 2023-01-11 11:23:17 +01:00
dependabot[bot] f2855cd538
chore(deps): bump actions/checkout from 3.2.0 to 3.3.0 (#48)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 16:46:25 +01:00
dependabot[bot] cc92de621d
chore(deps): bump helm/chart-releaser-action from 1.4.1 to 1.5.0 (#49)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 16:46:18 +01:00
Nikolai Røed Kristiansen a0321174ab
feat: Annotate deployment with app config checksum (#46) 2023-01-09 16:45:31 +01:00
Andrew Block e53c183419
feat: enable the ability to specify the service target port (#44)
Signed-off-by: Andrew Block <andy.block@gmail.com>
2023-01-07 00:39:59 +00:00
Tom Coufal c7089a88d4
docs: Fix value descriptions for helm docs (#30)
Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
2023-01-06 20:48:01 +00:00
dependabot[bot] 29ca4d30fe
chore(deps): bump actions/checkout from 3.1.0 to 3.2.0 (#36)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](93ea575cb5...755da8c3cf)
---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 16:20:35 +00:00
dependabot[bot] e96bc17425
chore(deps): bump actions/setup-go from 3.4.0 to 3.5.0 (#38)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](d0a58c1c4d...6edd4406fa)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 18:50:15 -06:00
dependabot[bot] 78d2b6b5c6
chore(deps): bump azure/setup-helm from 3.4 to 3.5 (#39)
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 3.4 to 3.5.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Commits](f382f75448...5119fcb908)

---
updated-dependencies:
- dependency-name: azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-28 15:03:49 -06:00
dependabot[bot] 689e045d6e
chore(deps): bump helm/kind-action from 1.4.0 to 1.5.0 (#40)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](9e8295d178...d8ccf8fb62)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 12:24:35 -06:00
dependabot[bot] 930f1cec06
chore(deps): bump actions/setup-python from 4.3.0 to 4.4.0 (#45)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.3.0...5ccb29d8773c3f3f653e1705f474dfaa8a06a912)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 10:01:40 -06:00
Francisco Robles Martín ff60712fb9
feat: define extra app config which generates ConfigMap (#23)
* feat: define extra app config which generates ConfigMap

* change appConfig from multiline string to dict

* docs: document the usage of appConfig key to generate ConfigMap automatically

* chore: load ConfigMap with tplvalues from Bitnami common instead of just toYaml

* tests: appConfig and extraVolumes

* docs: warn about appConfig vs extraAppConfig priority

* docs: reference section with MarkDown link

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* docs: reference Backstage config docs and template to clarify config priority

* docs: typo

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* fix: run helm-docs

* fix: do not use specific drivers on CI tests

* chore: bump minor version

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
2022-12-16 20:42:01 +01:00
Andrew Block 3f3a618d37
Added support for extraContainers and initContainers (#28)
Signed-off-by: Andrew Block <andy.block@gmail.com>

Signed-off-by: Andrew Block <andy.block@gmail.com>
2022-12-16 19:45:38 +01:00
Andrew Block 2ec8b04ae0
Migrate toYaml to partial (#29) 2022-12-16 14:52:20 +01:00
Joshua Jackson be5b46d4c8
Feature: Resource Limits for backstage container (#27) 2022-12-15 16:20:12 +01:00
Anderson Soares bb73b4d4f2
Adding release_name to the instructions The release_name was missing in the instructions (#32) 2022-12-15 12:32:29 +01:00
Chris Burns f89147ad91
feat: adds securityContexts (pod & container) (#20)
Closes undefined
2022-12-14 14:35:29 +01:00
Tom Coufal 047a74df91
docs: Use helm-docs with a proper template (#18) 2022-12-13 08:38:18 +01:00
dependabot[bot] 72df1c7397
chore(deps): bump actions/setup-python from 4.3.0 to 4.3.1 (#25)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](13ae5bb136...2c3dd9e7e2)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 17:46:39 +01:00
Tom Coufal bde918b8b6
chore: Add license (#7) 2022-12-12 15:35:36 +01:00
Joshua Jackson 1648c10220
Bugfix: Fix ingress error causing spec and Rules to be on single line (#22)
* [Bugfix] Fix ingress issue defined in issue 21

Why do we need this change?
=======================
Introduced recently in the TLS section is the {{- end -}} where we suppress the newline. This causes the rules to end up on the same line as the previous section and would break the schema and get something like spec:rules: which is invalid

What effects does this change have?
=======================
Changes the {{- end -}} for the TLS section of the ingress to not suppress the newline

* Bump version of the chart as needed
2022-12-10 07:35:45 +01:00
Tom Coufal 29d69af468
fix: Ingress annotations format (#13) 2022-12-08 21:09:14 +01:00
Chris Burns 737ba4f70a
feat: Adds TLS for Ingress (#17)
Closes https://github.com/backstage/charts/issues/2
2022-12-08 20:33:32 +01:00