Skip to content

Commit

Permalink
Update config_map.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DeekshithSN committed Jan 28, 2021
1 parent 29c7f1b commit b058628
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions config-map-subpath/config_map.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#In the data section it contains a map name mysql_binlog_format.cnf
# and the data source which is the content of the file.

apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -12,11 +9,4 @@ data:
[mysqld]
binlog-format=mixed
# kubectl exec --stdin --tty mysql-6f98c658d6-jhfk4 -- sh
# ls /etc/mysql/conf.d
# Kubernetes took the map name of mysql_binlog_format.cnf present it as a file
#with the contents that were stored in the data source of the configMap.
#The problem however is it laid that volume on top of the existing directory.
#The default configuration files for mysql are no longer present.
#I'd have to create all the mysql configuration files and store them into the configMap.
#Or, I can use a subPath.

0 comments on commit b058628

Please sign in to comment.