New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@roadiehq/backstage-plugin-argo-cd

Package Overview
Dependencies
Maintainers
6
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roadiehq/backstage-plugin-argo-cd

![](./docs/argo-cd-plugin.png)

  • 0.1.0
  • npm
  • Socket score

Version published
Weekly downloads
3.1K
decreased by-13.64%
Maintainers
6
Weekly downloads
 
Created
Source

Argo CD Plugin for Backstage

https://roadie.io/backstage/plugins/argo-cd

Features

How to add argo-cd project dependency to Backstage app

If you have your own backstage application without this plugin, here it's how to add it:

  1. In the backstage/packages/app project add the plugin as a package.json dependency:
yarn add @roadiehq/backstage-plugin-argo-cd
  1. add argo-cd to the proxy object in app-config.yaml file in the root directory:
proxy:

  ...

  '/argocd/api':
    # url to the api of your hosted argoCD instance
    target: https://159.65.209.132/api/v1/
    changeOrigin: true
    # this line is required if your hosted argoCD instance has self-signed certificate
    secure: false
    headers:
      Cookie:
        $env: ARGOCD_AUTH_TOKEN


  1. Add plugin to the list of plugins:
// packages/app/src/plugins.ts
export { plugin as ArgoCD } from '@roadiehq/backstage-plugin-argo-cd';
  1. Add plugin to the entitytPage.tsx source file:

How to use Argo-cd plugin in Backstage

Argo-cd plugin is a part of the Backstage sample app. To start using it for your component, you have to:

  1. add annotation to the yaml config file of a component:
argo-cd/appname: <app-name>
  1. add your auth key to the environmental variables for your backstage backend server (you can acquire it by sending a GET http request to /session endpoint with username and password):
ARGOCD_AUTH_TOKEN="argocd.token=<auth-token>"

Develop plugin locally

You can clone the plugin repo into the plugins/ directory:

git clone https://github.com/RoadieHQ/backstage-plugin-argo-cd.git argo-cd

and run yarn in the root backstage directory - it will create a symbolic link so the dependency will be provided from the source code instead of node_modules package.

FAQs

Package last updated on 07 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc