Helm 3 complete tutorial (12): Helm function explanation (6) dictionary function

Summarizes the common knowledge points and concepts of Helm 3. Part of the content in the document comes from major blogs and official documents, and some content has been reorganized based on my own understanding and practice. All concept explanations will be equipped with practical codes. The article is updated from time to time, welcome to follow and subscribe (a paid column is opened, otherwise it will be crawled away by other private websites. Please be considerate of the big brothers and sisters, it is just a lunch, and please support it).
Link to the original text of this column: https://blog.csdn.net/xzk9381/category_10895812.html, please indicate the source for reprinting

Dictionary function

​ Helm provides a dictionary dict for storing key/value key-value pairs. The key of the dictionary must be a string, and the value can be any type, including dict or list (list will be explained later). Helm has the following functions that can be used on dictionaries:

  • deepCopy(mustDeepCopy)
  • dict
  • get
  • hasKey
  • keys
  • merge (mustMerge)
  • mergeOverwrite (mustMergeOverwrite)
  • omit
  • pick
  • pluck
  • set
  • unset
  • values

Guess you like

Origin blog.csdn.net/xzk9381/article/details/115375434