Copyright (c) 2024 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. SPDX-License-Identifier: APACHE-2.0 This product includes third-party open source software. Additional copyright and licensing information can be found inside the Bitnami packages themselves and/or at https://bitnami.com/open-source Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Hancom Inc. provides the modified source code and modification details of the Bitnami. ------------------------------------------------------------------------------- > bitnami/wordpress/templates/deployment.yaml * before value: {{ include "wordpress.databaseUser" . | quote }} * after {{- if .Values.externalDatabase.useESO }} valueFrom: secretKeyRef: name: {{ include "wordpress.databaseSecretName" . }} key: mariadb-username {{- else }} value: {{ include "wordpress.databaseUser" . | quote }} {{- end }} ------------------------------------------------------------------------------- > bitnami/wordpress/values.yaml * before externalDatabase: ## @param externalDatabase.host External Database server host ## host: localhost ## @param externalDatabase.port External Database server port ## port: 3306 ## @param externalDatabase.user External Database username ## user: bn_wordpress ## @param externalDatabase.password External Database user password ## password: "" ## @param externalDatabase.database External Database database name ## database: bitnami_wordpress ## @param externalDatabase.existingSecret The name of an existing secret with database credentials. Evaluated as a template ## NOTE: Must contain key `mariadb-password` ## NOTE: When it's set, the `externalDatabase.password` parameter is ignored ## existingSecret: "" * after externalDatabase: ## @param externalDatabase.host External Database server host ## host: localhost ## @param externalDatabase.port External Database server port ## port: 3306 ## @param externalDatabase.user External Database username ## user: bn_wordpress ## @param externalDatabase.password External Database user password ## password: "" ## @param externalDatabase.database External Database database name ## database: bitnami_wordpress ## @param externalDatabase.existingSecret The name of an existing secret with database credentials. Evaluated as a template ## NOTE: Must contain key `mariadb-password` ## NOTE: When it's set, the `externalDatabase.password` parameter is ignored ## existingSecret: "" useESO: false