@pfeifferj/plugin-scaffolder-backend-module-kubernetes-deploy
v0.0.27
Published
The kubernetes-deploy module for @backstage/plugin-scaffolder-backend
Downloads
38
Readme
@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