remove old install artifacts

This commit is contained in:
Benjamin A. Petersen 2023-10-11 12:49:18 -04:00
parent 9ec2cf6bcd
commit b6afd56716
No known key found for this signature in database
GPG Key ID: EF6EF83523A4BE46
4 changed files with 132 additions and 0 deletions

View File

@ -0,0 +1,27 @@
---
apiVersion: packaging.carvel.dev/v1alpha1
kind: PackageInstall
metadata:
# name, does not have to be versioned, versionSelection.constraints below will handle
name: "local-user-authenticator-package-install"
namespace: "local-user-authenticator-install-ns"
spec:
serviceAccountName: "pinniped-package-rbac-local-user-authenticator-sa-superadmin-dangerous"
packageRef:
refName: "local-user-authenticator.pinniped.dev"
versionSelection:
constraints: "0.0.0-7E26B8EF-A4D6-4020-83E8-EAF8F3D1533F"
values:
- secretRef:
name: "local-user-authenticator-package-install-secret"
---
apiVersion: v1
kind: Secret
metadata:
name: "local-user-authenticator-package-install-secret"
namespace: "local-user-authenticator-install-ns"
stringData:
values.yml: |
---
image_repo: kind-registry.local:5000/test/build
image_tag: 0.0.0-7E26B8EF-A4D6-4020-83E8-EAF8F3D1533F

View File

@ -0,0 +1,35 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: "concierge-install-ns"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: "pinniped-package-rbac-concierge-sa-superadmin-dangerous"
namespace: "concierge-install-ns"
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: "pinniped-package-rbac-concierge-role-superadmin-dangerous"
namespace: "concierge-install-ns"
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: "pinniped-package-rbac-concierge-role-binding-superadmin-dangerous"
subjects:
- kind: ServiceAccount
name: "pinniped-package-rbac-concierge-sa-superadmin-dangerous"
namespace: "concierge-install-ns"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: "pinniped-package-rbac-concierge-role-superadmin-dangerous"

View File

@ -0,0 +1,35 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: "local-user-authenticator-install-ns"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: "pinniped-package-rbac-local-user-authenticator-sa-superadmin-dangerous"
namespace: "local-user-authenticator-install-ns"
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: "pinniped-package-rbac-local-user-authenticator-role-superadmin-dangerous"
namespace: "local-user-authenticator-install-ns"
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: "pinniped-package-rbac-local-user-authenticator-role-binding-superadmin-dangerous"
subjects:
- kind: ServiceAccount
name: "pinniped-package-rbac-local-user-authenticator-sa-superadmin-dangerous"
namespace: "local-user-authenticator-install-ns"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: "pinniped-package-rbac-local-user-authenticator-role-superadmin-dangerous"

View File

@ -0,0 +1,35 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: "supervisor-install-ns"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: "pinniped-package-rbac-supervisor-sa-superadmin-dangerous"
namespace: "supervisor-install-ns"
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: "pinniped-package-rbac-supervisor-role-superadmin-dangerous"
namespace: "supervisor-install-ns"
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: "pinniped-package-rbac-supervisor-role-binding-superadmin-dangerous"
subjects:
- kind: ServiceAccount
name: "pinniped-package-rbac-supervisor-sa-superadmin-dangerous"
namespace: "supervisor-install-ns"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: "pinniped-package-rbac-supervisor-role-superadmin-dangerous"