diff --git a/bundle/manifests/jira-service-desk-operator.clusterserviceversion.yaml b/bundle/manifests/jira-service-desk-operator.clusterserviceversion.yaml index b49de19..df238da 100644 --- a/bundle/manifests/jira-service-desk-operator.clusterserviceversion.yaml +++ b/bundle/manifests/jira-service-desk-operator.clusterserviceversion.yaml @@ -25,7 +25,7 @@ metadata: capabilities: Basic Install operators.operatorframework.io/builder: operator-sdk-v1.0.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v2 - name: jira-service-desk-operator.v0.0.6 + name: jira-service-desk-operator.v0.0.7 namespace: jira-service-desk-operator spec: apiservicedefinitions: {} @@ -122,7 +122,7 @@ spec: fieldPath: metadata.annotations['olm.targetNamespaces'] - name: CONFIG_SECRET_NAME value: jira-service-desk-config - image: stakater/jira-service-desk-operator:0.0.6 + image: stakater/jira-service-desk-operator:0.0.7 name: manager ports: - containerPort: 9443 @@ -202,8 +202,8 @@ spec: provider: name: stakater url: https://stakater.com - replaces: jira-service-desk-operator.v0.0.5 - version: 0.0.6 + replaces: jira-service-desk-operator.v0.0.6 + version: 0.0.7 webhookdefinitions: - admissionReviewVersions: null deploymentName: jira-service-desk-operator-webhook diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 8638fd5..47aac6f 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ kind: Kustomization images: - name: controller newName: stakater/jira-service-desk-operator - newTag: 0.0.6 + newTag: 0.0.7 diff --git a/packagemanifests/0.0.7/jira-service-desk-operator-metrics-reader_rbac.authorization.k8s.io_v1beta1_clusterrole.yaml b/packagemanifests/0.0.7/jira-service-desk-operator-metrics-reader_rbac.authorization.k8s.io_v1beta1_clusterrole.yaml new file mode 100644 index 0000000..3d69968 --- /dev/null +++ b/packagemanifests/0.0.7/jira-service-desk-operator-metrics-reader_rbac.authorization.k8s.io_v1beta1_clusterrole.yaml @@ -0,0 +1,10 @@ +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRole +metadata: + creationTimestamp: null + name: jira-service-desk-operator-metrics-reader +rules: +- nonResourceURLs: + - /metrics + verbs: + - get diff --git a/packagemanifests/0.0.7/jira-service-desk-operator.clusterserviceversion.yaml b/packagemanifests/0.0.7/jira-service-desk-operator.clusterserviceversion.yaml new file mode 100644 index 0000000..5380b13 --- /dev/null +++ b/packagemanifests/0.0.7/jira-service-desk-operator.clusterserviceversion.yaml @@ -0,0 +1,240 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "jiraservicedesk.stakater.com/v1alpha1", + "kind": "Project", + "metadata": { + "name": "stakater" + }, + "spec": { + "assigneeType": "PROJECT_LEAD", + "description": "Sample project for jira-service-desk-operator", + "key": "STK", + "leadAccountId": "5ebfbc3ead226b0ba46c3590", + "name": "stakater", + "projectTemplateKey": "com.atlassian.servicedesk:itil-v2-service-desk-project", + "projectTypeKey": "service_desk", + "url": "https://stakater.com" + } + } + ] + capabilities: Basic Install + operators.operatorframework.io/builder: operator-sdk-v1.0.0 + operators.operatorframework.io/project_layout: go.kubebuilder.io/v2 + name: jira-service-desk-operator.v0.0.7 + namespace: jira-service-desk-operator +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: Project is the Schema for the projects API + displayName: Project + kind: Project + name: projects.jiraservicedesk.stakater.com + version: v1alpha1 + description: Kubernetes operator for Jira Service Desk + displayName: jira-service-desk-operator + icon: + - base64data: "" + mediatype: "" + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - secrets + verbs: + - get + - list + - apiGroups: + - jiraservicedesk.stakater.com + resources: + - projects + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - jiraservicedesk.stakater.com + resources: + - projects/status + verbs: + - get + - patch + - update + - apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create + serviceAccountName: default + deployments: + - name: jira-service-desk-operator-controller-manager + spec: + replicas: 1 + selector: + matchLabels: + control-plane: controller-manager + strategy: {} + template: + metadata: + labels: + control-plane: controller-manager + spec: + containers: + - args: + - --secure-listen-address=0.0.0.0:8443 + - --upstream=http://127.0.0.1:8080/ + - --logtostderr=true + - --v=10 + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0 + name: kube-rbac-proxy + ports: + - containerPort: 8443 + name: https + resources: {} + - args: + - --metrics-addr=127.0.0.1:8080 + - --enable-leader-election + command: + - /manager + env: + - name: WATCH_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.annotations['olm.targetNamespaces'] + - name: CONFIG_SECRET_NAME + value: jira-service-desk-config + image: stakater/jira-service-desk-operator:0.0.7 + name: manager + ports: + - containerPort: 9443 + name: webhook-server + protocol: TCP + resources: + limits: + cpu: 100m + memory: 30Mi + requests: + cpu: 100m + memory: 20Mi + volumeMounts: + - mountPath: /tmp/k8s-webhook-server/serving-certs + name: cert + readOnly: true + terminationGracePeriodSeconds: 10 + volumes: + - name: cert + secret: + defaultMode: 420 + secretName: webhook-server-cert + permissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - "" + resources: + - configmaps/status + verbs: + - get + - update + - patch + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch + serviceAccountName: default + strategy: deployment + installModes: + - supported: true + type: OwnNamespace + - supported: true + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: true + type: AllNamespaces + keywords: + - jira + - service + - desk + - operator + - kubernetes + - openshift + links: + - name: Jira Service Desk Operator + url: https://jira-service-desk-operator.domain + maintainers: + - email: hello@stakater.com + name: Stakater + maturity: alpha + provider: + name: stakater + url: https://stakater.com + version: 0.0.7 + webhookdefinitions: + - admissionReviewVersions: null + deploymentName: jira-service-desk-operator-webhook + failurePolicy: Fail + generateName: vproject.kb.io + rules: + - apiGroups: + - jiraservicedesk.stakater.com + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - projects + sideEffects: null + type: ValidatingAdmissionWebhook + webhookPath: /validate-jiraservicedesk-stakater-com-v1alpha1-project + - admissionReviewVersions: null + deploymentName: jira-service-desk-operator-webhook + failurePolicy: Fail + generateName: mproject.kb.io + rules: + - apiGroups: + - jiraservicedesk.stakater.com + apiVersions: + - v1alpha1 + operations: + - CREATE + - UPDATE + resources: + - projects + sideEffects: null + type: MutatingAdmissionWebhook + webhookPath: /mutate-jiraservicedesk-stakater-com-v1alpha1-project diff --git a/packagemanifests/0.0.7/jiraservicedesk.stakater.com_projects.yaml b/packagemanifests/0.0.7/jiraservicedesk.stakater.com_projects.yaml new file mode 100644 index 0000000..0d2620b --- /dev/null +++ b/packagemanifests/0.0.7/jiraservicedesk.stakater.com_projects.yaml @@ -0,0 +1,135 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + annotations: + cert-manager.io/inject-ca-from: jira-service-desk-operator/jira-service-desk-operator-serving-cert + controller-gen.kubebuilder.io/version: v0.3.0 + creationTimestamp: null + name: projects.jiraservicedesk.stakater.com +spec: + conversion: + strategy: Webhook + webhookClientConfig: + caBundle: Cg== + service: + name: jira-service-desk-operator-webhook-service + namespace: jira-service-desk-operator + path: /convert + port: 443 + group: jiraservicedesk.stakater.com + names: + kind: Project + listKind: ProjectList + plural: projects + singular: project + preserveUnknownFields: false + scope: Cluster + subresources: + status: {} + validation: + openAPIV3Schema: + description: Project is the Schema for the projects 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: ProjectSpec defines the desired state of Project + properties: + assigneeType: + description: Task assignee type + enum: + - PROJECT_LEAD + - UNASSIGNED + type: string + avatarId: + description: An integer value for the project's avatar. + type: integer + categoryId: + description: The ID of the project's category + type: integer + description: + description: Description for project + type: string + issueSecurityScheme: + description: The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues + type: integer + key: + description: The project key is used as the prefix of your project's issue keys + type: string + leadAccountId: + description: ID of project lead + maxLength: 128 + type: string + name: + description: Name of the project + type: string + notificationScheme: + description: The ID of the notification scheme for the project + type: integer + permissionScheme: + description: The ID of the permission scheme for the project + type: integer + projectTemplateKey: + description: A prebuilt configuration for a project + type: string + projectTypeKey: + description: The project type, which dictates the application-specific feature set + enum: + - business + - service_desk + - software + type: string + url: + description: A link to information about this project, such as project documentation + type: string + type: object + status: + description: ProjectStatus defines the observed state of Project + properties: + conditions: + description: Status conditions + items: + description: "Condition represents an observation of an object's state. Conditions are an extension mechanism intended to be used when the details of an observation are not a priori known or would not apply to all instances of a given Kind. \n Conditions should be added to explicitly convey properties that users and components care about rather than requiring those properties to be inferred from other observations. Once defined, the meaning of a Condition can not be changed arbitrarily - it becomes part of the API, and has the same backwards- and forwards-compatibility concerns of any other part of the API." + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + description: ConditionReason is intended to be a one-word, CamelCase representation of the category of cause of the current status. It is intended to be used in concise output, such as one-line kubectl get output, and in summarizing occurrences of causes. + type: string + status: + type: string + type: + description: "ConditionType is the type of the condition and is typically a CamelCased word or short phrase. \n Condition types should indicate state in the \"abnormal-true\" polarity. For example, if the condition indicates when a policy is invalid, the \"is valid\" case is probably the norm, so the condition should be called \"Invalid\"." + type: string + required: + - status + - type + type: object + type: array + id: + description: Jira service desk project ID + type: string + required: + - id + type: object + type: object + version: v1alpha1 + versions: + - name: v1alpha1 + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: []