diff --git a/manifests/apps/ollama/kustomization.yaml b/manifests/apps/ollama/kustomization.yaml index e6526d09..2d46d0f4 100644 --- a/manifests/apps/ollama/kustomization.yaml +++ b/manifests/apps/ollama/kustomization.yaml @@ -4,5 +4,4 @@ kind: Kustomization resources: - HelmRelease.yaml - HelmRepository.yaml - - namespace.yaml - rbac.yaml diff --git a/terraform/spoke-k8s_cluster.tf b/terraform/spoke-k8s_cluster.tf index 430357bb..0ceba306 100644 --- a/terraform/spoke-k8s_cluster.tf +++ b/terraform/spoke-k8s_cluster.tf @@ -159,6 +159,23 @@ resource "null_resource" "secret" { name: fortiweb-login-secret namespace: dvwa type: Opaque + data: + username: $(echo -n "${random_pet.admin_username.id}" | base64) + password: $(echo -n "${random_password.admin_password.result}" | base64) + --- + apiVersion: v1 + kind: Namespace + metadata: + name: ollama + labels: + name: ollama + --- + apiVersion: v1 + kind: Secret + metadata: + name: fortiweb-login-secret + namespace: ollama + type: Opaque data: username: $(echo -n "${random_pet.admin_username.id}" | base64) password: $(echo -n "${random_password.admin_password.result}" | base64)