# This is an example WordPress instance created from the WordPress template. # # IMPORTANT NOTE ABOUT SECRETS: # The ContainerMom operator automatically secures sensitive environment variables: # - When sensitive values (passwords) are passed as parameters, the operator detects them # - The operator automatically creates a secure storage mechanism for these values # - Password values are not exposed in plain text in the deployed containers # - This "wildcard" approach lets the operator handle all secret management automatically # # By using this approach, all sensitive values are properly secured without # explicit secret configuration in the template. apiVersion: container.mom/v1alpha1 kind: TemplateInstance metadata: name: my-wordpress-site namespace: default spec: templateRef: name: wordpress namespace: container-mom-system parameters: SITE_NAME: "My WordPress Blog" ADMIN_EMAIL: "admin@example.com" ADMIN_PASSWORD: "secure-admin-password" MYSQL_ROOT_PASSWORD: "secure-root-password" MYSQL_DATABASE: "wordpress" MYSQL_USER: "wordpress" MYSQL_PASSWORD: "secure-db-password" DOMAIN_NAME: "wordpress.example.com"