diff --git a/Operator/config/crds/credentialtranslators_wirepact_ch.yaml b/Operator/config/crds/credentialtranslators_wirepact_ch.yaml index ce98b97..083b295 100644 --- a/Operator/config/crds/credentialtranslators_wirepact_ch.yaml +++ b/Operator/config/crds/credentialtranslators_wirepact_ch.yaml @@ -21,7 +21,6 @@ spec: openAPIV3Schema: properties: spec: - description: Specification of the kubernetes object. properties: image: type: string diff --git a/Operator/config/crds/kustomization.yaml b/Operator/config/crds/kustomization.yaml index c94bbab..8281b66 100644 --- a/Operator/config/crds/kustomization.yaml +++ b/Operator/config/crds/kustomization.yaml @@ -1,8 +1,8 @@ commonLabels: operator-element: crd resources: +- meshparticipants_wirepact_ch.yaml - pkis_wirepact_ch.yaml - credentialtranslators_wirepact_ch.yaml -- meshparticipants_wirepact_ch.yaml apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization diff --git a/Operator/config/crds/meshparticipants_wirepact_ch.yaml b/Operator/config/crds/meshparticipants_wirepact_ch.yaml index 5657c25..c452490 100644 --- a/Operator/config/crds/meshparticipants_wirepact_ch.yaml +++ b/Operator/config/crds/meshparticipants_wirepact_ch.yaml @@ -29,7 +29,6 @@ spec: openAPIV3Schema: properties: status: - description: Status object for the entity. properties: ingressPort: format: int32 @@ -45,7 +44,6 @@ spec: type: integer type: object spec: - description: Specification of the kubernetes object. properties: deployment: type: string diff --git a/Operator/config/crds/pkis_wirepact_ch.yaml b/Operator/config/crds/pkis_wirepact_ch.yaml index 81ce119..b48c23c 100644 --- a/Operator/config/crds/pkis_wirepact_ch.yaml +++ b/Operator/config/crds/pkis_wirepact_ch.yaml @@ -21,7 +21,6 @@ spec: openAPIV3Schema: properties: status: - description: Status object for the entity. properties: dnsAddress: type: string @@ -30,7 +29,6 @@ spec: type: string type: object spec: - description: Specification of the kubernetes object. properties: image: type: string diff --git a/Operator/config/install/kustomization.yaml b/Operator/config/install/kustomization.yaml index 94011dc..699ce5e 100644 --- a/Operator/config/install/kustomization.yaml +++ b/Operator/config/install/kustomization.yaml @@ -9,7 +9,7 @@ resources: - ../operator images: - name: operator - newName: public-docker-image-path - newTag: latest + newName: ghcr.io/wirepact/k8s-operator + newTag: 1.1.0 apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization diff --git a/Operator/config/rbac/operator-role.yaml b/Operator/config/rbac/operator-role.yaml index 6d0a156..62d3d6b 100644 --- a/Operator/config/rbac/operator-role.yaml +++ b/Operator/config/rbac/operator-role.yaml @@ -25,6 +25,15 @@ rules: - '' resources: - deployments + - events + verbs: + - create + - get + - list + - update +- apiGroups: + - '' + resources: - services - configmaps - secrets @@ -51,14 +60,11 @@ rules: - create - get - apiGroups: - - '' + - coordination.k8s.io resources: - - events + - leases verbs: - - create - - get - - list - - update + - '*' - apiGroups: - wirepact.ch resources: