Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Bug in rollup secret provider class definition #104

Closed
jbowen93 opened this issue Oct 6, 2023 · 1 comment
Closed

Bug in rollup secret provider class definition #104

jbowen93 opened this issue Oct 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working infra

Comments

@jbowen93
Copy link
Member

jbowen93 commented Oct 6, 2023

For some reason https://github.com/astriaorg/dev-cluster/blob/main/helm/rollup/templates/secretproviderclass.yaml doesn't run.

Example Error:

Warning  
FailedMount              
3s (x6 over 21s)  
kubelet                  
MountVolume.SetUp failed for volume "evm-private-key" : rpc error: code = Unknown desc = failed to mount secrets store objects for pod astria-dev-cluster/astria-faucet-6fb7b497f6-n7p4w, err: invalid path: must not be empty: ""

This is consumed by the rollup's faucet here: https://github.com/astriaorg/dev-cluster/blob/main/helm/rollup/templates/deployment.yaml#L142

Manual creation of the provider class resolved this.

@WafflesVonMaple WafflesVonMaple self-assigned this Oct 6, 2023
@WafflesVonMaple WafflesVonMaple added bug Something isn't working infra labels Oct 6, 2023
@WafflesVonMaple
Copy link
Contributor

example of a funtional hand creation. Need to compare against what helm is creating

kind: SecretProviderClass
metadata:
  name: sequencer-private-key-faucet
spec:
  provider: gcp
  secretObjects:
  - secretName: sequencer-private-key-faucet
    type: Opaque
    data:
    - objectName: sequencerFaucetPrivateKey.txt
      key: token
  parameters:
    secrets: |
      - resourceName: projects/devnet-coldbrew-1/secrets/sequencer-faucet-private-key/versions/latest
        fileName: "sequencerFaucetPrivateKey.txt"```

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working infra
Projects
None yet
Development

No branches or pull requests

2 participants