Skip to content

anandkuma77/console-plugin-cert-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift Console Plugin for Cert-Manager

OpenShift Console dynamic plugin providing a management UI for the cert-manager-operator.

Features

This plugin adds comprehensive certificate management views to the OpenShift Console:

Custom Resource Management

  • Certificates - Create, view, and manage X.509 certificates with automatic renewal
  • Issuers - Configure namespace-scoped certificate issuers (ACME, CA, Vault, Venafi, SelfSigned)
  • ClusterIssuers - Configure cluster-wide certificate issuers
  • CertificateRequests - View certificate signing requests
  • CertManager Config - View and configure the cert-manager operator settings

Views

  • List Pages - Sortable, filterable tables with status indicators for all resources
  • Detail Pages - Overview, YAML editor, and events tabs with complete resource information
  • Create/Edit Forms - Guided forms with validation for creating and modifying resources
  • Dashboard Card - Certificate health summary on the admin dashboard

Navigation

All views are organized under a dedicated Certificates section in the Administrator perspective.

Screenshots

Coming soon - add screenshots after deployment

Prerequisites

  • Node.js 16+ and Yarn 4.13.0+
  • Docker or Podman
  • OpenShift CLI (oc)
  • Access to an OpenShift 4.22+ cluster

Local Development

1. Install dependencies

yarn install

2. Start the plugin development server

yarn start

The plugin runs on http://localhost:9001

3. Connect to your OpenShift cluster and start the console

In a separate terminal:

oc login <your-cluster-url>
yarn start-console

The console runs on http://localhost:9000

4. Access the plugin

Navigate to http://localhost:9000 and look for the Certificates section in the Administrator perspective navigation.

Component changes hot-reload automatically. Changes to console-extensions.json require restarting yarn start.

Building for Production

Build the plugin container image:

docker build -t quay.io/anandkuma77/console-plugin-cert-manager:latest .

Push to your registry:

docker push quay.io/anandkuma77/console-plugin-cert-manager:latest

Deployment

Deploy the plugin to your OpenShift cluster using Helm:

helm upgrade -i console-plugin-cert-manager charts/openshift-console-plugin \
  -n console-plugin-cert-manager --create-namespace \
  --set plugin.image=quay.io/anandkuma77/console-plugin-cert-manager:latest

Verify the ConsolePlugin CR was created:

oc get consoleplugin console-plugin-cert-manager

Enable the plugin in the console:

oc patch consoles.operator.openshift.io cluster \
  --patch '{"spec":{"plugins":["console-plugin-cert-manager"]}}' --type=merge

The console will reload automatically. Navigate to the Administrator perspective to see the Certificates section.

Running Tests

Unit tests

yarn test

Linting

yarn lint

E2E tests

yarn test-e2e-headless

Project Structure

console-plugin-cert-manager/
├── src/
│   ├── components/
│   │   ├── Certificate/          # Certificate views
│   │   ├── Issuer/               # Issuer views
│   │   ├── ClusterIssuer/        # ClusterIssuer views
│   │   ├── CertificateRequest/   # CertificateRequest views
│   │   ├── CertManager/          # CertManager config views
│   │   └── Dashboard/            # Dashboard card
│   ├── types/                    # TypeScript type definitions
│   └── utils/                    # Helper functions
├── console-extensions.json       # Plugin extension points
├── package.json                  # Dependencies and metadata
└── charts/                       # Helm chart for deployment

Links

License

Apache-2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors