File tree 5 files changed +84
-0
lines changed
deployment/kubernetes/backstage/helm
5 files changed +84
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : v2
2
+ name : backstage
3
+ description : A Helm chart for Kubernetes
4
+
5
+ # A chart can be either an 'application' or a 'library' chart.
6
+ #
7
+ # Application charts are a collection of templates that can be packaged into versioned archives
8
+ # to be deployed.
9
+ #
10
+ # Library charts provide useful utilities or functions for the chart developer. They're included as
11
+ # a dependency of application charts to inject those utilities and functions into the rendering
12
+ # pipeline. Library charts do not define any templates and therefore cannot be deployed.
13
+ type : application
14
+
15
+ # This is the chart version. This version number should be incremented each time you make changes
16
+ # to the chart and its templates, including the app version.
17
+ # Versions are expected to follow Semantic Versioning (https://semver.org/)
18
+ version : 0.1.0
19
+
20
+ # This is the version number of the application being deployed. This version number should be
21
+ # incremented each time you make changes to the application. Versions are not expected to
22
+ # follow Semantic Versioning. They should reflect the version the application is using.
23
+ # It is recommended to use it with quotes.
24
+ appVersion : " 0.1.0"
Original file line number Diff line number Diff line change
1
+ # kubernetes/backstage-secrets.yaml
2
+ apiVersion : v1
3
+ kind : Secret
4
+ metadata :
5
+ name : backstage-secrets
6
+ namespace : backstage
7
+ type : Opaque
8
+ stringData :
9
+ GITHUB_TOKEN :
Original file line number Diff line number Diff line change
1
+ # kubernetes/backstage-service.yaml
2
+ apiVersion : v1
3
+ kind : Service
4
+ metadata :
5
+ name : backstage
6
+ namespace : backstage
7
+ spec :
8
+ selector :
9
+ app : backstage
10
+ ports :
11
+ - name : http
12
+ port : 80
13
+ targetPort : http
Original file line number Diff line number Diff line change
1
+ # kubernetes/backstage.yaml
2
+ apiVersion : apps/v1
3
+ kind : Deployment
4
+ metadata :
5
+ name : backstage
6
+ namespace : backstage
7
+ spec :
8
+ replicas : 1
9
+ selector :
10
+ matchLabels :
11
+ app : backstage
12
+ template :
13
+ metadata :
14
+ labels :
15
+ app : backstage
16
+ spec :
17
+ containers :
18
+ - name : backstage
19
+ image : localhost:5001/backstage:0.1.0
20
+ imagePullPolicy : IfNotPresent
21
+ ports :
22
+ - name : http
23
+ containerPort : 7007
24
+ envFrom :
25
+ - secretRef :
26
+ name : postgres-secrets
27
+ - secretRef :
28
+ name : backstage-secrets
29
+ # Uncomment if health checks are enabled in your app:
30
+ # https://backstage.io/docs/plugins/observability#health-checks
31
+ # readinessProbe:
32
+ # httpGet:
33
+ # port: 7007
34
+ # path: /healthcheck
35
+ # livenessProbe:
36
+ # httpGet:
37
+ # port: 7007
38
+ # path: /healthcheck
You can’t perform that action at this time.
0 commit comments