opea-project / GenAIInfra

Containerization and cloud native suite for OPEA
Apache License 2.0
16 stars 22 forks source link

Fix bug for K8s service serialization and add derived license header. #99

Closed zhlsunshine closed 1 week ago

zhlsunshine commented 2 weeks ago

Description

Change list:

  1. Remove the self-definition service struct for serialization, this causes bugs if the K8s service yaml files are different, such as: The service type is ClusterIP in example ChatQnA but it's NodePort in example DocSum. And I encountered serialization error for latter, so I fix this bug by using K8s.Service struct to implement it. Have passed through the test in stag node 7.

  2. Add the extra license header for some code derived from other project.

Issues

n/a

Type of change

List the type of change like below. Please delete options that are not relevant.

Dependencies

n/a

Tests

Describe the tests that you ran to verify your changes.