View k8s-rbac-sample.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUPPORTED_API_MAPPINGS = { | |
'ClusterRoleBinding': KubernetesApiMapping( | |
create=KubernetesSingleOperationApiMapping( | |
api='RbacAuthorizationV1beta1Api', | |
method='create_cluster_role_binding', | |
payload='V1beta1ClusterRoleBinding' | |
), | |
read=KubernetesSingleOperationApiMapping( | |
api='RbacAuthorizationV1beta1Api', | |
method='read_cluster_role_binding', |
View propagation-sample.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
properties: | |
options: | |
grace_period_seconds: 5 | |
propagation_policy: 'Foreground' | |
namespace: 'default' |
View stop-template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rest_calls: | |
# DELETE self IP 192.168.20.53 on VLAN 1.1 - subscribers | |
- path: /mgmt/tm/net/self/subscriberVlanIP | |
method: DELETE | |
headers: | |
X-F5-Auth-Token: "{{TOKEN}}" | |
Content-type: application/json | |
response_format: raw | |
recoverable_codes: [400] |
View start-template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rest_calls: | |
# create VLAN 1.1 - subscribers | |
- path: /mgmt/tm/net/vlan/ | |
method: POST | |
headers: | |
X-F5-Auth-Token: "{{TOKEN}}" | |
Content-type: application/json | |
payload: | |
name: "subscribers" | |
partition: "Common" |
View rest_calls_config_sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rest_calls: | |
# disable initial wizard | |
- path: /mgmt/tm/sys/global-settings | |
method: PATCH | |
headers: | |
X-F5-Auth-Token: "{{TOKEN}}" | |
Content-type: application/json | |
payload: | |
guiSetup: "disabled" | |
hostname: "sg-test-bigip.com.pl" |
View rest_calls_sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rest_calls: | |
- path: /mgmt/shared/authn/login | |
method: POST | |
headers: | |
Content-type: application/json | |
payload: | |
username: "{{USERNAME}}" | |
password: "{{PASSWORD}}" | |
loginProviderName: "tmos" | |
response_format: json |
View BigIP Baseline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_templates: | |
token: | |
type: cloudify.rest.Requests | |
properties: | |
hosts: ['10.239.1.112'] | |
port: 443 | |
ssl: true | |
verify: false | |
interfaces: |
View fortigate-azure-bp-sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################ | |
# Fortinet FortiGate NG-FW # | |
############################ | |
fortigate_vm: | |
type: cloudify.azure.nodes.compute.VirtualMachine | |
properties: | |
name: {concat:[{get_input: resource_prefix},vm,{get_input: resource_suffix}]} | |
location: { get_input: location } | |
retry_after: { get_input: retry_after } | |
os_family: { get_input: vm_os_family } |
View cloudify_k8s_provider_snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
groups: | |
k8s_node_scale_group: | |
members: | |
- kubernetes_slave_node | |
- kubernetes_slave_kubernetes | |
- kubernetes_slave_kubelet_volume | |
- kubernetes_slave_docker | |
- kubernetes_slave_cfy_go | |
- kubernetes_slave_buildtools |
View test1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"description": "A Cloudify Plugin that provisions resources in OpenStack", | |
"link": "", | |
"wagons": ["https://s3-eu-west-1.amazonaws.com/cloudify-release-eu/cloudify/wagons/cloudify-libvirt-plugin/0.3/cloudify_libvirt_plugin-0.3-py27-none-linux_x86_64-centos-Core.wgn", "https://s3-eu-west-1.amazonaws.com/cloudify-release-eu/cloudify/wagons/cloudify-libvirt-plugin/0.3/cloudify_libvirt_plugin-0.3-py27-none-linux_x86_64-centos-Core.wgn.md5", "https://s3-eu-west-1.amazonaws.com/cloudify-release-eu/cloudify/wagons/cloudify-libvirt-plugin/0.3/cloudify_libvirt_plugin-0.3-py27-none-linux_x86_64-redhat-Maipo.wgn", "https://s3-eu-west-1.amazonaws.com/cloudify-release-eu/cloudify/wagons/cloudify-libvirt-plugin/0.3/cloudify_libvirt_plugin-0.3-py27-none-linux_x86_64-redhat-Maipo.wgn.md5", "http://www.getcloudify.org/spec/libvirt-plugin/0.3/plugin.yaml"], | |
"guid": "", | |
"icon": "http://wp.cloudify.co/wp-content/uploads/2017/08/oslogo.png", | |
"pubDate": "", | |
"author": "", | |
"title": "cloudify-openstack-plugin", | |
"content": |
NewerOlder