adding missng tf files
This commit is contained in:
21
apps/nextcloud/secret.tf
Normal file
21
apps/nextcloud/secret.tf
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
resource "kubectl_manifest" "gitea_secret" {
|
||||
ignore_fields = ["metadata.annotations"]
|
||||
yaml_body = <<-EOF
|
||||
apiVersion: "secretgenerator.mittwald.de/v1alpha1"
|
||||
kind: "StringSecret"
|
||||
metadata:
|
||||
name: "nextcloud"
|
||||
namespace: "${var.namespace}"
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
spec:
|
||||
forceRegenerate: false
|
||||
data:
|
||||
nextcloud-username: "${var.admin.name}"
|
||||
fields:
|
||||
- fieldName: "nextcloud-password"
|
||||
length: "32"
|
||||
- fieldName: "nextcloud-token"
|
||||
length: "32"
|
||||
EOF
|
||||
}
|
||||
Reference in New Issue
Block a user