Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cert-manager plugin #143

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add cert-manager plugin #143

wants to merge 1 commit into from

Conversation

yolossn
Copy link
Contributor

@yolossn yolossn commented Dec 30, 2024

Testing the Cert-Manager Plugin

Prerequisites

  • A Kubernetes cluster with cert-manager installed
  • Node.js and npm installed on your system

Steps to Test

  1. Clone the plugins repository:

    git clone https://github.com/headlamp-k8s/plugins.git
  2. Switch to the cert-manager branch:

    git checkout cert-manager
  3. Navigate to the cert-manager plugin directory:

    cd cert-manager
  4. Install the required dependencies:

    npm install
  5. Start the plugin in development mode:

    npm run start
  6. Launch Headlamp. You should now see "Cert Manager" in the sidebar.

Optional: Generate Cert-Manager Types

To test the plugin with sample cert-manager resources:

  1. Navigate to the test-files directory:

    cd test-files
  2. Apply the sample configurations to your cluster:

    kubectl apply -f clusterIssuer.yaml
    kubectl apply -f issuer.yaml
    kubectl apply -f certificate.yaml
    kubectl apply -f order.yaml
    kubectl apply -f app.yaml

This will create:

  • A ClusterIssuer for Let's Encrypt staging
  • An Issuer for Let's Encrypt staging
  • Two Certificate resources (one using ClusterIssuer, one using Issuer)
  • An Order resource
  • Sample Nginx deployment with Ingress configurations

Demo

cert-manager.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant