Hej all! :wave: Just needed to be pointed in the r...
# kubernetes
g
Hej all! 👋 Just needed to be pointed in the right direction here, hope someone could do that. Im setting up the new Pulumi K8s Operator (looking forward to work with it, looks awesome 2.0) for the first test im just trying to get it deployed with simple stack to synk. (later on I'm gonna hook it up with ArgoCD and get myself a nice little UI ^^ ) Though im facing issues with the SSH agent, I deployed the operator with helm, and now Im trying to use an azure devops repository ( added a SSH_PRIVATE_KEY secret) im setting my backend to an azure blob storage as well as a Client ID for the Service Principle im using to authorize for the blob storage. Though when i'm applying my stack I get a
listing: error creating SSH agent: \"SSH agent requested but SSH_AUTH_SOCK not-specified
. anyone seen similiar or am I just doing this wrongly. Default installment from helm. Stack looks something like this: I have changed all the values out for dummy values just for example. But you get the gist of it.
Copy code
apiVersion: <http://pulumi.com/v1|pulumi.com/v1>
kind: Stack
metadata:
  name: my-poc-stack
  namespace: pulumi
spec:
  stack: stackName 
  projectRepo: <mailto:git@ssh.dev.azure.com|git@ssh.dev.azure.com>:v3/organization/projectName/_git/repositoryName
  branch: poc
  backend: <azblob://state-name-goes-here?storage_account=account_name_goes_here>
  destroyOnFinalize: false
  refresh: true
  envRefs:
    SSH_PRIVATE_KEY:
      type: Secret
      secret:
        name: git-ssh-key
        key: ssh-privatekey
    ARM_CLIENT_ID:
      type: Secret
      secret:
        name: azure-identity-secret
        key: ARM_CLIENT_ID
something obvious im doing wrong? Thanks!
tried with a GIT_TOKEN for envRefs, (using a pat as secret) This just gives me:
listing: authentication required:
I feel the documentation is lacking on these points, https://www.pulumi.com/docs/iac/using-pulumi/continuous-delivery/pulumi-kubernetes-operator/ Have anyone got this to work with a private repository would the main question be right now.