security-manager/security-layer
George Kitsos 99847caaac Dockerfile refine
Change-Id: I9ce10095247e8e339fab36cb64f0f62ffc091bd0
2024-04-02 07:57:23 +00:00
..
.mvn/wrapper Dockerfile refine 2024-04-02 07:57:23 +00:00
src Dockerfile refine 2024-04-02 07:57:23 +00:00
.dockerignore Dockerfile refine 2024-04-02 07:57:23 +00:00
.env Dockerfile refine 2024-04-02 07:57:23 +00:00
.gitignore Dockerfile refine 2024-04-02 07:57:23 +00:00
.gitlab-ci.yml Dockerfile refine 2024-04-02 07:57:23 +00:00
docker-compose.yml Dockerfile refine 2024-04-02 07:57:23 +00:00
Dockerfile Dockerfile refine 2024-04-02 07:57:23 +00:00
mvnw Dockerfile refine 2024-04-02 07:57:23 +00:00
mvnw.cmd Dockerfile refine 2024-04-02 07:57:23 +00:00
pom.xml Dockerfile refine 2024-04-02 07:57:23 +00:00
README.md Dockerfile refine 2024-04-02 07:57:23 +00:00

Security Manager

If not already installed, set up k8s-gatekeeper in your Kubernetes cluster. Follow the instructions provided in the k8s-gatekeeper repository.

Prerequisites

Kubeconfig: File used by Kubernetes clients

Access to Kubernetes Cluster: Ensure you have access to the Kubernetes cluster and the necessary permissions to interact with the resources your application will manage

Configuring Environment Variables

Based on kubeconfig file, set the following environment variables:

  1. KUBERNETES_CLIENT_MASTER_URL: The URL of the Kubernetes API server.
  2. KUBERNETES_CLIENT_USERNAME: The username for Kubernetes cluster authentication
  3. KUBERNETES_CLIENT_CA_CERT_DATA: The CA certificate data for the Kubernetes cluster.
  4. KUBERNETES_CLIENT_CLIENT_CERT_DATA: The client certificate data for authentication
  5. KUBERNETES_CLIENT_CLIENT_KEY_DATA: The client key data for authentication
  6. KUBERNETES_CLIENT_NAMESPACE: The default namespace for your Kubernetes operations

Accessing The Client

The application and DevUI are on port 8080