Skip to content

Commit

Permalink
Version 1.6.0 chart
Browse files Browse the repository at this point in the history
  • Loading branch information
aharbis committed Jun 29, 2022
1 parent d047f2a commit 9867aab
Show file tree
Hide file tree
Showing 10 changed files with 399 additions and 22 deletions.
6 changes: 3 additions & 3 deletions charts/stable/datapower-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v2
name: datapower-operator
description: A chart to deploy the IBM DataPower Operator
type: application
version: 1.5.3
appVersion: 1.5.3
kubeVersion: '>=1.19.0'
version: 1.6.0
appVersion: 1.6.0
kubeVersion: '>=1.23.0'
keywords:
- amd64
- Security
Expand Down
2 changes: 2 additions & 0 deletions charts/stable/datapower-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ Due to [limitations](https://helm.sh/docs/chart_best_practices/custom_resource_d
```
kubectl delete crd/datapowerservices.datapower.ibm.com
kubectl delete crd/datapowermonitors.datapower.ibm.com
kubectl delete crd/datapowerservicebindings.datapower.ibm.com
kubectl delete crd/datapowerrollouts.datapower.ibm.com
```

**Warning:** Deleting the CRDs will cause all Custom Resource (CR) instances to also be deleted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,22 +81,43 @@ spec:
conditions:
description: Conditions represent the latest available observations of the DataPowerMonitor's state
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."
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
properties:
lastTransitionTime:
description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
type: string
message:
description: message is a human readable message indicating details about the transition. This may be an empty string.
maxLength: 32768
type: string
observedGeneration:
description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format: int64
minimum: 0
type: integer
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.
description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
maxLength: 1024
minLength: 1
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
type: string
status:
description: status of the condition, one of True, False, Unknown.
enum:
- "True"
- "False"
- Unknown
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\"."
description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
creationTimestamp: null
labels:
app.kubernetes.io/instance: datapower-operator
app.kubernetes.io/managed-by: datapower-operator
app.kubernetes.io/name: datapowerrollouts.datapower.ibm.com
name: datapowerrollouts.datapower.ibm.com
spec:
group: datapower.ibm.com
names:
categories:
- all
- apic
- integration
- cp4i
kind: DataPowerRollout
listKind: DataPowerRolloutList
plural: datapowerrollouts
shortNames:
- dpr
singular: datapowerrollout
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Next partition to be rolled out
jsonPath: .spec.nextPartition
name: Next Partition
type: number
- description: Partition ready to be rolled out
jsonPath: .status.readyPartition
name: Ready Partition
type: number
- description: Work is in-progress
jsonPath: .status.workInProgress
name: Work In-Progress
type: boolean
- description: Work is complete
jsonPath: .status.workComplete
name: Work Complete
type: boolean
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1beta1
schema:
openAPIV3Schema:
description: DataPowerRollout is an internal API for orchestrating rollouts of the managed DataPower StatefulSet. This product is not deployable standalone and it is part of the LICCR already accepted.
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: DataPowerRolloutSpec defines the desired state of DataPowerRollout
properties:
nextPartition:
description: NextPartition is the next desired partition for the StatefulSet rolling update. This property is set by the DataPowerService controller.
format: int32
minimum: 0
type: integer
required:
- nextPartition
type: object
status:
description: DataPowerRolloutStatus defines the observed state of DataPowerRollout
properties:
readyPartition:
description: ReadyPartition is the partition which is ready to be rolled out. This property is set by the DataPowerRollout controller, and is intended to be read by the DataPowerService controller as the mechanism to move forward the partition on the managed StatefulSet.
format: int32
minimum: 0
type: integer
workComplete:
description: WorkComplete is true when all work is complete for the rollout. This means that the StatefulSet's partition has progressed to 0, and the lowest ordinal pod has been made primary post-rollout.
type: boolean
workInProgress:
description: WorkInProgress is true when there is an active routine performing work on the DataPower pods. Work could include reading state from the cluster, as well as mutating state within the pods, such as switching gateway-peering primaries.
type: boolean
required:
- readyPartition
- workComplete
- workInProgress
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
creationTimestamp: null
labels:
app.kubernetes.io/instance: datapower-operator
app.kubernetes.io/managed-by: datapower-operator
app.kubernetes.io/name: datapowerservicebindings.datapower.ibm.com
name: datapowerservicebindings.datapower.ibm.com
spec:
group: datapower.ibm.com
names:
categories:
- all
- apic
- integration
- cp4i
kind: DataPowerServiceBinding
listKind: DataPowerServiceBindingList
plural: datapowerservicebindings
shortNames:
- dpsb
singular: datapowerservicebinding
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: DataPowerServiceBinding is an internal API used for service binding with other operators. This product is not deployable standalone and it is part of the LICCR already accepted.
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: DataPowerServiceBindingSpec defines the desired state of DataPowerServiceBinding
type: object
status:
description: DataPowerServiceBindingStatus defines the observed state of DataPowerServiceBinding
properties:
adminSecretName:
description: AdminSecretName is the name of the Secret which holds the admin user password for the bound DataPowerService.
minLength: 1
type: string
headlessService:
description: HeadlessService is the name of the headless Service for the DataPower StatefulSet, used for Pod discovery.
minLength: 1
type: string
operandVersion:
description: OperandVersion is the version of the DataPowerService operand.
minLength: 1
type: string
operatorVersion:
description: OperatorVersion is the version of the DataPower Operator reconciling this binding resource.
minLength: 1
type: string
restMgmtPort:
description: RESTMgmtPort is the port used by the rest-mgmt service within the DataPower pods.
format: int32
minimum: 1
type: integer
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit 9867aab

Please sign in to comment.