func (a actionRuntimeContainerArgsUpdate) ReloadCachedStatus() bool {
	return true
}
ReloadCachedStatus reloads the inspector cache when the action is done.
package reconcile
import (
	"context"
	"fmt"
	"strings"
	"github.com/pkg/errors"
	"github.com/rs/zerolog"
	core "k8s.io/api/core/v1"
	api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
	"github.com/arangodb/kube-arangodb/pkg/deployment/rotation"
	"github.com/arangodb/kube-arangodb/pkg/util/arangod"
	"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
)
func init() {
	registerAction(api.ActionTypeRuntimeContainerArgsLogLevelUpdate, runtimeContainerArgsUpdate)
}
func runtimeContainerArgsUpdate(log zerolog.Logger, action api.Action, actionCtx ActionContext) Action {
	a := &actionRuntimeContainerArgsUpdate{}
	a.actionImpl = newActionImplDefRef(log, action, actionCtx, defaultTimeout)
	return a
}
var _ ActionReloadCachedStatus = &actionRuntimeContainerArgsUpdate{}
var _ ActionPost = &actionRuntimeContainerArgsUpdate{}
type actionRuntimeContainerArgsUpdate struct {
	actionImpl
}
func (a actionRuntimeContainerArgsUpdate) Post(ctx context.Context) error {
	m, ok := a.actionCtx.GetMemberStatusByID(a.action.MemberID)
	if !ok {
		a.log.Info().Msg("member is gone already")
		return nil
	}
	memberName := m.ArangoMemberName(a.actionCtx.GetName(), a.action.Group)
	member, ok := a.actionCtx.GetCachedStatus().ArangoMember(memberName)
	if !ok {
		return errors.Errorf("ArangoMember %s not found", memberName)
	}
	containerName, ok := a.action.GetParam(rotation.ContainerName)
	if !ok {
		a.log.Warn().Msgf("Unable to find action's param %s", rotation.ContainerName)
		return nil
	}
	log := a.log.With().Str("containerName", containerName).Logger()
	updateMemberStatusArgs := func(obj *api.ArangoMember, s *api.ArangoMemberStatus) bool {
		if obj.Spec.Template == nil || s.Template == nil ||
			obj.Spec.Template.PodSpec == nil || s.Template.PodSpec == nil {
			log.Info().Msgf("Nil Member definition")
			return false
		}
		if len(obj.Spec.Template.PodSpec.Spec.Containers) != len(s.Template.PodSpec.Spec.Containers) {
			log.Info().Msgf("Invalid size of containers")
			return false
		}
		for id := range obj.Spec.Template.PodSpec.Spec.Containers {
			if obj.Spec.Template.PodSpec.Spec.Containers[id].Name == containerName {
				if s.Template.PodSpec.Spec.Containers[id].Name != containerName {
					log.Info().Msgf("Invalid order of containers")
					return false
				}
				s.Template.PodSpec.Spec.Containers[id].Command = obj.Spec.Template.PodSpec.Spec.Containers[id].Command
				log.Info().Msgf("Updating container args")
				return true
			}
		}
		log.Info().Msgf("can not find the container")
		return false
	}
	err := a.actionCtx.WithArangoMemberStatusUpdate(ctx, member.GetNamespace(), member.GetName(), updateMemberStatusArgs)
	if err != nil {
		return errors.WithMessage(err, "Error while updating member status")
	}
	return nil
}