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