You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apiVersion: wordpress.presslabs.org/v1alpha1kind: Wordpressmetadata:
name: mysitespec:
replicas: 3domains:
- example.com# image: docker.io/bitpoke/wordpress-runtime# tag: latestcode: # where to find the code# contentSubpath: wp-content/# by default, code get's an empty dir. Can be one of the following:git:
repository: https://github.com/example.com# reference: master# env:# - name: SSH_RSA_PRIVATE_KEY# valueFrom:# secretKeyRef:# name: mysite# key: id_rsa# persistentVolumeClaim: {}# hostPath: {}# emptyDir: {} (default)media: # where to find the media files# by default, code get's an empty dir. Can be one of the following:gcs: # store files using Google Cloud Storagebucket: calins-wordpress-runtime-playgroundprefix: mysite/env:
- name: GOOGLE_CREDENTIALSvalueFrom:
secretKeyRef:
name: mysitekey: google_application_credentials.json
- name: GOOGLE_PROJECT_IDvalue: development# persistentVolumeClaim: {}# hostPath: {}# emptyDir: {}bootstrap: # wordpress install configenv:
- name: WORDPRESS_BOOTSTRAP_USERvalueFrom:
secretKeyRef:
name: mysitekey: USER
- name: WORDPRESS_BOOTSTRAP_PASSWORDvalueFrom:
secretKeyRef:
name: mysitekey: PASSWORD
- name: WORDPRESS_BOOTSTRAP_EMAILvalueFrom:
secretKeyRef:
name: mysitekey: EMAIL
- name: WORDPRESS_BOOTSTRAP_TITLEvalueFrom:
secretKeyRef:
name: mysitekey: TITLE# extra volumes for the WordPress containervolumes: []# extra volume mounts for the WordPress containervolumeMounts: []# extra env variables for the WordPress containerenv:
- name: DB_HOSTvalue: mysite-mysql
- name: DB_USERvalueFrom:
secretKeyRef: mysite-mysqlkey: USER
- name: DB_PASSWORDvalueFrom:
secretKeyRef: mysite-mysqlkey: PASSWORD
- name: DB_NAMEvalueFrom:
secretKeyRef: mysite-mysqlkey: DATABASEenvFrom: []# secret containg HTTPS certificatetlsSecretRef: mysite-tls# extra ingress annotationsingressAnnotations: {}
License
This project is licensed under Apache 2.0 license. Read the LICENSE file in the
top distribution directory, for the full license text.