@pfeifferj/plugin-scaffolder-backend-module-kubernetes-deploy
TypeScript icon, indicating that this package has built-in type declarations

0.0.27 • Public • Published

@pfeifferj/plugin-scaffolder-backend-module-kubernetes-deploy

The kubernetes-deploy module for @pfeifferj/plugin-scaffolder-backend-module-kubernetes-deploy.

quickstart

Install package

yarn add --cwd packages/backend @pfeifferj/plugin-scaffolder-backend-module-kubernetes-deploy

Import plugin into scaffolder.ts

import { CatalogClient } from '@backstage/catalog-client';
import {
  createBuiltinActions,
  createRouter,
} from '@backstage/plugin-scaffolder-backend';
import { Router } from 'express';
import type { PluginEnvironment } from '../types';
import {
  deployKubernetesAction,
  templateAndValidateKubernetesAction,
} from '@pfeifferj/plugin-scaffolder-backend-module-kubernetes-deploy'; // here
import { ScmIntegrations } from '@backstage/integration';
import { createConfluenceToMarkdownAction } from '@backstage/plugin-scaffolder-backend-module-confluence-to-markdown';

and add actions

  const actions = [
    ...builtInActions,
    deployKubernetesAction(), // here
    templateAndValidateKubernetesAction(), // and here
    createConfluenceToMarkdownAction({
      integrations,
      config: env.config,
      reader: env.reader,
    }),
  ];

This plugin was created through the Backstage CLI

Readme

Keywords

none

Package Sidebar

Install

npm i @pfeifferj/plugin-scaffolder-backend-module-kubernetes-deploy

Weekly Downloads

1

Version

0.0.27

License

Apache-2.0

Unpacked Size

24.1 kB

Total Files

10

Last publish

Collaborators

  • pfeifferj