fix bug
This commit is contained in:
parent
061f8d6d07
commit
95a1042c41
@ -85,6 +85,8 @@ spec:
|
||||
type: array
|
||||
tag:
|
||||
type: string
|
||||
volume:
|
||||
type: string
|
||||
working_dir:
|
||||
type: string
|
||||
required:
|
||||
|
@ -55,7 +55,7 @@ spec:
|
||||
containers:
|
||||
- command:
|
||||
- /manager
|
||||
image: git.acooldomain.co/server-manager/kubernetes-operator:v0.0.5
|
||||
image: git.acooldomain.co/server-manager/kubernetes-operator:v0.0.8
|
||||
env:
|
||||
- name: CONFIG_PATH
|
||||
value: /etc/server-manager/config.yaml
|
||||
|
@ -668,7 +668,7 @@ func (r *ServerManagerReconciler) ServerPod(s *servermanagerv1alpha1.ServerManag
|
||||
Name: "init",
|
||||
Image: image.Spec.InitScript.Image,
|
||||
ImagePullPolicy: corev1.PullIfNotPresent,
|
||||
Command: image.Spec.Command,
|
||||
Command: image.Spec.InitScript.Command,
|
||||
Args: image.Spec.InitScript.Args,
|
||||
VolumeMounts: []corev1.VolumeMount{
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user