https://www.youtube.com/watch?v=6T5mI2VwUNc
apiVersion : v1 kind : configMap metadata : name : wordpress-credentials data: username : "blaize" db-password : "password" --- spec: containers: - image: wordpress:4.8-apache name: env: - name: WORDPRESS_DB_PASSWORD valueFrom: configMapKeyRef: name: wordpress-credentials key: db-password
No comments:
Post a Comment