package
0.5.0
Repository: https://github.com/kyma-project/kyma.git
Documentation: pkg.go.dev

# README

  ____             __ _                       _   _
 / ___|___  _ __  / _(_) __ _ _   _ _ __ __ _| |_(_) ___  _ __  ___
| |   / _ \| '_ \| |_| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \/ __|
| |__| (_) | | | |  _| | (_| | |_| | | | (_| | |_| | (_) | | | \__ \
 \____\___/|_| |_|_| |_|\__, |\__,_|_|  \__,_|\__|_|\___/|_| |_|___/
                        |___/
  ____                           _
 / ___| ___ _ __   ___ _ __ __ _| |_ ___  _ __
| |  _ / _ \ '_ \ / _ \ '__/ _` | __/ _ \| '__|
| |_| |  __/ | | |  __/ | | (_| | || (_) | |
 \____|\___|_| |_|\___|_|  \__,_|\__\___/|_|

Overview

This project is a generator of configurations used in Kyma.

Prerequisites

The following tools are required to set up the project:

Installation

For installation use dedicated Helm chart

Usage

Configuration

Use the following arguments to configure the application:

NameRequiredDefaultDescription
portNo8000Application port.
kube-config-custer-nameYesName of the Kubernetes cluster.
kube-config-urlYesURL of the Kubernetes Apiserver.
kube-config-caYes, if kube-config-ca-file not specifiedCertificate Authority of the Kubernetes cluster.
kube-config-ca-fileYes, if kube-config-ca not specifiedFile with Certificate Authority of the Kubernetes cluster.
kube-config-nsNoDefault namespace of the Kubernetes context.

Run a local version

In order to run a local version, a running minikube is required.

To run the application without building the binary, execute the following commands:

go run cmd/generator/main.go \
  -kube-config-custer-name=minikue \
  -kube-config-url=:8443 \
  -kube-config-ca-file=~/.minikube/ca.crt

Development

Testing

Run tests:

go test -v ./...

Run tests with coverage:

go test -coverprofile=coverage_report.out -v ./...

# Packages

No description provided by the author
No description provided by the author