mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 13:33:50 +02:00
Bump v1.10.0 (#2299)
* bump to v1.9.1 * update year in license and add links to more blog posts * bump go to 1.19 and update dependencies * go for 1.10.0 instead of 1.9.1 * fix unit test - removed obsolete ClusterName field * fix DNS template in UI helm chart deployment file
This commit is contained in:
@@ -75,6 +75,10 @@ func (c *Clientset) Discovery() discovery.DiscoveryInterface {
|
||||
func NewForConfig(c *rest.Config) (*Clientset, error) {
|
||||
configShallowCopy := *c
|
||||
|
||||
if configShallowCopy.UserAgent == "" {
|
||||
configShallowCopy.UserAgent = rest.DefaultKubernetesUserAgent()
|
||||
}
|
||||
|
||||
// share the transport between all clients
|
||||
httpClient, err := rest.HTTPClientFor(&configShallowCopy)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user