def render_file(namespace, private_key, public_key):
    src_file = os.path.join(os.getcwd(), 'deploy/assisted-installer-local-auth.yaml')
    dst_file = os.path.join(os.getcwd(), 'build', namespace, 'assisted-installer-local-auth.yaml')
    with open(src_file, 'r') as src:
        with open(dst_file, 'w+') as dst:
            data = src.read()
            data = data.replace('REPLACE_NAMESPACE', f'"{namespace}"')
            data = data.replace('REPLACE_PRIVATE_KEY', f'"{private_key}"')
            data = data.replace('REPLACE_PUBLIC_KEY', f'"{public_key}"')
            print('Deploying {}'.format(dst_file))
            dst.write(data)
    return dst_file
def render_file(namespace, private_key, public_key):
    src_file = os.path.join(os.getcwd(), 'deploy/assisted-installer-local-auth.yaml')
    dst_file = os.path.join(os.getcwd(), 'build', namespace, 'assisted-installer-local-auth.yaml')
    with open(src_file, 'r') as src:
        with open(dst_file, 'w+') as dst:
            data = src.read()
            data = data.replace('REPLACE_NAMESPACE', f'"{namespace}"')
            data = data.replace('REPLACE_PRIVATE_KEY', f'"{private_key}"')
            data = data.replace('REPLACE_PUBLIC_KEY', f'"{public_key}"')
            print('Deploying {}'.format(dst_file))
            dst.write(data)
    return dst_file