From 172adb1edae60765f52f723329b4ba2e5c185280 Mon Sep 17 00:00:00 2001 From: sz11zs Date: Sat, 2 May 2026 17:25:35 +0200 Subject: [PATCH] Dodani configmap i secret za namespace sz11zs --- k8s/configmap.yaml | 9 +++++++++ k8s/secret.yaml | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 k8s/configmap.yaml create mode 100644 k8s/secret.yaml diff --git a/k8s/configmap.yaml b/k8s/configmap.yaml new file mode 100644 index 0000000..9ffa1b5 --- /dev/null +++ b/k8s/configmap.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: hello-cicd-config + namespace: student-sz11zs +data: + APP_VERSION: "2.0-stabilna" + ENVIRONMENT: "produkcija" + MESSAGE: "Aplikacija uspjeĆĄno koristi ConfigMap!" \ No newline at end of file diff --git a/k8s/secret.yaml b/k8s/secret.yaml new file mode 100644 index 0000000..1330319 --- /dev/null +++ b/k8s/secret.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Secret +metadata: + name: hello-cicd-secret + namespace: student-sz11zs +type: Opaque +data: + password:bG96aW5rYTEyMw== \ No newline at end of file