Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit implements NE-284. https://issues.redhat.com/browse/NE-284 * operator/v1/types_ingress.go (IngressControllerSpec): Add Logging field with the new IngressControllerLogging type. (LoggingDestinationType): New type. (ContainerLoggingDestinationType, SyslogLoggingDestinationType): New constants to identify types of destinations for log messages. (ContainerLoggingSidecarContainerName): New constant. (SyslogLoggingDestinationParameters): New type. Describe a syslog endpoint and facility. (ContainerLoggingDestinationParameters): New type. Empty for now. (LoggingDestination): New type. Describe a destination for log messages using LoggingDestinationType, SyslogLoggingDestinationParameters, and ContainerLoggingDestinationParameters. (AccessLogging): New type. Describe how client requests are logged, using LoggingDestination. (IngressControllerLogging): New type. Describe what should be logged where, using AccessLogging. For now, other types of logging cannot be specified. * operator/v1/0000_50_ingress-operator_00-custom-resource-definition.yaml: Rename... * operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml: ...to this. The file name must end in .crd.yaml so it can be patched. * operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml-merge-patch: New file. Patch the validation of the spec.logging.access.destination.syslog.address field to require its value to be either ipv4 or ipv6 * operator/v1/zz_generated.deepcopy.go: * operator/v1/zz_generated.swagger_doc_generated.go: Regenerate.
- Loading branch information