Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make installHint optional in ExecConfig #3

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

waiyaki
Copy link

@waiyaki waiyaki commented Oct 4, 2024

No description provided.

@waiyaki
Copy link
Author

waiyaki commented Oct 4, 2024

@guaraqe looks like the kubeconfig generated by teleport does not have the installHint in the user exec context.

How can I test this before merging? I've tried updating the ylem/snapshot.yaml file to

   - git: https://github.com/tloncorp/haskell-kubernetes-client.git
-    commit: 8e953f8b2aacec63267cabd6298372c1b2b3315f
+    commit: 6677cbc5980d54ca19ecac048965382e202a2272
     subdirs:
       - kubernetes
       - kubernetes-client

but building fails:

$ stack build --fast solaris:exe:solaris

Warning: Ignoring urbit-hob's bounds on text (>=1.2 && <2) and using text-2.0.2.
         Reason: trusting snapshot over Cabal file dependency information.

Error: [S-4804]
       Stack failed to construct a build plan.

       While constructing the build plan, Stack encountered the following errors. The 'Stack configuration' refers
       to the set of package versions specified by the snapshot (after any dropped packages, or pruned GHC boot
       packages; if a boot package is replaced, Stack prunes all other such packages that depend on it) and any
       extra-deps:

       In the dependencies for kubernetes-client-0.4.3.1:
         * crypton-connection needed, but no version is in the Stack configuration (latest matching version is
           0.3.2).
         * crypton-x509 needed, but no version is in the Stack configuration (latest matching version is 1.7.6).
         * crypton-x509-store needed, but no version is in the Stack configuration (latest matching version is
           1.6.9).
         * crypton-x509-system needed, but no version is in the Stack configuration (latest matching version is
           1.6.7).
         * crypton-x509-validation needed, but no version is in the Stack configuration (latest matching version is
           1.6.12).
       The above is/are needed due to solaris-2.25.4.0 -> kubernetes-client-0.4.3.1

       Some different approaches to resolving some or all of this:

         * Recommended action: try adding the following to your extra-deps in
           /Users/waiyaki/Projects/tlon/tlon/ylem-main/stack.yaml (project-level configuration):

           - crypton-connection-0.3.2@sha256:c7937edc25ab022bcf167703f2ec5ab73b62908e545bb587d2aa42b33cd6f6cc,1581
           - crypton-x509-1.7.6@sha256:c567657a705b6d6521f9dd2de999bf530d618ec00f3b939df76a41fb0fe94281,2339
           - crypton-x509-store-1.6.9@sha256:422b9b9f87a7382c66385d047615b16fc86a68c08ea22b1e0117c143a2d44050,1750
           - crypton-x509-system-1.6.7@sha256:023ed573d82983bc473a37a89e0434a085b413be9f68d07e085361056afd4637,1532
           - crypton-x509-validation-1.6.12@sha256:85989721b64be4b90de9f66ef641c26f57575cffed1a50d707065fb60176f386,2227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant