images/controlplane/upgrade/app/cluster_upgrade.py [113:124]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def handler(event, context):
    try:
        logger.info(f'argurments {str(sys.argv)}')
        if event['RequestType'] == 'Create' or event['RequestType'] == 'Update':
            update_cluster(config_dict)
            status = cfnresponse.SUCCESS
        elif event['RequestType'] == 'Delete':
            status = cfnresponse.SUCCESS
        cfnresponse.send(event, context, status, None)
    except Exception as ex:
        logger.error(ex)
        cfnresponse.send(event, context, cfnresponse.FAILED, None)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



images/dataplane/daemonset/app/daemonset.py [121:132]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def handler(event, context):
    try:
        logger.info(f'argurments {str(sys.argv)}')
        if event['RequestType'] == 'Create' or event['RequestType'] == 'Update':
            update_cluster(config_dict)
            status = cfnresponse.SUCCESS
        elif event['RequestType'] == 'Delete':
            status = cfnresponse.SUCCESS
        cfnresponse.send(event, context, status, None)
    except Exception as ex:
        logger.error(ex)
        cfnresponse.send(event, context, cfnresponse.FAILED, None)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



