From 097ab113e91a5acd171ff2e308eecb791e5afd73 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 31 Mar 2023 06:50:29 -0700 Subject: [PATCH] Create secret manually --- jafner-dev/wordpress/Kustomization.yaml | 16 ++++++++-------- jafner-dev/wordpress/Secret.yaml | 8 ++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 jafner-dev/wordpress/Secret.yaml diff --git a/jafner-dev/wordpress/Kustomization.yaml b/jafner-dev/wordpress/Kustomization.yaml index 8f702a9..18e807c 100644 --- a/jafner-dev/wordpress/Kustomization.yaml +++ b/jafner-dev/wordpress/Kustomization.yaml @@ -1,9 +1,9 @@ -secretGenerator: -- name: mysql-pass - literals: - - password=E2UVUasvVoiJEUxuBUiyM8B3iS3dmy5hZEwYBBuC +#secretGenerator: +#- name: mysql-pass +# literals: +# - password=E2UVUasvVoiJEUxuBUiyM8B3iS3dmy5hZEwYBBuC -resources: - - Deployment.yaml - - Service.yaml - - PersistentVolumeClaim.yaml \ No newline at end of file +#resources: +# - Deployment.yaml +# - Service.yaml +# - PersistentVolumeClaim.yaml \ No newline at end of file diff --git a/jafner-dev/wordpress/Secret.yaml b/jafner-dev/wordpress/Secret.yaml new file mode 100644 index 0000000..afad76e --- /dev/null +++ b/jafner-dev/wordpress/Secret.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: v1 +kind: Secret +metadata: + name: mysql-pass +type: Opaque +data: + password: E2UVUasvVoiJEUxuBUiyM8B3iS3dmy5hZEwYBBuC \ No newline at end of file