Skip to content

Commit

Permalink
Merge branch 'main' into release-please--branches--main
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerGillson authored Sep 10, 2024
2 parents 753f92c + e6968ba commit f1ab838
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
name: vspherevalidator-compute
namespace: validator
spec:
auth:
secretName: vsphere-creds
datacenter: "Datacenter"
computeResourceRules:
- name: "rp-cluster2-palette-advanced-projects check resources"
Expand All @@ -26,6 +28,4 @@ spec:
numberOfNodes: 2
cpu: "2GHz"
memory: 8Gi
diskSpace: 100Gi
auth:
secretName: vsphere-creds
diskSpace: 100Gi
6 changes: 3 additions & 3 deletions config/samples/vsphere-validator-explicit-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ metadata:
name: vspherevalidator-explicit-auth
namespace: validator
spec:
datacenter: "Datacenter"
auth:
cloudAccount:
account:
insecure: true
username: "user@vsphere.local"
password: "password"
vcenterServer: "vcenter.example.com"
host: "vcenter.example.com"
datacenter: "Datacenter"
tagValidationRules:
- name: "Folder tag validation"
clusterName: "Cluster2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ metadata:
name: vspherevalidator-entity-privilege
namespace: validator
spec:
datacenter: "Datacenter"
auth:
secretName: vsphere-creds
entityPrivilegeValidationRules:
datacenter: "Datacenter"
privilegeValidationRules:
- name: "Deploy VM to vapp test-vapp"
username: prakash@vsphere.local
entityName: "sp-prakash"
entityType: "folder"
entityType: "Folder"
privileges:
- "VirtualMachine.Config.AddExistingDisk"
- "VirtualMachine.Config.AddNewDisk"
propagation:
enabled: true
groupPrincipals:
- VSPHERE.LOCAL\my-group
propagated: true
26 changes: 0 additions & 26 deletions config/samples/vsphere-validator-role-privilege.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions config/samples/vsphere-validator-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ metadata:
name: vspherevalidator
namespace: validator
spec:
datacenter: "Datacenter"
auth:
secretName: vsphere-creds
datacenter: "Datacenter"
tagValidationRules:
- name: "Folder tag validation"
clusterName: "Cluster2"
entityType: "folder"
entityType: "Folder"
entityName: "sp-prakash"
tag: "owner"
tag: "owner"

0 comments on commit f1ab838

Please sign in to comment.