From 49de3cfd3e5b437ad061098d65f6fdccc7c8f9f5 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 18 Apr 2025 00:04:24 +0800 Subject: [PATCH] 1 --- base/{secret => basic-auth}/http-basic-auth.yaml | 0 base/basic-auth/kustomization.yaml | 2 ++ base/secret/kustomization.yaml | 3 +-- gp2504/kustomization.yaml | 2 +- test.bat | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) rename base/{secret => basic-auth}/http-basic-auth.yaml (100%) create mode 100644 base/basic-auth/kustomization.yaml create mode 100644 test.bat diff --git a/base/secret/http-basic-auth.yaml b/base/basic-auth/http-basic-auth.yaml similarity index 100% rename from base/secret/http-basic-auth.yaml rename to base/basic-auth/http-basic-auth.yaml diff --git a/base/basic-auth/kustomization.yaml b/base/basic-auth/kustomization.yaml new file mode 100644 index 0000000..a3e3b00 --- /dev/null +++ b/base/basic-auth/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - http-basic-auth.yaml \ No newline at end of file diff --git a/base/secret/kustomization.yaml b/base/secret/kustomization.yaml index 6eadc2b..f2f90e9 100644 --- a/base/secret/kustomization.yaml +++ b/base/secret/kustomization.yaml @@ -1,4 +1,3 @@ resources: - juyoutech-docker-hub-secret.yaml - - juyou-docker-tcr-secret.yaml - - http-basic-auth.yaml \ No newline at end of file + - juyou-docker-tcr-secret.yaml \ No newline at end of file diff --git a/gp2504/kustomization.yaml b/gp2504/kustomization.yaml index bb51ecc..3987eab 100644 --- a/gp2504/kustomization.yaml +++ b/gp2504/kustomization.yaml @@ -11,7 +11,7 @@ resources: - ../base/redis - ../base/redis-nodeport - ../base/tls - - ../base/secret + - ../base/basic-auth - ingress.yaml configMapGenerator: diff --git a/test.bat b/test.bat new file mode 100644 index 0000000..d7faf9e --- /dev/null +++ b/test.bat @@ -0,0 +1 @@ +kubectl apply --dry-run=client -k gp2504 \ No newline at end of file