Commit Graph

148 Commits

Author SHA1 Message Date
Patrik Oldsberg 4d21332888 Merge branch 'master' into rugvip/depr 2022-01-17 13:07:16 +01:00
Patrik Oldsberg 51fbedc445 plugins: migrate usage of deprecated IdentityApi methods
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 19:51:30 +01:00
Julio Arias 4b57df1d86 bugfix: Fix helm chart ingress template
This changes fixes the ingress spec to match the API version either v1 or v1beta1,
previously the apiVersion was change according to the K8S version but no
further changes where made to actually match the new v1 API spec. This
cause issues deploying to clusters with versions 1.19+

Signed-off-by: Julio Arias <jarias@users.noreply.github.com>
2022-01-06 15:08:03 -06:00
Johan Haals df52424c1e Merge pull request #8602 from tomwolfgang/fix/docs-aut-api-requests
Updating tutorial to work with latest backstage
2022-01-03 14:16:06 +01:00
tom.wolf 5f2e4bd180 Returning usage of 'jose" and removing the null token retry code
Signed-off-by: tom.wolf <tom.wolf@overwolf.com>
2021-12-31 00:13:25 +02:00
Patrik Oldsberg 4ce51ab0f1 use precise imports of react-use
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-30 12:53:16 +01:00
tom.wolf afea3d9e36 Updating tutorial to work with latest backstage
Signed-off-by: tom.wolf <tom.wolf@overwolf.com>
2021-12-28 22:11:55 +02:00
Niall McCullagh d3f10b6e1e fix api docs routing clash with /api
/api-docs was getting routed to the backend /api route. The
documentation at https://kubernetes.io/docs/concepts/services-networking/ingress/
describes that the path should match on the full element so this was
unexpected. Adding a trailing slash is not supposed to have an impact
but in this case it solved the problem.

Signed-off-by: Niall McCullagh <niallmccullagh@users.noreply.github.com>
2021-12-22 14:27:05 +00:00
jodybro 6de3b8fb24 support v1 api for ingress object
Signed-off-by: jodybro <ajodasattaur@gmail.com>
2021-11-23 13:30:01 -05:00
Otto Sichert b23bc7f9c3 Change default port of backend to 7007 due to MacOS Control Center update
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 16:45:57 +01:00
Patrik Oldsberg cc362494e3 Merge pull request #7590 from KnechtionsCoding/fix/resources
fix: resources for frontend
2021-10-18 11:10:19 +02:00
Marley Powell 04c5f927b8 chore: updated app-config.development.yaml.tpl to use new config format for techdocs.
The 'techdocs.generators.techdocs' configuration key is deprecated and will be removed in the future. Please use 'techdocs.generator' instead. See here https://backstage.io/docs/features/techdocs/configuration

Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-10-15 08:19:45 +01:00
Hans Knecht c4914b63c9 fix: resources for frontend
Signed-off-by: Hans Knecht <Hans.Knecht@missionlane.com>
2021-10-13 11:29:52 -04:00
Mattias Frinnström 0cfeea8f8f Add changeset and update docs
Signed-off-by: Mattias Frinnström <mattias.frinnstrom@husqvarnagroup.com>
2021-10-07 16:43:05 +02:00
Ben Chidgey 7e2c0bc96f FIX: Stop sed escaping numbers 2 and 7 in Docker
An interesting edge case has come up whilst using BackStage.

When using the example frontend-with-nginx work to run a separate
frontend, whilst then providing an override for the
googleAnalyticsTrackingId in yaml config via
APP_CONFIG_app_googleAnalyticsTrackingId. I received an "Octal escape
sequences are not allowed in strict mode" error in the browser dev
console.

After looking into it it appears that the sed used escapes the numbers 2
and 7 if they are present in an APP_CONFIG_* ENV override value.
I happened to have both a 2 and a 7 in my GA ids, hence the edge case
part!

Of note this did not happen on my mac but it is present inside of the
nginx:mainline Docker container used in the example.

This fix simply removes the hex from the sed substitution regex and
replaces it with a single quote '

Signed-off-by: Ben Chidgey <ben@feedmypixel.com>
2021-09-23 17:34:54 +01:00
Fredrik Adelöw 3f8db2b64d remove some occurrences of the old core in docs etc
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-23 13:20:23 +02:00
Patrik Oldsberg d0a47c8605 move to node 14 & 16
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-17 23:03:29 +02:00
Fredrik Adelöw ccfd99c9b1 update dockerfile instructions to build only app workspace
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-12 09:47:16 +02:00
Nikola Babic 971677ef87 Fix url reference in documentation
Signed-off-by: Nikola Babic <n.babic@corgihomeplan.co.uk>
2021-07-22 15:21:39 +01:00
zjpersc 74d8c0c2b7 Recommend adding the GLOBAL_AGENT_NO_PROXY setting to the instructions. Many proxy users would likely need it.
Signed-off-by: zjpersc <zjpersc@gmail.com>
2021-06-25 17:28:53 -05:00
Patrik Oldsberg 642cec7ac7 docs: remove references to @backstage/core
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-24 12:50:40 +02:00
Ben Lambert e4a845f06d Merge pull request #6023 from jh-sh/contrib/add-a-bit-about-auth
docs: slightly extend the doc for enabling identityAPI
2021-06-22 11:13:42 +02:00
Tim Hansen f40ad5ddb2 quickstart-app-plugin: Switch example components to named exports
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-21 10:33:18 -06:00
Eugene S 4a0cb1d8bc iron little things out :)
Signed-off-by: Eugene S <jh.sh@me.com>
2021-06-20 00:37:20 +03:00
Brent Sharrow 64ebeb6026 Update code block in quickstart-app-plugin tutorial to use named import.
Signed-off-by: Brent Sharrow <bsharrow4@gmail.com>
2021-06-18 11:45:59 -05:00
Eugene Sh 234a6453a9 switch from typescript to diff syntax
now it's proper syntax, based on @OrkoHunter's suggestion.

Signed-off-by: Eugene S <jh.sh@me.com>
2021-06-15 18:01:37 +03:00
Eugene Sh 0d0ed5fe54 slightly extend the documentation for enabling identityAPi
Signed-off-by: Eugene S <jh.sh@me.com>
2021-06-15 17:52:21 +03:00
Tim Hansen 92963779b5 Remove default upgrade-insecure-requests
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-04 10:20:02 -06:00
Tim Hansen 8b62311cbb Replace quickstart-app-auth with updated docs
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-05-24 12:46:59 -06:00
blam c6367d81af chore: updating variable names in terraform doc
Signed-off-by: blam <ben@blam.sh>
2021-04-29 10:58:33 +02:00
Patrik Oldsberg 858b7de1f6 Merge pull request #5433 from onematchfox/update-nginx-example
Update nginx deployment to use 1.19 features
2021-04-28 19:06:29 +02:00
Patrik Oldsberg 3d167eef48 Merge pull request #5437 from azhurbilo/lighthouse-disabled
Add ability to change Service type and exclude some k8s resources using vars  (Helm Chart)
2021-04-28 16:08:23 +02:00
Martina Iglesias Fernandez 213cd261b6 [chart] Update docker image
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
2021-04-28 11:33:23 +02:00
azhurbilo 0aff8985d1 ability to disable postgres CA mount
Signed-off-by: azhurbilo <artemzhurbilo@gmail.com>
2021-04-28 01:52:31 +03:00
Patrik Oldsberg df897a6126 Merge pull request #4918 from JacobValdemar/patch-1
Contribute terraform file for S3 storage in Techdocs
2021-04-27 10:30:43 +02:00
azhurbilo 041575f257 ability to change components service type
Signed-off-by: azhurbilo <artemzhurbilo@gmail.com>
2021-04-22 21:05:05 +03:00
azhurbilo 8e067f00be add ability to disable some helm lighthouse resources
Signed-off-by: azhurbilo <artemzhurbilo@gmail.com>
2021-04-22 21:05:05 +03:00
Brian Fox c6a5acfc2a Fix typo - Service should be only be enabled when backend is enabled
Signed-off-by: Brian Fox <brianhfox@gmail.com>
2021-04-22 17:47:21 +02:00
Brian Fox 8bd92cff3f Update nginx deployment to use 1.19 features
- There is no need to override the `CMD` on the base image to get the custom scripts to run. This can be done simply by adding the custom configuration script to the `/docker-entrypoint.d` folder. See https://github.com/nginxinc/docker-nginx/blob/master/mainline/debian/docker-entrypoint.sh.
- With the above change made, we can now also reap the benefit of support for `envsubst` having been added in 1.19 -  as long as the config is placed in the folder `/etc/nginx/templates/`. See https://github.com/docker-library/docs/tree/master/nginx#using-environment-variables-in-nginx-configuration-new-in-119 and https://github.com/nginxinc/docker-nginx/blob/master/mainline/debian/20-envsubst-on-templates.sh for more info.

Signed-off-by: Brian Fox <brianhfox@gmail.com>
2021-04-22 17:36:05 +02:00
Tim 00cd559c4a Merge pull request #4618 from rbogle/rbogle/fargate-docs
Rbogle/fargate docs
2021-04-20 15:10:07 -06:00
Tim Hansen 68f3e891b8 Move Fargate doc to contrib
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-20 14:36:19 -06:00
Fredrik Adelöw e669a8013f update the standalone frontend contribs
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 20:24:06 +02:00
Tim Hansen df3afcc896 Update contrib k8s docs to reference k8s microsite docs
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-15 14:13:17 -06:00
Fredrik Adelöw c28689c686 change all $env to ${}
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-15 13:26:44 +02:00
Ben Lambert 19f6eb03b4 Merge pull request #5216 from getndazn/aws-alb-aad-oidc-auth
tutorial: Using AWS ALB with Azure AD to authenticate requests
2021-04-13 11:22:16 +02:00
Marco Crivellaro 703f47042a handling error by outputing the message to the div
Signed-off-by: Marco Crivellaro <marco.crive@gmail.com>
2021-04-08 23:15:05 +01:00
Marco Crivellaro b76b5ef987 remove details of createApp call
Signed-off-by: Marco Crivellaro <marco.crive@gmail.com>
2021-04-08 22:55:44 +01:00
Marco Crivellaro 0a0e148150 using guest user convention
Signed-off-by: Marco Crivellaro <marco.crive@gmail.com>
2021-04-08 22:51:36 +01:00
Marco Crivellaro 3eb5825045 Update contrib/docs/tutorials/aws-alb-aad-oidc-auth.md
Co-authored-by: Tim <timbonicus@gmail.com>
Signed-off-by: Marco Crivellaro <marco.crive@gmail.com>
2021-04-08 22:48:27 +01:00
Marco Crivellaro c59c131905 Update contrib/docs/tutorials/aws-alb-aad-oidc-auth.md
Co-authored-by: Tim <timbonicus@gmail.com>
Signed-off-by: Marco Crivellaro <marco.crive@gmail.com>
2021-04-08 22:48:27 +01:00