Skip to content

Commit

Permalink
fix: set meta env doesn't work (#114)
Browse files Browse the repository at this point in the history
Signed-off-by: zyy17 <[email protected]>
  • Loading branch information
zyy17 authored Aug 24, 2023
1 parent 6cd8305 commit 183f31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/greptimedbcluster/deployers/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (b *metaBuilder) generatePodTemplateSpec() *corev1.PodTemplateSpec {
}

podTemplateSpec.Spec.Containers[MainContainerIndex].Ports = b.containerPorts()
podTemplateSpec.Spec.Containers[MainContainerIndex].Env = b.env()
podTemplateSpec.Spec.Containers[MainContainerIndex].Env = append(podTemplateSpec.Spec.Containers[MainContainerIndex].Env, b.env()...)

b.MountConfigDir(podTemplateSpec)

Expand Down

0 comments on commit 183f31c

Please sign in to comment.