Sunday, December 5, 2021

ConfigMap - Kubernetes YAML Manifest

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

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass