Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Hare (0.16 sec)

  1. bin/diff_yaml.py

        if k2 in res[k1]:
            del res[k1][k2]
    
    
    def normalize_configmap(res):
        try:
            if res['kind'] != "ConfigMap":
                return res
    
            data = res['data']
    
            # some times keys are yamls...
            # so parse them
            for k in data:
                try:
                    op = yaml.safe_load_all(data[k])
                    data[k] = list(op)
                except yaml.YAMLError as ex:
    Python
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
Back to top