Kuberig

Kuberig

  • Docs
  • Blog
  • Help

›Environments

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

Managing Container Versions

KubeRig provides tasks that allow you to manage container versions/tags globally for all environments or for a specific environment.

setContainerVersion

Add/Update a container version. The environment parameter is optional.

$ ./gradlew help --task setContainerVersion

> Task :help
Detailed task information for setContainerVersion

Path
     :setContainerVersion

Type
     SetContainerVersionTask (io.kuberig.gradle.tasks.SetContainerVersionTask)

Options
     --containerAlias     The container alias to add/update the container version for.

     --containerVersion     The container version.

     --environment     The name of the environment to add/update the container version for.

Description
     -

Group
     kuberig

BUILD SUCCESSFUL in 914ms
1 actionable task: 1 executed

clearContainerVersion

Clear a container version. Can be used to remove a version override for a specific environment.

$ ./gradlew help --task clearContainerVersion

> Task :help
Detailed task information for clearContainerVersion

Path
     :clearContainerVersion

Type
     ClearContainerVersion (io.kuberig.gradle.tasks.ClearContainerVersion)

Options
     --containerAlias     The container alias to add/update the container version for.

     --environment     The name of the environment to add/update the container version for.

Description
     -

Group
     kuberig

BUILD SUCCESSFUL in 869ms
1 actionable task: 1 executed

getContainerVersion

Shows the version that will be used. Can be used to check if there is a version override for a specific environment.

$ ./gradlew help --task getContainerVersion

> Task :help
Detailed task information for getContainerVersion

Path
     :getContainerVersion

Type
     GetContainerVersionTask (io.kuberig.gradle.tasks.GetContainerVersionTask)

Options
     --containerAlias     The container alias to add/update the container version for.

     --environment     The name of the environment to add/update the container version for.

Description
     -

Group
     kuberig

BUILD SUCCESSFUL in 830ms
1 actionable task: 1 executed

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