This file contains hidden or 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
Import-Module VMware.VimAutomation.Core | |
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false | Out-Null | |
Connect-VIServer vcsa.home.kobutton.com |
This file contains hidden or 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
--- | |
apiVersion: metal3.io/v1alpha1 | |
kind: Provisioning | |
metadata: | |
name: provisioning-configuration | |
spec: | |
preProvisioningOSDownloadURLS: {} | |
provisioningNetwork: Disabled | |
watchAllNamespaces: true | |
--- |
This file contains hidden or 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
apiVersion: nvidia.com/v1 | |
kind: ClusterPolicy | |
metadata: | |
name: gpu-cluster-policy | |
namespace: nvidia-gpu-operator | |
spec: | |
vgpuDeviceManager: | |
config: | |
default: default | |
enabled: true |
This file contains hidden or 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
#! /usr/bin/env python3 | |
import json | |
import sys | |
parent_struct = { | |
"apiVersion": "policy.open-cluster-management.io/v1", | |
"kind": "Policy", | |
"metadata": { | |
"name": "ldap-sync-policy", | |
"namespace": "default", | |
"annotations": { |