This commit is contained in:
2023-10-29 17:03:22 +01:00
parent 057a410f52
commit 1a023a18e5
25 changed files with 778 additions and 766 deletions

View File

@@ -34,7 +34,7 @@ resource "null_resource" "get_known" {
data "local_file" "known_host" {
count = local.needUser?1:0
filename = "${path.module}/known_host.txt"
depends_on = ["null_resource.get_known"]
depends_on = [null_resource.get_known]
}
resource "kubectl_manifest" "ssh-creds" {
@@ -48,7 +48,7 @@ resource "kubectl_manifest" "ssh-creds" {
namespace: "${local.sorted-stages[count.index].namespace}"
labels: ${jsonencode(local.common-labels)}
spec:
length: "40"
length: "2048"
forceRegenerate: false
data:
known_hosts: "${data.local_file.known_host[0].content}"

View File

@@ -6,36 +6,11 @@ metadata:
name: organisation
description: null
options:
domain-name:
default: your_company.com
domain:
default: your-company
examples:
- your_company.com
- your-company
type: string
app-group:
default: dev
examples:
- dev
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
distributions:
default:
core: core
domain: domain
examples:
- core: core
domain: domain
properties:
core:
default: core
type: string
domain:
default: domain
type: string
type: object
backups:
default:
enable: false
@@ -71,16 +46,6 @@ options:
examples:
- traefik
type: string
domain:
default: your-company
examples:
- your-company
type: string
haveGitea:
default: false
examples:
- false
type: boolean
datasets:
default: []
items:
@@ -93,6 +58,26 @@ options:
type: string
type: object
type: array
haveGitea:
default: false
examples:
- false
type: boolean
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
app-group:
default: dev
examples:
- dev
type: string
stages:
default: []
items:
@@ -102,6 +87,21 @@ options:
type: string
type: object
type: array
distributions:
default:
core: core
domain: domain
examples:
- core: core
domain: domain
properties:
core:
default: core
type: string
domain:
default: domain
type: string
type: object
dependencies: []
providers:
kubernetes: true