Skip to content

Commit

Permalink
Ensure all input variables have types specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
zawac002 committed Sep 15, 2023
1 parent eeaa067 commit 60459e3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ variable "profile" {

variable "keycloak_namespace" {
description = "The namespace which will be created and into which keycloak will be deployed."
type = string
default = "keycloak"
}

# helm repo add bitnami https://charts.bitnami.com/bitnami
# helm search repo bitnami/keycloak
variable "keycloak_version" {
description = "The version of the bitnami keycloak helm chart to install."
type = string
default = "16.1.2"
}

Expand All @@ -26,72 +28,87 @@ variable "keycloak_version" {
# Use the first value, not the second (which is for bitnami/keycloak-config-cli
variable "keycloak_tag" {
description = "The image tag associated with the keycloak_chart_version"
type = string
default = "22.0.1-debian-11-r30"
}

# helm repo add gogatekeeper https://gogatekeeper.github.io/helm-gogatekeeper
# helm search repo gogatekeeper/gatekeeper
variable "gogatekeeper_version" {
description = "The version of the gogatekeeper helm chart that is the basis for gogatekeeper deployments."
type = string
default = "0.1.37"
}

variable "gogatekeeper_tag" {
description = "The tag associated with the gogatekeeper_version"
type = string
default = "2.6.2"
}

# Keycloak will be accessible at <keycloak_hostname>.<cluster_domain>
variable "keycloak_hostname" {
description = "The hostname used to access the keycloak service."
type = string
default = "keycloak"
}

variable "cluster_domain" {
description = "The domain name used to reference ingresses for the cluster."
type = string
}

variable "certificate_issuer" {
description = "The name of the certificate issuer to use for ingresses."
type = string
}

variable "istio_namespace" {
description = "The namespace in which the certificate request is to be created."
type = string
default = "istio-system"
}

variable "default_realm" {
description = "The default realm to use to configure the environment."
type = string
default = "cluster-admin"
}

variable "admin_email" {
description = "The email address of the admin of the default realm."
type = string
}

variable "external_database_vendor" {
description = "The type of database keycloak will be using to store configuration data. mariadb/mssql/mysql/oracle/postgres"
type = string
default = "postgresql"
}

variable "external_database_address" {
description = "The address to access the external database. for example: `adsd-rds-mft-sbox.c2tx3ocukdth.us-gov-east-1.rds.amazonaws.com`"
type = string
}

variable "external_database_port" {
description = "The port to use to access the database."
type = string
}

variable "external_database_database" {
description = "The name of the database within which keycloak should maintain configuration data."
type = string
default = "keycloak"
}

variable "external_database_username" {
description = "The username keycloak should use to log into the external database."
type = string
default = "keycloak"
}

variable "external_database_password" {
description = "The password for the external_database_username user."
type = string
}

0 comments on commit 60459e3

Please sign in to comment.