GithubHelp home page GithubHelp logo

lawliet89 / terraform-kubernetes-ambassador-endpoint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from basisai/terraform-kubernetes-ambassador-endpoint

0.0 1.0 0.0 26 KB

Create CRDs for an endpoint served by Ambassador

Home Page: https://registry.terraform.io/modules/basisai/ambassador-endpoint/kubernetes/latest

License: Apache License 2.0

Dockerfile 8.92% Shell 1.94% HCL 89.15%

terraform-kubernetes-ambassador-endpoint's Introduction

Terraform Ambassador Endpoints

Create the necessary CRDs to serve a service via Ambassador using Terraform.

Each "instance" of this module will create a single Host, Mapping, optional TLSContext and an optional TLSContext for Mapping TLS origination. This greatly simplifies the module.

If your service serves multiple hosts, create multiple instances of this module with for_each.

Requirements

Name Version
terraform >= 0.14.8
kubernetes >= 2.6

Providers

Name Version
kubernetes >= 2.6

Modules

No modules.

Resources

Name Type
kubernetes_manifest.host resource
kubernetes_manifest.mapping resource
kubernetes_manifest.tls_origination resource
kubernetes_manifest.tlscontext resource

Inputs

Name Description Type Default Required
acme_provider ACME Provider configuration if TLS is enabled map
{
"authority": "None"
}
no
ambassador_id Ambassador ID to create CRDs for list
[
"default"
]
no
host_annotations Annotations for host map {} no
host_labels Labels for host map
{
"app.kubernetes.io/managed-by": "Terraform"
}
no
host_spec Additional specifications for host map {} no
hostname Hostname for the endpoint any n/a yes
insecure_request_policy Request policy of insecure requests map
{
"action": "Redirect",
"additionalPort": 8080
}
no
mapping_annotations Annotations for mapping map {} no
mapping_labels Labels for mapping map
{
"app.kubernetes.io/managed-by": "Terraform"
}
no
mapping_spec Additional specifications for mapping, like resolver map {} no
name Base name of CRD resources any n/a yes
namespace Namespace to create resources in string "default" no
prefix Path prefix for the mapping string "/" no
service Name of the service to map the host to, using the specified resolver string n/a yes
tls_enabled Enable TLS bool false no
tls_original_secret Name of the secret for TLS origination string "" no
tls_origination_annotations Annotations for TLSContext for TLS origination map {} no
tls_origination_enable Enable TLS Origination for the Mapping bool false no
tls_origination_labels Labels for TLSContext for TLS origination map
{
"app.kubernetes.io/managed-by": "Terraform"
}
no
tls_origination_name Name of the TLSContext created for TLS Origination. Defaults to var.name suffixed with -orig string "" no
tls_origination_spec Additional spec for the TLSContext used in TLS origination map {} no
tls_secret_name TLS Secret name any null no
tlscontext_annotations Annotations for tlscontext map {} no
tlscontext_labels Labels for tlscontext map
{
"app.kubernetes.io/managed-by": "Terraform"
}
no
tlscontext_spec Additional specifications for TLSContext map
{
"alpn_protocols": "h2, http/1.1",
"min_tls_version": "v1.2"
}
no

Outputs

No outputs.

terraform-kubernetes-ambassador-endpoint's People

Contributors

chrissng avatar lawliet89 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.