Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Replace tableconvertor with APC (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wałach authored and mszostok committed May 14, 2019
1 parent ecc9d78 commit efc7657
Show file tree
Hide file tree
Showing 45 changed files with 576 additions and 77 deletions.
94 changes: 93 additions & 1 deletion charts/catalog/templates/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ spec:
plural: clusterservicebrokers
singular: clusterservicebroker
kind: ClusterServiceBroker
additionalPrinterColumns:
- name: URL
type: string
JSONPath: .spec.url
- name: Status
type: string
JSONPath: .status.lastConditionState
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}

Expand All @@ -31,6 +41,16 @@ spec:
plural: servicebrokers
singular: servicebroker
kind: ServiceBroker
additionalPrinterColumns:
- name: URL
type: string
JSONPath: .spec.url
- name: Status
type: string
JSONPath: .status.lastConditionState
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}

Expand All @@ -50,6 +70,16 @@ spec:
plural: serviceclasses
singular: serviceclass
kind: ServiceClass
additionalPrinterColumns:
- name: External-Name
type: string
JSONPath: .spec.externalName
- name: Broker
type: string
JSONPath: .spec.clusterServiceBrokerName
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}

Expand All @@ -69,6 +99,16 @@ spec:
plural: clusterserviceclasses
singular: clusterserviceclass
kind: ClusterServiceClass
additionalPrinterColumns:
- name: External-Name
type: string
JSONPath: .spec.externalName
- name: Broker
type: string
JSONPath: .spec.clusterServiceBrokerName
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}

Expand All @@ -88,6 +128,19 @@ spec:
plural: serviceplans
singular: serviceplan
kind: ServicePlan
additionalPrinterColumns:
- name: External-Name
type: string
JSONPath: .spec.externalName
- name: Broker
type: string
JSONPath: .spec.serviceBrokerName
- name: Class
type: string
JSONPath: .spec.serviceClassRef.Name
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}

Expand All @@ -107,6 +160,19 @@ spec:
plural: clusterserviceplans
singular: clusterserviceplan
kind: ClusterServicePlan
additionalPrinterColumns:
- name: External-Name
type: string
JSONPath: .spec.externalName
- name: Broker
type: string
JSONPath: .spec.clusterServiceBrokerName
- name: Class
type: string
JSONPath: .spec.clusterServiceClassRef.name
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}

Expand All @@ -126,6 +192,19 @@ spec:
plural: serviceinstances
singular: serviceinstance
kind: ServiceInstance
additionalPrinterColumns:
- name: Class
type: string
JSONPath: .status.userSpecifiedClassName
- name: Plan
type: string
JSONPath: .status.userSpecifiedPlanName
- name: Status
type: string
JSONPath: .status.lastConditionState
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}

Expand All @@ -145,7 +224,20 @@ spec:
plural: servicebindings
singular: servicebinding
kind: ServiceBinding
additionalPrinterColumns:
- name: Service-Instance
type: string
JSONPath: .spec.instanceRef.name
- name: Secret-Name
type: string
JSONPath: .spec.secretName
- name: Status
type: string
JSONPath: .status.lastConditionState
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}

---
---
2 changes: 1 addition & 1 deletion charts/catalog/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Default values for Service Catalog
# service-catalog image to use
image: eu.gcr.io/kyma-project/develop/service-catalog/service-catalog-amd64:crd-0.0.5
image: eu.gcr.io/kyma-project/develop/service-catalog/service-catalog-amd64:crd-0.0.11
# imagePullPolicy for the service-catalog; valid values are "IfNotPresent",
# "Never", and "Always"
imagePullPolicy: Always
Expand Down
3 changes: 2 additions & 1 deletion cmd/svcat/testdata/output/get-binding.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"parameterChecksum": "23ca85e0f9fc05340ea0a13ef945602cd5cdc3f52d763e750cb0ab0cb172a94f"
},
"orphanMitigationInProgress": false,
"unbindStatus": "Required"
"unbindStatus": "Required",
"lastConditionState": "Ready"
}
}
1 change: 1 addition & 0 deletions cmd/svcat/testdata/output/get-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ status:
ps2: two
secretparam1: <redacted>
secretparam2: <redacted>
lastConditionState: Ready
orphanMitigationInProgress: false
reconciledGeneration: 1
unbindStatus: Required
3 changes: 2 additions & 1 deletion cmd/svcat/testdata/output/get-bindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"parameterChecksum": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
},
"orphanMitigationInProgress": false,
"unbindStatus": "Required"
"unbindStatus": "Required",
"lastConditionState": "Ready"
}
}
]
Expand Down
1 change: 1 addition & 0 deletions cmd/svcat/testdata/output/get-bindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ items:
externalProperties:
parameterChecksum: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
parameters: {}
lastConditionState: Ready
orphanMitigationInProgress: false
reconciledGeneration: 1
unbindStatus: Required
Expand Down
3 changes: 2 additions & 1 deletion cmd/svcat/testdata/output/get-broker.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
}
],
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z",
"lastConditionState": "Ready"
}
}
1 change: 1 addition & 0 deletions cmd/svcat/testdata/output/get-broker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ status:
status: "True"
type: Ready
lastCatalogRetrievalTime: "2018-01-12T02:10:27Z"
lastConditionState: Ready
reconciledGeneration: 2
6 changes: 4 additions & 2 deletions cmd/svcat/testdata/output/get-brokers.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
}
],
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z",
"lastConditionState": "Ready"
}
},
{
Expand Down Expand Up @@ -60,7 +61,8 @@
}
],
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z",
"lastConditionState": "Ready"
}
}
]
2 changes: 2 additions & 0 deletions cmd/svcat/testdata/output/get-brokers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
status: "True"
type: Ready
lastCatalogRetrievalTime: "2018-01-12T02:10:27Z"
lastConditionState: Ready
reconciledGeneration: 2
- metadata:
creationTimestamp: "2018-01-11T20:53:30Z"
Expand All @@ -43,4 +44,5 @@
status: "True"
type: Ready
lastCatalogRetrievalTime: "2018-01-12T02:10:27Z"
lastConditionState: Ready
reconciledGeneration: 2
5 changes: 4 additions & 1 deletion cmd/svcat/testdata/output/get-instance.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
"parameterChecksum": "23ca85e0f9fc05340ea0a13ef945602cd5cdc3f52d763e750cb0ab0cb172a94f"
},
"provisionStatus": "",
"deprovisionStatus": "Required"
"deprovisionStatus": "Required",
"lastConditionState": "Ready",
"userSpecifiedPlanName": "",
"userSpecifiedClassName": ""
}
}
3 changes: 3 additions & 0 deletions cmd/svcat/testdata/output/get-instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ status:
ps2: two
secretparam1: <redacted>
secretparam2: <redacted>
lastConditionState: Ready
observedGeneration: 0
orphanMitigationInProgress: false
provisionStatus: ""
reconciledGeneration: 1
userSpecifiedClassName: ""
userSpecifiedPlanName: ""
5 changes: 4 additions & 1 deletion cmd/svcat/testdata/output/get-instances.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
"parameterChecksum": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
},
"provisionStatus": "",
"deprovisionStatus": "Required"
"deprovisionStatus": "Required",
"lastConditionState": "Ready",
"userSpecifiedPlanName": "",
"userSpecifiedClassName": ""
}
}
]
Expand Down
3 changes: 3 additions & 0 deletions cmd/svcat/testdata/output/get-instances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ items:
clusterServicePlanExternalName: default
parameterChecksum: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
parameters: {}
lastConditionState: Ready
observedGeneration: 0
orphanMitigationInProgress: false
provisionStatus: ""
reconciledGeneration: 1
userSpecifiedClassName: ""
userSpecifiedPlanName: ""
metadata:
resourceVersion: "109"
selfLink: /apis/servicecatalog.k8s.io/v1beta1/serviceinstances
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"message": "Successfully fetched catalog entries from broker."
}
],
"lastConditionState": "Ready",
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"message": "Successfully fetched catalog entries from broker."
}
],
"lastConditionState": "Ready",
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"message": "Injected bind result"
}
],
"lastConditionState": "Ready",
"asyncOpInProgress": false,
"reconciledGeneration": 1,
"externalProperties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"message": "Injected bind result"
}
],
"lastConditionState": "Ready",
"asyncOpInProgress": false,
"reconciledGeneration": 1,
"externalProperties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"message": "Successfully fetched catalog entries from broker."
}
],
"lastConditionState": "Ready",
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"message": "Successfully fetched catalog entries from broker."
}
],
"lastConditionState": "Ready",
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"message": "The instance was provisioned successfully"
}
],
"lastConditionState": "Ready",
"asyncOpInProgress": false,
"orphanMitigationInProgress": false,
"reconciledGeneration": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"message": "The instance was provisioned successfully"
}
],
"lastConditionState": "Ready",
"asyncOpInProgress": false,
"orphanMitigationInProgress": false,
"reconciledGeneration": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"parameterChecksum": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
},
"orphanMitigationInProgress": false,
"unbindStatus": "Required"
"unbindStatus": "Required",
"lastConditionState": "Ready"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"message": "Injected bind result"
}
],
"lastConditionState": "Ready",
"asyncOpInProgress": false,
"reconciledGeneration": 1,
"externalProperties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"message": "Successfully fetched catalog entries from broker."
}
],
"lastConditionState": "Ready",
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"message": "Successfully fetched catalog entries from broker."
}
],
"lastConditionState": "Ready",
"reconciledGeneration": 2,
"lastCatalogRetrievalTime": "2018-01-12T02:10:27Z"
}
Expand Down

0 comments on commit efc7657

Please sign in to comment.