Kuberig

Kuberig

  • Docs
  • Blog
  • Help

›Reference

Getting started

  • Intro
  • Quick Start
  • DSL Intro

Environments

  • Initializing an Environment
  • Managing Container Versions
  • Environment Support

Resource Coding

  • Coding Resources
  • Resource Grouping
  • Resource Apply Action
  • DSL Details

Code Samples

  • Defining a ConfigMap
  • Defining a Secret
  • Defining a Deployment
  • Defining a Service
  • Defining an Ingress

Reference

  • Configuration
  • Repository Organisation
  • Encryption Support
  • Service Account Setup

Service Account Setup

work-in-progress

Create a service account and grant the edit role:

$ kubectl create sa kuberig --namespace=default
$ kubectl create rolebinding kuberig-edit --clusterrole=edit --serviceaccount=default:kuberig --namespace=default

Retrieve the access token:

$ kubectl describe sa kuberig --namespace=default
$ kubectl describe secret <name-of-token-secret>

Copy the token in environments/{environment-name}/.plain.{environment-name}.access-token

Run encrypt{Environment-name}Environment.

You are ready to run deploy{Environment-name}Environment

Last updated on 12/30/2020
← Encryption Support
Kuberig
Docs
HomeQuick StartDSL Intro
Community
Stack OverflowDiscordTwitter
More
BlogGitHubStar
Follow @kuberigio
Copyright © 2021 Rigeldev BV