f879e3a88d
Blueprint: https://airshipit.readthedocs.io/projects/specs/en/latest/specs/approved/k8s_update_node_labels_workflow.html This commit adds: 1. A new task action ''relabel_nodes'' added to update nodes labels 2.A new Kubernetes driver added for Kubernetes cluster interaction through Promenade. Change-Id: I37c2d7bfda4966d907556036bc2b343df451994c
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
# Actions requiring admin authority
|
|
#"admin_required": "role:admin or is_admin:1"
|
|
|
|
# Get task status
|
|
# GET /api/v1.0/tasks
|
|
# GET /api/v1.0/tasks/{task_id}
|
|
#"physical_provisioner:read_task": "role:admin"
|
|
|
|
# Create a task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:create_task": "role:admin"
|
|
|
|
# Create validate_design task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:validate_design": "role:admin"
|
|
|
|
# Create verify_site task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:verify_site": "role:admin"
|
|
|
|
# Create prepare_site task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:prepare_site": "role:admin"
|
|
|
|
# Create verify_nodes task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:verify_nodes": "role:admin"
|
|
|
|
# Create prepare_nodes task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:prepare_nodes": "role:admin"
|
|
|
|
# Create deploy_nodes task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:deploy_nodes": "role:admin"
|
|
|
|
# Create destroy_nodes task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:destroy_nodes": "role:admin"
|
|
|
|
# Create relabel_nodes task
|
|
# POST /api/v1.0/tasks
|
|
#"physical_provisioner:relabel_nodes": "role:admin"
|
|
|
|
# Read build data for a node
|
|
# GET /api/v1.0/nodes/{nodename}/builddata
|
|
#"physical_provisioner:read_build_data": "role:admin"
|
|
|
|
# Read loaded design data
|
|
# GET /api/v1.0/designs
|
|
# GET /api/v1.0/designs/{design_id}
|
|
#"physical_provisioner:read_data": "role:admin"
|
|
|
|
# Load design data
|
|
# POST /api/v1.0/designs
|
|
# POST /api/v1.0/designs/{design_id}/parts
|
|
#"physical_provisioner:ingest_data": "role:admin"
|
|
|
|
# et health status
|
|
# GET /api/v1.0/health/extended
|
|
#"physical_provisioner:health_data": "role:admin"
|
|
|
|
# Validate site design
|
|
# POST /api/v1.0/validatedesign
|
|
#"physical_provisioner:validate_site_design": "role:admin"
|
|
|