From a5a8d7d91eb39e9277a19afe3c95bc934eaef359 Mon Sep 17 00:00:00 2001 From: AWS Controllers for Kubernetes Bot <82905295+ack-bot@users.noreply.github.com> Date: Fri, 21 Jan 2022 00:18:09 -0800 Subject: [PATCH] ack-kms-controller artifacts for version 0.0.4 (#583) Signed-off-by: ack-bot <82905295+ack-bot@users.noreply.github.com> --- .../0.0.4/bundle.Dockerfile | 21 ++ ...-kms-controller.clusterserviceversion.yaml | 300 ++++++++++++++++++ .../ack-kms-metrics-service_v1_service.yaml | 16 + ...der_rbac.authorization.k8s.io_v1_role.yaml | 17 + ...ter_rbac.authorization.k8s.io_v1_role.yaml | 32 ++ .../kms.services.k8s.aws_aliases.yaml | 132 ++++++++ .../kms.services.k8s.aws_customkeystores.yaml | 141 ++++++++ .../kms.services.k8s.aws_grants.yaml | 193 +++++++++++ .../manifests/kms.services.k8s.aws_keys.yaml | 285 +++++++++++++++++ .../0.0.4/metadata/annotations.yaml | 15 + .../0.0.4/tests/scorecard/config.yaml | 50 +++ 11 files changed, 1202 insertions(+) create mode 100644 operators/ack-kms-controller/0.0.4/bundle.Dockerfile create mode 100644 operators/ack-kms-controller/0.0.4/manifests/ack-kms-controller.clusterserviceversion.yaml create mode 100644 operators/ack-kms-controller/0.0.4/manifests/ack-kms-metrics-service_v1_service.yaml create mode 100644 operators/ack-kms-controller/0.0.4/manifests/ack-kms-reader_rbac.authorization.k8s.io_v1_role.yaml create mode 100644 operators/ack-kms-controller/0.0.4/manifests/ack-kms-writer_rbac.authorization.k8s.io_v1_role.yaml create mode 100644 operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_aliases.yaml create mode 100644 operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_customkeystores.yaml create mode 100644 operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_grants.yaml create mode 100644 operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_keys.yaml create mode 100644 operators/ack-kms-controller/0.0.4/metadata/annotations.yaml create mode 100644 operators/ack-kms-controller/0.0.4/tests/scorecard/config.yaml diff --git a/operators/ack-kms-controller/0.0.4/bundle.Dockerfile b/operators/ack-kms-controller/0.0.4/bundle.Dockerfile new file mode 100644 index 00000000000..0e82e9005eb --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/bundle.Dockerfile @@ -0,0 +1,21 @@ +FROM scratch + +# Core bundle labels. +LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 +LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ +LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ +LABEL operators.operatorframework.io.bundle.package.v1=ack-kms-controller +LABEL operators.operatorframework.io.bundle.channels.v1=alpha +LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha +LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.13.0+git +LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 +LABEL operators.operatorframework.io.metrics.project_layout=unknown + +# Labels for testing. +LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1 +LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/ + +# Copy files to locations specified by labels. +COPY bundle/manifests /manifests/ +COPY bundle/metadata /metadata/ +COPY bundle/tests/scorecard /tests/scorecard/ diff --git a/operators/ack-kms-controller/0.0.4/manifests/ack-kms-controller.clusterserviceversion.yaml b/operators/ack-kms-controller/0.0.4/manifests/ack-kms-controller.clusterserviceversion.yaml new file mode 100644 index 00000000000..654f0c0c593 --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/manifests/ack-kms-controller.clusterserviceversion.yaml @@ -0,0 +1,300 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "kms.services.k8s.aws/v1alpha1", + "kind": "Alias", + "metadata": { + "name": "example" + }, + "spec": {} + }, + { + "apiVersion": "kms.services.k8s.aws/v1alpha1", + "kind": "CustomKeyStore", + "metadata": { + "name": "example" + }, + "spec": {} + }, + { + "apiVersion": "kms.services.k8s.aws/v1alpha1", + "kind": "Grant", + "metadata": { + "name": "example" + }, + "spec": {} + }, + { + "apiVersion": "kms.services.k8s.aws/v1alpha1", + "kind": "Key", + "metadata": { + "name": "example" + }, + "spec": {} + } + ] + capabilities: Basic Install + categories: Cloud Provider + certified: "false" + containerImage: public.ecr.aws/aws-controllers-k8s/kms-controller:v0.0.4 + createdAt: "2022-01-14 15:50:42" + description: AWS KMS controller is a service controller for managing KMS resources + in Kubernetes + operatorframework.io/suggested-namespace: ack-system + operators.operatorframework.io/builder: operator-sdk-v1.13.0+git + operators.operatorframework.io/project_layout: unknown + repository: https://github.com/aws-controllers-k8s + support: Community + name: ack-kms-controller.v0.0.4 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: Alias represents the state of an AWS kms Alias resource. + displayName: Alias + kind: Alias + name: aliases.kms.services.k8s.aws + version: v1alpha1 + - description: CustomKeyStore represents the state of an AWS kms CustomKeyStore + resource. + displayName: CustomKeyStore + kind: CustomKeyStore + name: customkeystores.kms.services.k8s.aws + version: v1alpha1 + - description: Grant represents the state of an AWS kms Grant resource. + displayName: Grant + kind: Grant + name: grants.kms.services.k8s.aws + version: v1alpha1 + - description: Key represents the state of an AWS kms Key resource. + displayName: Key + kind: Key + name: keys.kms.services.k8s.aws + version: v1alpha1 + description: |- + Manage Key Management Service (KMS) resources in AWS from within your Kubernetes cluster. + + **About Amazon KMS** + + AWS Key Management Service (AWS KMS) is a managed service that makes it easy for you to create and control the cryptographic keys that are used to protect your data. AWS KMS uses hardware security modules (HSM) to protect and validate your AWS KMS keys under the [FIPS 140-2 Cryptographic Module Validation Program](https://csrc.nist.gov/projects/cryptographic-module-validation-program/Certificate/3139), except in the China (Beijing) and China (Ningxia) Regions. + + **About the AWS Controllers for Kubernetes** + + This controller is a component of the [AWS Controller for Kubernetes](https://github.com/aws/aws-controllers-k8s) project. This project is currently in **developer preview**. + + **Pre-Installation Steps** + + Please follow the following link: [Red Hat OpenShift](https://aws-controllers-k8s.github.io/community/docs/user-docs/openshift/) + displayName: AWS Controllers for Kubernetes - Amazon KMS + icon: + - base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzA0IDE4MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzA0IDE4MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMyNTJGM0U7fQoJLnN0MXtmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiNGRjk5MDA7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik04Ni40LDY2LjRjMCwzLjcsMC40LDYuNywxLjEsOC45YzAuOCwyLjIsMS44LDQuNiwzLjIsNy4yYzAuNSwwLjgsMC43LDEuNiwwLjcsMi4zYzAsMS0wLjYsMi0xLjksM2wtNi4zLDQuMiAgIGMtMC45LDAuNi0xLjgsMC45LTIuNiwwLjljLTEsMC0yLTAuNS0zLTEuNEM3Ni4yLDkwLDc1LDg4LjQsNzQsODYuOGMtMS0xLjctMi0zLjYtMy4xLTUuOWMtNy44LDkuMi0xNy42LDEzLjgtMjkuNCwxMy44ICAgYy04LjQsMC0xNS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Mjc4LjksMTM5LjcsMjczLjUsMTQzLjd6Ii8+CgkJPHBhdGggY2xhc3M9InN0MSIgZD0iTTI4Ny4yLDEyOC4xYy00LjItNS40LTI3LjgtMi42LTM4LjUtMS4zYy0zLjIsMC40LTMuNy0yLjQtMC44LTQuNWMxOC44LTEzLjIsNDkuNy05LjQsNTMuMy01ICAgIGMzLjYsNC41LTEsMzUuNC0xOC42LDUwLjJjLTIuNywyLjMtNS4zLDEuMS00LjEtMS45QzI4Mi41LDE1NS43LDI5MS40LDEzMy40LDI4Ny4yLDEyOC4xeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPg== + mediatype: image/svg+xml + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list + - watch + - apiGroups: + - kms.services.k8s.aws + resources: + - aliases + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - kms.services.k8s.aws + resources: + - aliases/status + verbs: + - get + - patch + - update + - apiGroups: + - kms.services.k8s.aws + resources: + - customkeystores + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - kms.services.k8s.aws + resources: + - customkeystores/status + verbs: + - get + - patch + - update + - apiGroups: + - kms.services.k8s.aws + resources: + - grants + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - kms.services.k8s.aws + resources: + - grants/status + verbs: + - get + - patch + - update + - apiGroups: + - kms.services.k8s.aws + resources: + - keys + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - kms.services.k8s.aws + resources: + - keys/status + verbs: + - get + - patch + - update + - apiGroups: + - services.k8s.aws + resources: + - adoptedresources + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - services.k8s.aws + resources: + - adoptedresources/status + verbs: + - get + - patch + - update + serviceAccountName: default + deployments: + - name: ack-kms-controller + spec: + replicas: 1 + selector: + matchLabels: + control-plane: controller + strategy: {} + template: + metadata: + labels: + control-plane: controller + spec: + containers: + - args: + - --aws-region + - $(AWS_REGION) + - --enable-development-logging + - $(ACK_ENABLE_DEVELOPMENT_LOGGING) + - --log-level + - $(ACK_LOG_LEVEL) + - --resource-tags + - $(ACK_RESOURCE_TAGS) + - --watch-namespace + - $(ACK_WATCH_NAMESPACE) + command: + - ./bin/controller + env: + - name: K8S_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + envFrom: + - configMapRef: + name: ack-user-config + optional: false + - secretRef: + name: ack-user-secrets + optional: false + image: public.ecr.aws/aws-controllers-k8s/kms-controller:v0.0.4 + name: controller + ports: + - containerPort: 8080 + name: http + resources: + limits: + cpu: 100m + memory: 300Mi + requests: + cpu: 100m + memory: 200Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + privileged: false + runAsNonRoot: true + terminationGracePeriodSeconds: 10 + strategy: deployment + installModes: + - supported: true + type: AllNamespaces + keywords: + - kms + - aws + - amazon + - ack + links: + - name: AWS Controllers for Kubernetes + url: https://github.com/aws-controllers-k8s/community + - name: Documentation + url: https://aws-controllers-k8s.github.io/community/ + - name: Amazon KMS Developer Resources + url: https://aws.amazon.com/kms/resources/ + maintainers: + - email: ack-maintainers@amazon.com + name: kms maintainer team + maturity: alpha + provider: + name: Amazon, Inc. + url: https://aws.amazon.com + version: 0.0.4 diff --git a/operators/ack-kms-controller/0.0.4/manifests/ack-kms-metrics-service_v1_service.yaml b/operators/ack-kms-controller/0.0.4/manifests/ack-kms-metrics-service_v1_service.yaml new file mode 100644 index 00000000000..9151a4e93f0 --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/manifests/ack-kms-metrics-service_v1_service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + name: ack-kms-metrics-service +spec: + ports: + - name: metricsport + port: 8080 + protocol: TCP + targetPort: http + selector: + control-plane: controller + type: NodePort +status: + loadBalancer: {} diff --git a/operators/ack-kms-controller/0.0.4/manifests/ack-kms-reader_rbac.authorization.k8s.io_v1_role.yaml b/operators/ack-kms-controller/0.0.4/manifests/ack-kms-reader_rbac.authorization.k8s.io_v1_role.yaml new file mode 100644 index 00000000000..28298bfd024 --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/manifests/ack-kms-reader_rbac.authorization.k8s.io_v1_role.yaml @@ -0,0 +1,17 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + creationTimestamp: null + name: ack-kms-reader +rules: +- apiGroups: + - kms.services.k8s.aws + resources: + - aliases + - customkeystores + - grants + - keys + verbs: + - get + - list + - watch diff --git a/operators/ack-kms-controller/0.0.4/manifests/ack-kms-writer_rbac.authorization.k8s.io_v1_role.yaml b/operators/ack-kms-controller/0.0.4/manifests/ack-kms-writer_rbac.authorization.k8s.io_v1_role.yaml new file mode 100644 index 00000000000..f36f455ffbb --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/manifests/ack-kms-writer_rbac.authorization.k8s.io_v1_role.yaml @@ -0,0 +1,32 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + creationTimestamp: null + name: ack-kms-writer +rules: +- apiGroups: + - kms.services.k8s.aws + resources: + - aliases + - customkeystores + - grants + - keys + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - kms.services.k8s.aws + resources: + - aliases + - customkeystores + - grants + - keys + verbs: + - get + - patch + - update diff --git a/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_aliases.yaml b/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_aliases.yaml new file mode 100644 index 00000000000..c381448cf95 --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_aliases.yaml @@ -0,0 +1,132 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: aliases.kms.services.k8s.aws +spec: + group: kms.services.k8s.aws + names: + kind: Alias + listKind: AliasList + plural: aliases + singular: alias + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: Alias is the Schema for the Aliases 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: AliasSpec defines the desired state of Alias. + properties: + name: + description: "Specifies the alias name. This value must begin with + alias/ followed by a name, such as alias/ExampleAlias. \n The AliasName + value must be string of 1-256 characters. It can contain only alphanumeric + characters, forward slashes (/), underscores (_), and dashes (-). + The alias name cannot begin with alias/aws/. The alias/aws/ prefix + is reserved for AWS managed CMKs (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk)." + type: string + targetKeyID: + description: "Associates the alias with the specified customer managed + CMK (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk). + The CMK must be in the same AWS Region. \n A valid CMK ID is required. + If you supply a null or empty string value, this operation returns + an error. \n For help finding the key ID and ARN, see Finding the + Key ID and ARN (https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html#find-cmk-id-arn) + in the AWS Key Management Service Developer Guide. \n Specify the + key ID or the Amazon Resource Name (ARN) of the CMK. \n For example: + \n * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab \n * Key + ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + \n To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey." + type: string + required: + - name + - targetKeyID + type: object + status: + description: AliasStatus defines the observed state of Alias + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_customkeystores.yaml b/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_customkeystores.yaml new file mode 100644 index 00000000000..fe6d5d9682b --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_customkeystores.yaml @@ -0,0 +1,141 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: customkeystores.kms.services.k8s.aws +spec: + group: kms.services.k8s.aws + names: + kind: CustomKeyStore + listKind: CustomKeyStoreList + plural: customkeystores + singular: customkeystore + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: CustomKeyStore is the Schema for the CustomKeyStores 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: CustomKeyStoreSpec defines the desired state of CustomKeyStore. + properties: + cloudHsmClusterID: + description: Identifies the AWS CloudHSM cluster for the custom key + store. Enter the cluster ID of any active AWS CloudHSM cluster that + is not already associated with a custom key store. To find the cluster + ID, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) + operation. + type: string + keyStorePassword: + description: "Enter the password of the kmsuser crypto user (CU) account + (https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser) + in the specified AWS CloudHSM cluster. AWS KMS logs into the cluster + as this user to manage key material on your behalf. \n The password + must be a string of 7 to 32 characters. Its value is case sensitive. + \n This parameter tells AWS KMS the kmsuser account password; it + does not change the password in the AWS CloudHSM cluster." + type: string + name: + description: Specifies a friendly name for the custom key store. The + name must be unique in your AWS account. + type: string + trustAnchorCertificate: + description: Enter the content of the trust anchor certificate for + the cluster. This is the content of the customerCA.crt file that + you created when you initialized the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html). + type: string + required: + - cloudHsmClusterID + - keyStorePassword + - name + - trustAnchorCertificate + type: object + status: + description: CustomKeyStoreStatus defines the observed state of CustomKeyStore + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + customKeyStoreID: + description: A unique identifier for the new custom key store. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_grants.yaml b/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_grants.yaml new file mode 100644 index 00000000000..8d0a8db5554 --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_grants.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: grants.kms.services.k8s.aws +spec: + group: kms.services.k8s.aws + names: + kind: Grant + listKind: GrantList + plural: grants + singular: grant + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: Grant is the Schema for the Grants 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: GrantSpec defines the desired state of Grant. + properties: + constraints: + description: "Allows a cryptographic operation (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations) + only when the encryption context matches or includes the encryption + context specified in this structure. For more information about + encryption context, see Encryption Context (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) + in the AWS Key Management Service Developer Guide . \n Grant constraints + are not applied to operations that do not support an encryption + context, such as cryptographic operations with asymmetric CMKs and + management operations, such as DescribeKey or RetireGrant." + properties: + encryptionContextEquals: + additionalProperties: + type: string + type: object + encryptionContextSubset: + additionalProperties: + type: string + type: object + type: object + grantTokens: + description: "A list of grant tokens. \n For more information, see + Grant Tokens (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token) + in the AWS Key Management Service Developer Guide." + items: + type: string + type: array + granteePrincipal: + description: "The principal that is given permission to perform the + operations that the grant permits. \n To specify the principal, + use the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + of an AWS principal. Valid AWS principals include AWS accounts (root), + IAM users, IAM roles, federated users, and assumed role users. For + examples of the ARN syntax to use for specifying a principal, see + AWS Identity and Access Management (IAM) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam) + in the Example ARNs section of the AWS General Reference." + type: string + keyID: + description: "The unique identifier for the customer master key (CMK) + that the grant applies to. \n Specify the key ID or the Amazon Resource + Name (ARN) of the CMK. To specify a CMK in a different AWS account, + you must use the key ARN. \n For example: \n * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab + \n * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + \n To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey." + type: string + name: + description: "A friendly name for the grant. Use this value to prevent + the unintended creation of duplicate grants when retrying this request. + \n When this value is absent, all CreateGrant requests result in + a new grant with a unique GrantId even if all the supplied parameters + are identical. This can result in unintended duplicates when you + retry the CreateGrant request. \n When this value is present, you + can retry a CreateGrant request with identical parameters; if the + grant already exists, the original GrantId is returned without creating + a new grant. Note that the returned grant token is unique with every + CreateGrant request, even when a duplicate GrantId is returned. + All grant tokens for the same grant ID can be used interchangeably." + type: string + operations: + description: A list of operations that the grant permits. + items: + type: string + type: array + retiringPrincipal: + description: "The principal that is given permission to retire the + grant by using RetireGrant operation. \n To specify the principal, + use the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + of an AWS principal. Valid AWS principals include AWS accounts (root), + IAM users, federated users, and assumed role users. For examples + of the ARN syntax to use for specifying a principal, see AWS Identity + and Access Management (IAM) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam) + in the Example ARNs section of the AWS General Reference." + type: string + required: + - granteePrincipal + - keyID + - operations + type: object + status: + description: GrantStatus defines the observed state of Grant + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + grantID: + description: "The unique identifier for the grant. \n You can use + the GrantId in a ListGrants, RetireGrant, or RevokeGrant operation." + type: string + grantToken: + description: "The grant token. \n For more information, see Grant + Tokens (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token) + in the AWS Key Management Service Developer Guide." + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_keys.yaml b/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_keys.yaml new file mode 100644 index 00000000000..d4948fbb7e8 --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/manifests/kms.services.k8s.aws_keys.yaml @@ -0,0 +1,285 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: keys.kms.services.k8s.aws +spec: + group: kms.services.k8s.aws + names: + kind: Key + listKind: KeyList + plural: keys + singular: key + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: Key is the Schema for the Keys 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: KeySpec defines the desired state of Key. + properties: + bypassPolicyLockoutSafetyCheck: + description: "A flag to indicate whether to bypass the key policy + lockout safety check. \n Setting this value to true increases the + risk that the CMK becomes unmanageable. Do not set this value to + true indiscriminately. \n For more information, refer to the scenario + in the Default Key Policy (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam) + section in the AWS Key Management Service Developer Guide . \n Use + this parameter only when you include a policy in the request and + you intend to prevent the principal that is making the request from + making a subsequent PutKeyPolicy request on the CMK. \n The default + value is false." + type: boolean + customKeyStoreID: + description: "Creates the CMK in the specified custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html) + and the key material in its associated AWS CloudHSM cluster. To + create a CMK in a custom key store, you must also specify the Origin + parameter with a value of AWS_CLOUDHSM. The AWS CloudHSM cluster + that is associated with the custom key store must have at least + two active HSMs, each in a different Availability Zone in the Region. + \n This parameter is valid only for symmetric CMKs. You cannot create + an asymmetric CMK in a custom key store. \n To find the ID of a + custom key store, use the DescribeCustomKeyStores operation. \n + The response includes the custom key store ID and the ID of the + AWS CloudHSM cluster. \n This operation is part of the Custom Key + Store feature (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html) + feature in AWS KMS, which combines the convenience and extensive + integration of AWS KMS with the isolation and control of a single-tenant + key store." + type: string + description: + description: "A description of the CMK. \n Use a description that + helps you decide whether the CMK is appropriate for a task." + type: string + keyUsage: + description: "Determines the cryptographic operations (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations) + for which you can use the CMK. The default value is ENCRYPT_DECRYPT. + This parameter is required only for asymmetric CMKs. You can't change + the KeyUsage value after the CMK is created. \n Select only one + valid value. \n * For symmetric CMKs, omit the parameter or specify + ENCRYPT_DECRYPT. \n * For asymmetric CMKs with RSA key material, + specify ENCRYPT_DECRYPT or SIGN_VERIFY. \n * For asymmetric + CMKs with ECC key material, specify SIGN_VERIFY." + type: string + origin: + description: "The source of the key material for the CMK. You cannot + change the origin after you create the CMK. The default is AWS_KMS, + which means AWS KMS creates the key material. \n When the parameter + value is EXTERNAL, AWS KMS creates a CMK without key material so + that you can import key material from your existing key management + infrastructure. For more information about importing key material + into AWS KMS, see Importing Key Material (https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html) + in the AWS Key Management Service Developer Guide. This value is + valid only for symmetric CMKs. \n When the parameter value is AWS_CLOUDHSM, + AWS KMS creates the CMK in an AWS KMS custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html) + and creates its key material in the associated AWS CloudHSM cluster. + You must also use the CustomKeyStoreId parameter to identify the + custom key store. This value is valid only for symmetric CMKs." + type: string + policy: + description: "The key policy to attach to the CMK. \n If you provide + a key policy, it must meet the following criteria: \n * If you + don't set BypassPolicyLockoutSafetyCheck to true, the key policy + \ must allow the principal that is making the CreateKey request + to make a subsequent PutKeyPolicy request on the CMK. This reduces + the risk that the CMK becomes unmanageable. For more information, + refer to the scenario in the Default Key Policy (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default-allow-root-enable-iam) + \ section of the AWS Key Management Service Developer Guide . + \n * Each statement in the key policy must contain one or more + principals. The principals in the key policy must exist and be + visible to AWS KMS. When you create a new AWS principal (for + example, an IAM user or role), you might need to enforce a delay + before including the new principal in a key policy because the + new principal might not be immediately visible to AWS KMS. For + more information, see Changes that I make are not always immediately + visible (https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency) + \ in the AWS Identity and Access Management User Guide. \n If + you do not provide a key policy, AWS KMS attaches a default key + policy to the CMK. For more information, see Default Key Policy + (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html#key-policy-default) + in the AWS Key Management Service Developer Guide. \n The key policy + size quota is 32 kilobytes (32768 bytes). \n For help writing and + formatting a JSON policy document, see the IAM JSON Policy Reference + (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html) + in the IAM User Guide ." + type: string + tags: + description: "One or more tags. Each tag consists of a tag key and + a tag value. Both the tag key and the tag value are required, but + the tag value can be an empty (null) string. \n When you add tags + to an AWS resource, AWS generates a cost allocation report with + usage and costs aggregated by tags. For information about adding, + changing, deleting and listing tags for CMKs, see Tagging Keys (https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html). + \n Use this parameter to tag the CMK when it is created. To add + tags to an existing CMK, use the TagResource operation. \n To use + this parameter, you must have kms:TagResource (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) + permission in an IAM policy." + items: + description: "A key-value pair. A tag consists of a tag key and + a tag value. Tag keys and tag values are both required, but tag + values can be empty (null) strings. \n For information about the + rules that apply to tag keys and tag values, see User-Defined + Tag Restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) + in the AWS Billing and Cost Management User Guide." + properties: + tagKey: + type: string + tagValue: + type: string + type: object + type: array + type: object + status: + description: KeyStatus defines the observed state of Key + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + awsAccountID: + description: The twelve-digit account ID of the AWS account that owns + the CMK. + type: string + cloudHsmClusterID: + description: The cluster ID of the AWS CloudHSM cluster that contains + the key material for the CMK. When you create a CMK in a custom + key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html), + AWS KMS creates the key material for the CMK in the associated AWS + CloudHSM cluster. This value is present only when the CMK is created + in a custom key store. + type: string + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + creationDate: + description: The date and time when the CMK was created. + format: date-time + type: string + deletionDate: + description: The date and time after which AWS KMS deletes the CMK. + This value is present only when KeyState is PendingDeletion. + format: date-time + type: string + enabled: + description: Specifies whether the CMK is enabled. When KeyState is + Enabled this value is true, otherwise it is false. + type: boolean + encryptionAlgorithms: + description: "The encryption algorithms that the CMK supports. You + cannot use the CMK with other encryption algorithms within AWS KMS. + \n This field appears only when the KeyUsage of the CMK is ENCRYPT_DECRYPT." + items: + type: string + type: array + expirationModel: + description: Specifies whether the CMK's key material expires. This + value is present only when Origin is EXTERNAL, otherwise this value + is omitted. + type: string + keyID: + description: The globally unique identifier for the CMK. + type: string + keyManager: + description: The manager of the CMK. CMKs in your AWS account are + either customer managed or AWS managed. For more information about + the difference, see Customer Master Keys (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys) + in the AWS Key Management Service Developer Guide. + type: string + keyState: + description: "The current status of the CMK. \n For more information + about how key state affects the use of a CMK, see Key state: Effect + on your CMK (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) + in the AWS Key Management Service Developer Guide." + type: string + signingAlgorithms: + description: "The signing algorithms that the CMK supports. You cannot + use the CMK with other signing algorithms within AWS KMS. \n This + field appears only when the KeyUsage of the CMK is SIGN_VERIFY." + items: + type: string + type: array + validTo: + description: The time at which the imported key material expires. + When the key material expires, AWS KMS deletes the key material + and the CMK becomes unusable. This value is present only for CMKs + whose Origin is EXTERNAL and whose ExpirationModel is KEY_MATERIAL_EXPIRES, + otherwise this value is omitted. + format: date-time + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-kms-controller/0.0.4/metadata/annotations.yaml b/operators/ack-kms-controller/0.0.4/metadata/annotations.yaml new file mode 100644 index 00000000000..ed1672b34dd --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/metadata/annotations.yaml @@ -0,0 +1,15 @@ +annotations: + # Core bundle annotations. + operators.operatorframework.io.bundle.mediatype.v1: registry+v1 + operators.operatorframework.io.bundle.manifests.v1: manifests/ + operators.operatorframework.io.bundle.metadata.v1: metadata/ + operators.operatorframework.io.bundle.package.v1: ack-kms-controller + operators.operatorframework.io.bundle.channels.v1: alpha + operators.operatorframework.io.bundle.channel.default.v1: alpha + operators.operatorframework.io.metrics.builder: operator-sdk-v1.13.0+git + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: unknown + + # Annotations for testing. + operators.operatorframework.io.test.mediatype.v1: scorecard+v1 + operators.operatorframework.io.test.config.v1: tests/scorecard/ diff --git a/operators/ack-kms-controller/0.0.4/tests/scorecard/config.yaml b/operators/ack-kms-controller/0.0.4/tests/scorecard/config.yaml new file mode 100644 index 00000000000..382ddefd156 --- /dev/null +++ b/operators/ack-kms-controller/0.0.4/tests/scorecard/config.yaml @@ -0,0 +1,50 @@ +apiVersion: scorecard.operatorframework.io/v1alpha3 +kind: Configuration +metadata: + name: config +stages: +- parallel: true + tests: + - entrypoint: + - scorecard-test + - basic-check-spec + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: basic + test: basic-check-spec-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-bundle-validation + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-bundle-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-crds-have-validation + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-crds-have-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-spec-descriptors + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-spec-descriptors-test + storage: + spec: + mountPath: {} +storage: + spec: + mountPath: {}