318 Commits

Author SHA1 Message Date
Jacob Valdemar 69d9259d26 Create terraform.tf
Signed-off-by: Jacob Valdemar Andreasen <jan@lunar.app>
2021-03-17 10:30:06 +01:00
Erik Larsson 74534a0f8c Move auth token to contrib 2021-03-01 12:29:59 +01:00
Erik Larsson f18b51d932 set and use access-token cookie 2021-03-01 12:29:59 +01:00
r.bideau f90a49fb8a Rephrase config advice in contrib doc for proxy
Signed-off-by: r.bideau <7304827+rbideau@users.noreply.github.com>
2021-02-24 20:32:13 +01:00
r.bideau a908e00e5f Fix some other typo and add theia to vocab
Signed-off-by: r.bideau <7304827+rbideau@users.noreply.github.com>
2021-02-24 19:16:54 +01:00
Raphaël Bideau 7aae53a227 Fix typo contrib doc for proxy
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-02-24 19:09:29 +01:00
r.bideau c9971cc040 Update contrib doc for proxy with configuration sample 2021-02-24 18:37:03 +01:00
Thomas Viaud 715746ac27 Update README.md 2021-02-24 11:17:35 +00:00
Thomas Viaud 738ac785f0 fix(kube,single_backend): Fixing config location with new workdir in container 2021-02-24 11:15:03 +00:00
Fredrik Adelöw 88de6b6c81 remove some occurrences of the old syntax 2021-02-16 08:11:46 +01:00
Erik Larsson b798e8b9e8 Refactored as per PR comments 2021-01-20 01:06:34 +01:00
Himanshu Mishra 0799cb87de Merge pull request #4057 from backstage/orkohunter/remove-unused-dockerfile 2021-01-18 16:36:14 +01:00
Himanshu Mishra cca03162bc chore: Remove yarn docker-build:app command and related docs 2021-01-17 21:53:37 +01:00
Fredrik Adelöw a6f9dca0dc plugins should not depend on core-api 2021-01-14 08:54:54 +01:00
Himanshu Mishra 9560a1a4ab chore: Move Dockerfile at root to contrib/
In deployment docs https://backstage.io/docs/getting-started/deployment-other, we suggest doing a `yarn docker-build` and I thought the root Dockerfile was being used to build the image. Hence I modified it for some needs, but no changes were reflected. Later I found that `yarn docker-build` uses the `Dockerfile` present inside `packages/backend` https://github.com/backstage/backstage/blob/master/packages/backend/Dockerfile. So, I think the Dockerfile at the root is a bit misleading, and should be moved to contrib.

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-01-13 15:24:22 +01:00
Askar a6a2ca6204 remove React's FC type from codebase (#3527)
* WIP-packages: remove React's FC type from codebase

* remove FC from other directories

* fix build failures

* add types to required packages
2020-12-10 11:23:29 +01:00
David Tuite d298d50639 Add pagerduty config to helm chart 2020-12-05 21:49:03 +00:00
Adam Harvey a51d475899 Standarize code fence and wording tweaks (#3285) 2020-11-13 08:51:11 +01:00
Fredrik Adelöw 091765a32e Update help-im-behind-a-corporate-proxy.md (#3266) 2020-11-09 17:55:32 +01:00
Iain Billett b0cb451f5d Chart updates (#3241)
* Allow deployments to use private images

The docker credentials secret can be created by:
kubectl create secret docker-registry <name> # args

* Update db password secret on update too

Support changing DB password on upgrade.

* Update Readme

* How to use private docker repos
* Clear up some confusion around the ca configmap name
2020-11-05 13:03:13 +01:00
Adam Harvey 4dcdb8badf Fix k8s contrib folder typo 2020-11-03 22:02:32 -05:00
Patrik Oldsberg 474bb5b57f rewrite other references to spotify/backstage and sorrounding things 2020-11-03 11:39:27 +01:00
Patrik Oldsberg af141c0766 rewrite repo location urls 2020-11-03 11:03:49 +01:00
David Tuite 478e17bcf4 Apply development config in Helm charts (#3161)
This isn't the best fix because we're still using NODE_ENV=development
in a "production" environment. Ideally we would stop doing this.

Right now, the Helm charts are broken because they deploy the backend
straight into Error state.. This change will unbreak them for the
moment.
2020-11-02 09:05:57 +01:00
blam 796b844cb3 chore(docs): more docs around proxy setup 2020-10-27 11:05:42 +01:00
blam 7c7cc0b1dd docs: fix copy and paste error 2020-10-27 09:45:24 +01:00
blam 99133b9301 chore(proxy): added some contrib doxs for corporate proxy config 2020-10-27 01:17:33 +01:00
David Tuite 86c698d17a Allow setting travis ci auth token via helm 2020-10-24 17:44:01 +01:00
Patrik Oldsberg 3dec8022d2 contrib/kubernetes: update plain example to load config with args 2020-10-22 10:52:07 +02:00
Patrik Oldsberg 3a6a1c481d Merge pull request #2942 from spotify/rugvip/k8s-contrib
contrib/kubernetes: added plain single pod deployment example + k8s docs
2020-10-17 16:05:09 +02:00
Patrik Oldsberg 547cd78456 contrib/kubernetes: added plain single pod deployment example 2020-10-17 15:22:52 +02:00
David Tuite 71de0d8aee Add Google Analytics
Specity a Google Analytics Tracking ID in the `app-config.yaml` to
enable Google Analytics tracking.

```
app:
  title:
  baseUrl:
  googleAnalyticsTrackingId: UA-000000-0
```

If the `googleAnalyticsTrackingId` is not supplied, no tracking script
is added to the application and no tracking can occur.

Includes Helm chart changes to allow overriding the GA Tracking ID.
2020-10-16 14:55:24 +01:00
Patrik Oldsberg 5ff5b1325d Merge pull request #2739 from Marvin9/feat/flexible-theme-for-page
feat: theme customization for pages
2020-10-16 12:47:05 +02:00
Martina Iglesias 7ff2f1c0f0 [charts] Add certificate issuer (#2877) 2020-10-15 11:30:39 +02:00
Marvin9 fe47cb9f07 chore: update example component 2020-10-15 09:37:13 +05:30
David Tuite 7f48256f76 Add newrelic rest api key to helm charts (#2875) 2020-10-14 09:45:45 +02:00
Martina Iglesias Fernandez 9c27e58c03 Update name of env authentication env vars 2020-10-12 09:56:28 +02:00
Martina Iglesias Fernandez cafe45b4a9 Fix feedback from dtuite 2020-10-12 09:24:30 +02:00
Martina Iglesias Fernandez 84e6d0e230 Remove line in initdb script that creates backend db
Since this is already created by the backend
2020-10-12 09:24:30 +02:00
Martina Iglesias Fernandez 797ac6a450 Use app-config.development.yaml to provide configuration instead of local
The app-config.yaml file that comes inside the docker image for the
backend contains configuration for the key `scaffolder.azure`. This
automatically enables the use of azure and it is not possible to set its
values to dummy ones because it will fail when it tries to validate
them.

To avoid the backend throwing an exception for this, the charts are
using the "development" mode (via setting NODE_ENV=development).

This means that the app-config.development.yaml file that ships in the
container woud have higher precedence than the app-config.local.yaml
file that the charts tried to create before. For that reason, for now,
they will override the development file.

A better solution would be to ship the docker images with a minimal
app-config.yaml or even without any config. And then have these charts
provide said file.
2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez 6289cea398 Add more documentation to charts README and k8s guide 2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez 9f44b650f0 Fix ingress bug 2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez e0a960558b Fix techdocs and CORS
the cors setting was not loaded by the frontend because it can't see the
app-config.yaml file so it needs to be part of the environment variables
2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez d517a32bcb Fix ingress for lighthouse connection 2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez 34f6182e48 Fix ingress and baseUrls 2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez 4851528f2e Make demo data configurable and add more docs 2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez 024b8bceee Add docs 2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez 56fae192b5 Fix postgres password secret 2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez 5db315a48b Add chart testing workflow 2020-10-12 09:24:29 +02:00
Martina Iglesias Fernandez 8c8560f357 Fix name of lightouse configmap ref 2020-10-12 09:24:29 +02:00