Repository navigation
K8shell single chart - #13
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
vault.enabled was not used: the k8shell-secrets app, the vault-sa service account and the CNPG superuser VaultStaticSecret were always rendered, so the bundle could not be synced without the Vault Secrets Operator. With vault.enabled false they are left out and the Secrets they would create (listed in values.yaml) must exist under the same names and keys, e.g. created from sops by Ansible. With the default (true) the rendered output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The k8shell chart now installs everything k8shell-bundle deployed as ArgoCD Applications, with plain Helm and without ArgoCD (k8shell-bundle stays at 0.7.x for existing installs): - PostgreSQL: postgresql.mode simple (single instance, the default), cnpg (CloudNativePG Cluster) or external; the Service db-postgresql in both installed modes, the data volume is kept on uninstall - NATS: the official chart as the subchart natsServer (nats.install), a 3-node JetStream cluster (the services create KV buckets with 3 replicas); checked to read the same password Secret as the services - idp-github and idp-google as part of the chart (idpGithub, idpGoogle), on the shared settings, added to identity.remoteProviders automatically; git-blueprints and the git-dev default blueprint with idpGithub - default authz policies (ConfigMap authz-policies-default, without any site-specific settings: permissions follow from roles), replaced as a whole by authz.policiesConfigMap; policy tests in policy-tests/ - default blueprints replaced by provisioner.blueprintsConfigMap, extended by blueprintFilesConfigMaps - k8shell-infra-versions for api-server - every service restarts when its configuration changes Defaults that make a plain install work: authz, api-server, session and frontend enabled, frontend navigation "full", session detach allowed (web terminal), the users of identity.users get an onboarding rule (default admin: roles admin and developer), SMTP block only with SMTP enabled, session reads the database credentials of identity. values-internal.yaml uses the identity and frontend images of PRs k8shell-io/identity#46 and k8shell-io/frontend#89 until they are released. quickstart.sh: database and NATS passwords kept across upgrades, roles for the admin user, --chart, --values and --yes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
identity has no built-in organization any more (k8shell-io/identity#46): - identity.roles: global roles created at startup if missing (defaults developer and git-workspace, used by the default policies) - identity.organizations: organizations created at startup if missing, with node selectors (set only while the organization has none; default organization "default" on all Linux nodes, so workspaces start without a manual step) and organization-scoped roles (admin and org-admin rejected) - identity.users: organization required and checked against identity.organizations; no fallback to "default" - values-internal.yaml: identity image of PR #46 at f9ec532 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The provisioner rejects node selector keys it does not discover (provisioner.nodeSelectorKeys), so the default organization's kubernetes.io/os: linux matched "no nodes". kubernetes.io/os is now one of the default keys, and the chart refuses organizations using other keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…logs in ghcr.io lacks the current releases and some images are not public, so the chart's defaults now use registry.k8shell.io (for now) with the latest release of each service: identity v0.18.5 and frontend v0.18.4 (the fixes of k8shell-io/identity#46 and k8shell-io/frontend#89), api-server v0.21.1, the others unchanged. values-internal.yaml no longer overrides anything. The registry needs credentials: quickstart.sh takes --registry-username and --registry-password (or K8SHELL_REGISTRY_USERNAME/PASSWORD) and writes them to a values file for the pull Secret and the provisioner's private registry (k8shelld in workspaces). Tested: quickstart into an empty namespace on cozy-dev, SSH into an Ubuntu workspace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ry credentials Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cate e.g. Let's Encrypt for a public host while the services' certificates come from an internal CA (certManager.issuer). Empty name: certManager.issuer, as before; duration/renewBefore apply only then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The registry's v0.21.1 has no tag in k8shell-io/api-server (newest v0.19.5, not built) and lacks /auth/login/password. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
identity supports both (a catch-all rule with a higher priority number ranks below exact matches); the schema rejected them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With /api/v1 the browser never sends the session cookie to workspace apps on <port>--<workspace>.<host>, and api-server redirects every app request to sign-in. env-dev uses / as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.