diff
- config/default/apiextensions.k8s.io_v1_customresourcedefinition_githubdeployments.argocdcommenter.int128.github.io.yaml (New)
- config/default/rbac.authorization.k8s.io_v1_clusterrole_argocd-commenter-manager-role.yaml
- e2e_test/controller/apiextensions.k8s.io_v1_customresourcedefinition_githubdeployments.argocdcommenter.int128.github.io.yaml (New)
- e2e_test/controller/rbac.authorization.k8s.io_v1_clusterrole_argocd-commenter-manager-role.yaml
- e2e_test/fixture/app1/argocdcommenter.int128.github.io_v1_githubdeployment_app1.yaml (New)
- e2e_test/fixture/app2/argocdcommenter.int128.github.io_v1_githubdeployment_app2.yaml (New)
- e2e_test/fixture/app3/argocdcommenter.int128.github.io_v1_githubdeployment_app3.yaml (New)
config/default/apiextensions.k8s.io_v1_customresourcedefinition_githubdeployments.argocdcommenter.int128.github.io.yaml
--- /dev/null
+++ b/tmp/kustomize-action-IuIxnb/config/default/apiextensions.k8s.io_v1_customresourcedefinition_githubdeployments.argocdcommenter.int128.github.io.yaml
@@ -0,0 +1,60 @@
+apiVersion: apiextensions.k8s.io/v1
+kind: CustomResourceDefinition
+metadata:
+ annotations:
+ controller-gen.kubebuilder.io/version: v0.9.2
+ creationTimestamp: null
+ name: githubdeployments.argocdcommenter.int128.github.io
+spec:
+ group: argocdcommenter.int128.github.io
+ names:
+ kind: GitHubDeployment
+ listKind: GitHubDeploymentList
+ plural: githubdeployments
+ singular: githubdeployment
+ scope: Namespaced
+ versions:
+ - name: v1
+ schema:
+ openAPIV3Schema:
+ description: GitHubDeployment is the Schema for the githubdeployments API
+ properties:
+ apiVersion:
+ description: 'APIVersion defines the versioned schema of this representation
+ of an object. Servers should convert recognized schemas to the latest
+ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
+ type: string
+ kind:
+ description: 'Kind is a string value representing the REST resource this
+ object represents. Servers may infer this from the endpoint the client
+ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
+ type: string
+ metadata:
+ type: object
+ spec:
+ description: GitHubDeploymentSpec defines the desired state of GitHubDeployment
+ properties:
+ url:
+ description: GitHub Deployment URL in the form of https://api.github.com/repos/OWNER/REPO/deployments/ID
+ type: string
+ type: object
+ status:
+ description: GitHubDeploymentStatus defines the observed state of GitHubDeployment
+ properties:
+ lastHealthEvent:
+ properties:
+ deploymentURL:
+ type: string
+ health:
+ description: Represents resource health status
+ type: string
+ updatedAt:
+ format: date-time
+ type: string
+ type: object
+ type: object
+ type: object
+ served: true
+ storage: true
+ subresources:
+ status: {}
config/default/rbac.authorization.k8s.io_v1_clusterrole_argocd-commenter-manager-role.yaml
--- a/tmp/kustomize-action-kftdWa/config/default/rbac.authorization.k8s.io_v1_clusterrole_argocd-commenter-manager-role.yaml
+++ b/tmp/kustomize-action-IuIxnb/config/default/rbac.authorization.k8s.io_v1_clusterrole_argocd-commenter-manager-role.yaml
@@ -30,6 +30,32 @@ rules:
- get
- patch
- update
+- apiGroups:
+ - argocdcommenter.int128.github.io
+ resources:
+ - githubdeployments
+ verbs:
+ - create
+ - delete
+ - get
+ - list
+ - patch
+ - update
+ - watch
+- apiGroups:
+ - argocdcommenter.int128.github.io
+ resources:
+ - githubdeployments/finalizers
+ verbs:
+ - update
+- apiGroups:
+ - argocdcommenter.int128.github.io
+ resources:
+ - githubdeployments/status
+ verbs:
+ - get
+ - patch
+ - update
- apiGroups:
- argoproj.io
resources:
e2e_test/controller/apiextensions.k8s.io_v1_customresourcedefinition_githubdeployments.argocdcommenter.int128.github.io.yaml
--- /dev/null
+++ b/tmp/kustomize-action-IuIxnb/e2e_test/controller/apiextensions.k8s.io_v1_customresourcedefinition_githubdeployments.argocdcommenter.int128.github.io.yaml
@@ -0,0 +1,60 @@
+apiVersion: apiextensions.k8s.io/v1
+kind: CustomResourceDefinition
+metadata:
+ annotations:
+ controller-gen.kubebuilder.io/version: v0.9.2
+ creationTimestamp: null
+ name: githubdeployments.argocdcommenter.int128.github.io
+spec:
+ group: argocdcommenter.int128.github.io
+ names:
+ kind: GitHubDeployment
+ listKind: GitHubDeploymentList
+ plural: githubdeployments
+ singular: githubdeployment
+ scope: Namespaced
+ versions:
+ - name: v1
+ schema:
+ openAPIV3Schema:
+ description: GitHubDeployment is the Schema for the githubdeployments API
+ properties:
+ apiVersion:
+ description: 'APIVersion defines the versioned schema of this representation
+ of an object. Servers should convert recognized schemas to the latest
+ internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
+ type: string
+ kind:
+ description: 'Kind is a string value representing the REST resource this
+ object represents. Servers may infer this from the endpoint the client
+ submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
+ type: string
+ metadata:
+ type: object
+ spec:
+ description: GitHubDeploymentSpec defines the desired state of GitHubDeployment
+ properties:
+ url:
+ description: GitHub Deployment URL in the form of https://api.github.com/repos/OWNER/REPO/deployments/ID
+ type: string
+ type: object
+ status:
+ description: GitHubDeploymentStatus defines the observed state of GitHubDeployment
+ properties:
+ lastHealthEvent:
+ properties:
+ deploymentURL:
+ type: string
+ health:
+ description: Represents resource health status
+ type: string
+ updatedAt:
+ format: date-time
+ type: string
+ type: object
+ type: object
+ type: object
+ served: true
+ storage: true
+ subresources:
+ status: {}
e2e_test/controller/rbac.authorization.k8s.io_v1_clusterrole_argocd-commenter-manager-role.yaml
--- a/tmp/kustomize-action-kftdWa/e2e_test/controller/rbac.authorization.k8s.io_v1_clusterrole_argocd-commenter-manager-role.yaml
+++ b/tmp/kustomize-action-IuIxnb/e2e_test/controller/rbac.authorization.k8s.io_v1_clusterrole_argocd-commenter-manager-role.yaml
@@ -30,6 +30,32 @@ rules:
- get
- patch
- update
+- apiGroups:
+ - argocdcommenter.int128.github.io
+ resources:
+ - githubdeployments
+ verbs:
+ - create
+ - delete
+ - get
+ - list
+ - patch
+ - update
+ - watch
+- apiGroups:
+ - argocdcommenter.int128.github.io
+ resources:
+ - githubdeployments/finalizers
+ verbs:
+ - update
+- apiGroups:
+ - argocdcommenter.int128.github.io
+ resources:
+ - githubdeployments/status
+ verbs:
+ - get
+ - patch
+ - update
- apiGroups:
- argoproj.io
resources:
e2e_test/fixture/app1/argocdcommenter.int128.github.io_v1_githubdeployment_app1.yaml
--- /dev/null
+++ b/tmp/kustomize-action-IuIxnb/e2e_test/fixture/app1/argocdcommenter.int128.github.io_v1_githubdeployment_app1.yaml
@@ -0,0 +1,7 @@
+apiVersion: argocdcommenter.int128.github.io/v1
+kind: GitHubDeployment
+metadata:
+ name: app1
+ namespace: app1
+spec:
+ url: DEPLOYMENT_URL
e2e_test/fixture/app2/argocdcommenter.int128.github.io_v1_githubdeployment_app2.yaml
--- /dev/null
+++ b/tmp/kustomize-action-IuIxnb/e2e_test/fixture/app2/argocdcommenter.int128.github.io_v1_githubdeployment_app2.yaml
@@ -0,0 +1,7 @@
+apiVersion: argocdcommenter.int128.github.io/v1
+kind: GitHubDeployment
+metadata:
+ name: app2
+ namespace: app2
+spec:
+ url: DEPLOYMENT_URL
e2e_test/fixture/app3/argocdcommenter.int128.github.io_v1_githubdeployment_app3.yaml
--- /dev/null
+++ b/tmp/kustomize-action-IuIxnb/e2e_test/fixture/app3/argocdcommenter.int128.github.io_v1_githubdeployment_app3.yaml
@@ -0,0 +1,7 @@
+apiVersion: argocdcommenter.int128.github.io/v1
+kind: GitHubDeployment
+metadata:
+ name: app3
+ namespace: app3
+spec:
+ url: DEPLOYMENT_URL