Thread
#kubernetes
    s

    square-car-84996

    5 months ago
    Is there a way to run a command in a pod deployed via a HelmRelease? A vendor's software we use only supports initial configuration through running their CLI inside the freshly deployed pod. Otherwise we have to man-in-the-loop do the initial user configuration by hand... which means pulumi orchestrate the remaining configuration of the software.
    b

    bitter-eve-53295

    5 months ago
    Have you looked into the pulumi k8s operator? I just learned about it, looks promising, might be what you're looking for??https://www.pulumi.com/docs/guides/continuous-delivery/pulumi-kubernetes-operator/
    s

    square-car-84996

    5 months ago
    that still doesn't provide a way of executing a command in an existing pod.
    b

    bitter-eve-53295

    5 months ago
    s

    square-car-84996

    5 months ago
    ideally i'd like to replicate
    kubectl exec
    b

    bored-table-20691

    5 months ago
    I believe you can probably use the
    Command
    package to do this (using
    remote.Command
    ): https://github.com/pulumi/pulumi-command
    But my guess is it’s going to feel like there is friction
    s

    square-car-84996

    5 months ago
    i was hoping for something that called the actual kuberntes exec api instead of shelling out to a host command