Skip to content

Commit c8ae9d6

Browse files
committed
chore: Update to Developer Portal 0.4.0
1 parent 0377718 commit c8ae9d6

17 files changed

+321
-37
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
registry-server: ghcr.io
1919
registry-username: ${{ github.actor }}
2020
image: ${{ github.repository }}
21-
version: 0.3.0
21+
version: 0.4.0
2222
secrets:
2323
pull-request-token: ${{ secrets.GH_ORG_PAT }}

package/config/helm/upstream/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ sources:
3434
- https://github.com/backstage/charts
3535
- https://github.com/backstage/backstage
3636
type: application
37-
version: 1.9.6
37+
version: 2.0.0

package/config/helm/upstream/backstage/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Backstage Helm Chart
33

44
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage)
5-
![Version: 1.9.6](https://img.shields.io/badge/Version-1.9.6-informational?style=flat-square)
5+
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square)
66
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
77

88
A Helm chart for deploying a Backstage application
@@ -135,17 +135,18 @@ Kubernetes: `>= 1.19.0-0`
135135
| backstage.image.tag | Backstage image tag (immutable tags are recommended) | string | `"latest"` |
136136
| backstage.initContainers | Backstage container init containers | list | `[]` |
137137
| backstage.installDir | Directory containing the backstage installation | string | `"/app"` |
138-
| backstage.livenessProbe | Liveness Probe Backstage doesn't provide any health endpoints by default. A simple one can be added like this: https://backstage.io/docs/plugins/observability/#health-checks <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes <!-- E.g. livenessProbe: failureThreshold: 3 httpGet: path: /healthcheck port: 7007 scheme: HTTP initialDelaySeconds: 60 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 2 | object | `{}` |
138+
| backstage.livenessProbe | Liveness Probe Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes <!-- E.g. livenessProbe: failureThreshold: 3 httpGet: path: /.backstage/health/v1/liveness port: 7007 scheme: HTTP initialDelaySeconds: 60 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 2 | object | `{"httpGet":{"path":"/.backstage/health/v1/liveness","port":7007,"scheme":"HTTP"}}` |
139139
| backstage.nodeSelector | Node labels for pod assignment <br /> Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector | object | `{}` |
140140
| backstage.podAnnotations | Annotations to add to the backend deployment pods | object | `{}` |
141141
| backstage.podLabels | Labels to add to the backend deployment pods | object | `{}` |
142142
| backstage.podSecurityContext | Security settings for a Pod. The security settings that you specify for a Pod apply to all Containers in the Pod. <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod | object | `{}` |
143-
| backstage.readinessProbe | Readiness Probe Backstage doesn't provide any health endpoints by default. A simple one can be added like this: https://backstage.io/docs/plugins/observability/#health-checks <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes <!-- E.g. readinessProbe: failureThreshold: 3 httpGet: path: /healthcheck port: 7007 scheme: HTTP initialDelaySeconds: 30 periodSeconds: 10 successThreshold: 2 timeoutSeconds: 2 | object | `{}` |
143+
| backstage.readinessProbe | Readiness Probe Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes <!-- E.g. readinessProbe: failureThreshold: 3 httpGet: path: /.backstage/health/v1/readiness port: 7007 scheme: HTTP initialDelaySeconds: 30 periodSeconds: 10 successThreshold: 2 timeoutSeconds: 2 | object | `{"httpGet":{"path":"/.backstage/health/v1/readiness","port":7007,"scheme":"HTTP"}}` |
144144
| backstage.replicas | Number of deployment replicas | int | `1` |
145145
| backstage.resources | Resource requests/limits <br /> Ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container <!-- E.g. resources: limits: memory: 1Gi cpu: 1000m requests: memory: 250Mi cpu: 100m --> | object | `{}` |
146146
| backstage.revisionHistoryLimit | Define the [count of deployment revisions](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) to be kept. May be set to 0 in case of GitOps deployment approach. | int | `10` |
147-
| backstage.startupProbe | Startup Probe Backstage doesn't provide any health endpoints by default. A simple one can be added like this: https://backstage.io/docs/plugins/observability/#health-checks <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes <!-- E.g. startupProbe: failureThreshold: 3 httpGet: path: /healthcheck port: 7007 scheme: HTTP initialDelaySeconds: 60 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 2 | object | `{}` |
147+
| backstage.startupProbe | Startup Probe Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes <!-- E.g. startupProbe: failureThreshold: 3 httpGet: path: /.backstage/health/v1/liveness port: 7007 scheme: HTTP initialDelaySeconds: 60 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 2 | object | `{"httpGet":{"path":"/.backstage/health/v1/liveness","port":7007,"scheme":"HTTP"}}` |
148148
| backstage.tolerations | Node tolerations for server scheduling to nodes with taints <br /> Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ | list | `[]` |
149+
| backstage.topologySpreadConstraints | Topology Spread Constraints for pod assignment <br /> Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#pod-topology-spread-constraints | list | `[]` |
149150
| clusterDomain | Default Kubernetes cluster domain | string | `"cluster.local"` |
150151
| commonAnnotations | Annotations to add to all deployed objects | object | `{}` |
151152
| commonLabels | Labels to add to all deployed objects | object | `{}` |
@@ -158,10 +159,12 @@ Kubernetes: `>= 1.19.0-0`
158159
| global | Global parameters Global Docker image parameters Please, note that this will override the image parameters, including dependencies, configured to use the global value Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass | object | See below |
159160
| global.imagePullSecrets | Global Docker registry secret names as an array </br> E.g. `imagePullSecrets: [myRegistryKeySecretName]` | list | `[]` |
160161
| global.imageRegistry | Global Docker image registry | string | `""` |
161-
| ingress | Ingress parameters | object | `{"annotations":{},"className":"","enabled":false,"host":"","path":"/","tls":{"enabled":false,"secretName":""}}` |
162+
| ingress | Ingress parameters | object | `{"annotations":{},"className":"","enabled":false,"extraHosts":[],"extraTls":[],"host":"","path":"/","tls":{"enabled":false,"secretName":""}}` |
162163
| ingress.annotations | Additional annotations for the Ingress resource | object | `{}` |
163164
| ingress.className | Name of the IngressClass cluster resource which defines which controller will implement the resource (e.g nginx) | string | `""` |
164165
| ingress.enabled | Enable the creation of the ingress resource | bool | `false` |
166+
| ingress.extraHosts | List of additional hostnames to be covered with this ingress record (e.g. a CNAME) <!-- E.g. extraHosts: - name: backstage.env.example.com path: / (Optional) pathType: Prefix (Optional) port: 7007 (Optional) --> | list | `[]` |
167+
| ingress.extraTls | The TLS configuration for additional hostnames to be covered with this ingress record. <br /> Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls <!-- E.g. extraTls: - hosts: - backstage.env.example.com secretName: backstage-env --> | list | `[]` |
165168
| ingress.host | Hostname to be used to expose the route to access the backstage application (e.g: backstage.IP.nip.io) | string | `""` |
166169
| ingress.path | Path to be used to expose the full route to access the backstage application (e.g: IP.nip.io/backstage) | string | `"/"` |
167170
| ingress.tls | Ingress TLS parameters | object | `{"enabled":false,"secretName":""}` |

package/config/helm/upstream/backstage/ci/appConfig-values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
backstage:
22
appConfig:
3+
techdocs:
4+
builder: "local"
35
app:
46
# Let's test that everything is fine with comments
57
title: The very best Backstage Helm Chart! :D

package/config/helm/upstream/backstage/ci/image-digest-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ backstage:
22
image:
33
registry: ghcr.io
44
repository: backstage/backstage
5-
digest: "sha256:a384ce618232b5d9908df083e43c294119f4efdc66890d2a8e3bcba9ccd955e9"
5+
digest: "sha256:f9ffa809e2c3f351699129d57edd6e64ca9ea5a4d4dd6339fed1ec80a30bc042"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ingress:
2+
enabled: true
3+
host: backstage.example.com
4+
tls:
5+
enabled: true
6+
secretName: "backstage-tls"
7+
extraHosts:
8+
- name: backstage.dev.example.com
9+
extraTls:
10+
- hosts:
11+
- backstage.dev.example.com
12+
secretName: "backstage-dev-tls"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ingress:
2+
enabled: true
3+
host: backstage.example.com
4+
tls:
5+
enabled: true
6+
secretName: "backstage-tls"

package/config/helm/upstream/backstage/ci/probes-values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ backstage:
1515
readinessProbe:
1616
failureThreshold: 3
1717
httpGet:
18-
path: /healthcheck
18+
path: /.backstage/health/v1/readiness
1919
port: 7007
2020
scheme: HTTP
2121
initialDelaySeconds: 30
@@ -25,7 +25,7 @@ backstage:
2525
livenessProbe:
2626
failureThreshold: 3
2727
httpGet:
28-
path: /healthcheck
28+
path: /.backstage/health/v1/liveness
2929
port: 7007
3030
scheme: HTTP
3131
initialDelaySeconds: 60
@@ -35,7 +35,7 @@ backstage:
3535
startupProbe:
3636
failureThreshold: 3
3737
httpGet:
38-
path: /healthcheck
38+
path: /.backstage/health/v1/liveness
3939
port: 7007
4040
scheme: HTTP
4141
initialDelaySeconds: 60
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
backstage:
2+
topologySpreadConstraints:
3+
- maxSkew: 1
4+
topologyKey: kubernetes.io/hostname
5+
whenUnsatisfiable: DoNotSchedule
6+
labelSelector:
7+
matchLabels:
8+
app.kubernetes.io/component: backstage
9+
matchLabelKeys:
10+
- pod-template-hash

package/config/helm/upstream/backstage/templates/backstage-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ spec:
4747
affinity:
4848
{{- include "common.tplvalues.render" ( dict "value" .Values.backstage.affinity "context" $) | nindent 8 }}
4949
{{- end }}
50+
{{- if .Values.backstage.topologySpreadConstraints }}
51+
topologySpreadConstraints:
52+
{{- include "common.tplvalues.render" ( dict "value" .Values.backstage.topologySpreadConstraints "context" $) | nindent 8 }}
53+
{{- end }}
5054
{{- if .Values.backstage.nodeSelector }}
5155
nodeSelector:
5256
{{- include "common.tplvalues.render" ( dict "value" .Values.backstage.nodeSelector "context" $) | nindent 8 }}

0 commit comments

Comments
 (0)