apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-listoffices namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_listoffices methods: - GET - OPTIONS paths: - /workforce/v1/offices/ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-createoffice namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_createoffice methods: - POST - OPTIONS paths: - /workforce/v1/offices/ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-getoffice namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_getoffice methods: - GET - OPTIONS paths: - ~/workforce/v1/offices/(?[^#?/]+)/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-updateoffice namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_updateoffice methods: - PUT - OPTIONS paths: - ~/workforce/v1/offices/(?[^#?/]+)/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-patchoffice namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_patchoffice methods: - PATCH - OPTIONS paths: - ~/workforce/v1/offices/(?[^#?/]+)/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-deleteoffice namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_deleteoffice methods: - DELETE - OPTIONS paths: - ~/workforce/v1/offices/(?[^#?/]+)/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-getofficeemployees namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_getofficeemployees methods: - GET - OPTIONS paths: - ~/workforce/v1/offices/(?[^#?/]+)/employees/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-listemployees namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_listemployees methods: - GET - OPTIONS paths: - /workforce/v1/employees/ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-createemployee namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_createemployee methods: - POST - OPTIONS paths: - /workforce/v1/employees/ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-getemployee namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_getemployee methods: - GET - OPTIONS paths: - ~/workforce/v1/employees/(?[^#?/]+)/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-updateemployee namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_updateemployee methods: - PUT - OPTIONS paths: - ~/workforce/v1/employees/(?[^#?/]+)/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-patchemployee namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_patchemployee methods: - PATCH - OPTIONS paths: - ~/workforce/v1/employees/(?[^#?/]+)/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-deleteemployee namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_deleteemployee methods: - DELETE - OPTIONS paths: - ~/workforce/v1/employees/(?[^#?/]+)/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-getemployeereports namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_getemployeereports methods: - GET - OPTIONS paths: - ~/workforce/v1/employees/(?[^#?/]+)/reports/$ strip_path: false tags: - workforce --- apiVersion: configuration.konghq.com/v1alpha1 kind: KongRoute metadata: name: ${NAME}-workforce-api-getemployeecustomers namespace: ${NAMESPACE} spec: serviceRef: type: namespacedRef namespacedRef: name: ${NAME}-workforce-api name: workforce-api_getemployeecustomers methods: - GET - OPTIONS paths: - ~/workforce/v1/employees/(?[^#?/]+)/customers/$ strip_path: false tags: - workforce