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
#!/usr/bin/env bash | |
# A script to install cassandra modified by Anthony Spiteri for vCloud Director Metric Database installs | |
# ADD SEE NODES HERE - FOR SUPPORTED INSTALL 4 NODES WITH 2 SEEDS REQUIRED | |
SEEDS[0]='172.17.0.10' | |
#SEEDS[1]=172.17.0.11' | |
#SEEDS[2]=172.17.0.12' | |
#SEEDS[3]=172.17.0.13' |
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
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: RoleBinding | |
metadata: | |
name: kubeapps-clusterrole | |
namespace: kubeapps | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: kubeapps-clusterrole | |
subjects: |
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
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: kubeapps-clusterrole | |
rules: | |
- apiGroups: | |
- policy | |
resources: | |
- podsecuritypolicies | |
verbs: |
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
apiVersion: policy/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: | |
name: kubeapps-psp | |
spec: | |
privileged: true | |
seLinux: | |
rule: RunAsAny | |
supplementalGroups: | |
rule: RunAsAny |
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
<# | |
.SYNOPSIS | |
Get-BackupProtectionSingleTenant.ps1 | |
.DESCRIPTION | |
Allows you to select Backup Protection Tenant account and return total storage in GB and cost of storage to the provider and to the client. | |
Folder Calculation code taken from https://www.gngrninja.com/script-ninja/2016/5/24/powershell-calculating-folder-sizes |
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
$registryPath = "HKLM:\SOFTWARE\Veeam\Veeam Backup and Replication" | |
$name = "CloudMaintenanceModeMessage" | |
clear | |
write-host | |
$existing = Get-ItemProperty "$registryPath" | |
$existingkey = $existing.CloudMaintenanceModeMessage | |
write-host "Existing Maintenance Mode Message (if blank default is set):" $existingkey | |
write-host |