#NEWLINE# def encode_secret_data( self , data ) : #NEWLINE# #INDENT# "Base64 encodes a dictionary's values.\n\n        Kubernetes expects secret values to be base64 encoded within JSON.\n        " #NEWLINE# return { k : b64encode ( v ) for ( k , v ) in data . iteritems ( ) }