Skip to content

acqio/rules_k8s_extension

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Bazel Kubernetes Extension Rules

Overview

Bazel is a tool for building and testing software and can handle large, multi-language projects at scale.

This project defines rules for creating the kubernetes artifacts of the kinds: ConfigMap and Secret.

Setup

Add the following to your WORKSPACE file to add the necessary external dependencies:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_k8s_extension",
    urls = [
        "https://github.com/acqio/rules_k8s_extension/archive/<revision>.tar.gz"
    ],
    strip_prefix = "rules_k8s_extension-<revision>",
    sha256 = "<sha256>",
)

load("@rules_k8s_extension//k8s_extension:repositories.bzl", k8s_extension_repositories = "repositories")

k8s_extension_repositories()

Rules

Limitations:

  • The k8s_secret rule generate only (Opaque) type artifact.