This commit is contained in:
seb
2024-05-16 13:13:51 +02:00
parent df92bf1df1
commit 377b430669
8 changed files with 11 additions and 1561 deletions
+3 -3
View File
@@ -22,10 +22,10 @@ options:
- your_company.com
type: string
gitea_ssh_port:
default: 2222
default: '2222'
examples:
- 2222
type: integer
- '2222'
type: string
gitea_ssh_prefix:
default: git
examples:
+1 -1
View File
@@ -64,7 +64,7 @@ resource "kubectl_manifest" "ci-ssh-creds" {
namespace: "${var.domain}-ci-${var.instance}"
labels: ${jsonencode(local.common_labels)}
spec:
length: "2048"
length: "4096"
forceRegenerate: false
data:
known_hosts: "${data.local_file.known_host[0].content}"
+1 -1
View File
@@ -60,7 +60,7 @@ resource "kubectl_manifest" "ssh-creds" {
namespace: "${local.sorted-stages[count.index].namespace}"
labels: ${jsonencode(local.common_labels)}
spec:
length: "2048"
length: "4096"
forceRegenerate: false
data:
known_hosts: "${data.local_file.known_host[0].content}"
+3 -3
View File
@@ -89,10 +89,10 @@ options:
- ''
type: string
gitea_ssh_port:
default: 2222
default: '2222'
examples:
- 2222
type: integer
- '2222'
type: string
gitea_ssh_prefix:
default: git
examples:
File diff suppressed because it is too large Load Diff
-13
View File
@@ -1,13 +0,0 @@
locals {
common_labels = {
"vynil.solidite.fr/owner-name" = var.instance
"vynil.solidite.fr/owner-namespace" = var.namespace
"vynil.solidite.fr/owner-category" = var.category
"vynil.solidite.fr/owner-component" = var.component
"app.kubernetes.io/managed-by" = "vynil"
"app.kubernetes.io/name" = var.component
"app.kubernetes.io/instance" = var.instance
}
common-labels = local.common_labels
}
-27
View File
@@ -1,27 +0,0 @@
---
apiVersion: vinyl.solidite.fr/v1beta1
kind: Component
category: share
metadata:
name: tekton-tasks
description: Install base tekton-tasks
options:
domain:
default: media
examples:
- media
type: string
dependencies:
- dist: null
category: workflow
component: tekton-pipelines
providers:
kubernetes: null
authentik: null
kubectl: true
postgresql: null
mysql: null
restapi: null
http: null
gitea: null
tfaddtype: null