Skip to content

Releases: paralus/paralus

v0.2.8

14 Jun 10:29
a080792
Compare
Choose a tag to compare

What's Changed

  • chore(deps): Bump docker/build-push-action from 5.1.0 to 5.3.0 by @dependabot in #306
  • chore(deps): Bump docker/login-action from 3.0.0 to 3.1.0 by @dependabot in #305
  • chore(deps): Bump aquasecurity/trivy-action from 0.17.0 to 0.18.0 by @dependabot in #302
  • chore(deps): Bump sigstore/cosign-installer from 3.4.0 to 3.5.0 by @dependabot in #312
  • chore(deps): Bump aquasecurity/trivy-action from 0.18.0 to 0.19.0 by @dependabot in #309
  • CI: added golangci-lint to the go.yml workflow by @jaydee029 in #311
  • linting(fixes): unused func/var/methods removed by @jaydee029 in #315
  • chore: add community meeting ics file by @akshay196 in #322
  • fix: unable to create/update project when roles specified by @akshay196 in #314
  • chore(deps): Bump docker/login-action from 3.1.0 to 3.2.0 by @dependabot in #325
  • Update README.md by @t-cool in #324
  • adding permissions for cli.config.read and code fix for non admin use… by @niravparikh05 in #313
  • chore(deps): Bump golangci/golangci-lint-action from 4 to 6 by @dependabot in #319
  • chore(deps): Bump aquasecurity/trivy-action from 0.19.0 to 0.21.0 by @dependabot in #323
  • chore(deps): Bump github.com/jackc/pgx/v4 from 4.13.0 to 4.18.2 by @dependabot in #326
  • chore(deps): Bump aquasecurity/trivy-action from 0.21.0 to 0.22.0 by @dependabot in #328

Migrations

Prior to v0.2.8 non-admin users will not have necessary permissions to download cli config, apply below migrations if you are upgrading Paralus

-- insert records into authsrv_resourcepermission
INSERT INTO authsrv_resourcepermission (name, scope, base_url, description, created_at, modified_at, trash, resource_urls, resource_action_urls) VALUES ('cli.config.read', 'PROJECT', '/auth/v3', 'Download cli configuration', current_timestamp, current_timestamp, false, '[{"url": "/cli/config", "methods": ["GET"]}]', 'null');

-- insert records into authsrv_resourcerolepermission
WITH resourcerole AS ( SELECT id as rrid FROM authsrv_resourcerole WHERE name IN ('PROJECT_ADMIN', 'PROJECT_READ_ONLY', 'CLUSTER_ADMIN', 'NAMESPACE_ADMIN', 'NAMESPACE_READ_ONLY') ), resourcepermission AS ( SELECT id as rpid FROM authsrv_resourcepermission WHERE name = 'cli.config.read' ) INSERT INTO authsrv_resourcerolepermission (name, description, created_at, modified_at, trash, resource_permission_id, resource_role_id) SELECT 'cli.config.read', 'Download cli configuration', current_timestamp, current_timestamp, false, resourcepermission.rpid, resourcerole.rrid FROM resourcerole, resourcepermission;

-- insert into casbin_rule
WITH resourcerole AS ( SELECT name FROM authsrv_resourcerole WHERE name IN ('PROJECT_ADMIN', 'PROJECT_READ_ONLY', 'CLUSTER_ADMIN', 'NAMESPACE_ADMIN', 'NAMESPACE_READ_ONLY') ) INSERT INTO casbin_rule (ptype, v0, v1, v2) SELECT 'g', '/auth/v3/cli/config', resourcerole.name, 'GET' FROM resourcerole;

New Contributors

Full Changelog: v0.2.7...v0.2.8

v0.2.7

28 Feb 07:59
e75dcf1
Compare
Choose a tag to compare

What's Changed

  • chore(deps): Bump docker/metadata-action from 5.3.0 to 5.4.0 by @dependabot in #284
  • chore(deps): Bump github/codeql-action from 2 to 3 by @dependabot in #285
  • chore(deps): Bump docker/metadata-action from 5.4.0 to 5.5.0 by @dependabot in #286
  • chore(deps): Bump aquasecurity/trivy-action from 0.16.0 to 0.16.1 by @dependabot in #287
  • chore: add community meeting in readme by @akshay196 in #288
  • chore(deps): Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 by @dependabot in #292
  • chore(deps): Bump docker/metadata-action from 5.5.0 to 5.5.1 by @dependabot in #293
  • chore(deps): Bump codecov/codecov-action from 3 to 4 by @dependabot in #294
  • chore(deps): Bump aquasecurity/trivy-action from 0.16.1 to 0.17.0 by @dependabot in #297
  • fix: add custom Empty instead of google.protobuf.Empty by @rustiever in #291
  • Fixes migration error on Postgresql version below 14 by @akshay196 in #295
  • expose cluster status update rpc by @niravparikh05 in #296
  • added adopters.md and rectified maintainers reference in readme.md by @niravparikh05 in #262
  • chore(docs): updated changelog for v0.2.7 release by @niravparikh05 in #301

Full Changelog: v0.2.6...v0.2.7

v0.2.6

22 Dec 05:06
72adb96
Compare
Choose a tag to compare

What's Changed

  • add yaml marshal/unmarshal for enums by @rustiever in #263
  • chore(deps): Bump github.com/crewjam/saml from 0.4.13 to 0.4.14 by @dependabot in #265
  • chore(deps): Bump aquasecurity/trivy-action from 0.12.0 to 0.13.0 by @dependabot in #267
  • Fixed broken links in README file by @free6om in #270
  • chore(deps): Bump sigstore/cosign-installer from 3.1.2 to 3.3.0 by @dependabot in #282
  • chore(deps): Bump docker/metadata-action from 5.0.0 to 5.3.0 by @dependabot in #281
  • chore(deps): Bump aquasecurity/trivy-action from 0.13.0 to 0.16.0 by @dependabot in #280
  • chore(deps): Bump actions/setup-go from 4 to 5 by @dependabot in #279
  • Update yaml.go to fix paralusYAML struct annotation errors by @tyut22316 in #261
  • add keycloak mapper by @robkooper in #277
  • chore(deps): Bump docker/build-push-action from 5.0.0 to 5.1.0 by @dependabot in #275
  • chore(docs): updated changelogs for v0.2.6 release by @niravparikh05 in #283

New Contributors

Full Changelog: v0.2.5...v0.2.6

v0.2.5

25 Sep 11:22
58593a8
Compare
Choose a tag to compare

What's Changed

  • chore(deps): Bump aquasecurity/trivy-action from 0.11.2 to 0.12.0 by @dependabot in #249
  • chore(deps): Bump docker/build-push-action from 4.1.1 to 4.2.1 by @dependabot in #251
  • chore(deps): Bump actions/checkout from 3 to 4 by @dependabot in #250
  • adding cosign support in the release worklow to increase supply chain security by @sbdtu5498 in #237
  • chore(deps): Bump docker/setup-buildx-action from 2 to 3 by @dependabot in #258
  • chore(deps): Bump docker/build-push-action from 4.2.1 to 5.0.0 by @dependabot in #257
  • chore(deps): Bump docker/metadata-action from 4.6.0 to 5.0.0 by @dependabot in #256
  • chore(deps): Bump docker/login-action from 2.2.0 to 3.0.0 by @dependabot in #255
  • chore(deps): Bump sigstore/cosign-installer from 3.1.1 to 3.1.2 by @dependabot in #254
  • changes to view auditlogs by project role users by @niravparikh05 in #247
  • chore(deps): Bump docker/setup-qemu-action from 2 to 3 by @dependabot in #259
  • updated changelog for v0.2.5 release by @niravparikh05 in #260

Breaking Changes

Prior to v0.2.5, users will not have org, partner metadata information in kratos identities which will impact audit logs screens, apply below migrations if you are upgrading paralus

update identities set metadata_public = jsonb_set(coalesce(metadata_public, '{}'), '{Organization}', '"replace-with-your-organization-id"', true);
update identities set metadata_public = jsonb_set(coalesce(metadata_public, '{}'), '{Partner}', '"replace-with-your-partner-id"', true);

NOTE

If you have idp providers configured, ensure to update your jsonnet mappers to update identity metadata public information with paralus' partner and organization ids to ensure a seamless experience with auditlogs. Refer: https://www.ory.sh/docs/kratos/social-signin/data-mapping

New Contributors

Full Changelog: v0.2.4...v0.2.5

v0.2.4

11 Aug 06:56
b4d64ef
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.3...v0.2.4

v0.2.3

28 Apr 09:52
a09f73e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.2...v0.2.3

v0.2.2

31 Mar 13:26
0e08492
Compare
Choose a tag to compare

What's Changed

BREAKING CHANGE
If you are upgrading from a prior version, you may face issues with connecting to existing clusters

"caller":"agent/agent.go:171","msg":"Relay Agent::relay agent namespace: paralus-system fingerprint: 4d63c263-0e39-4451-aa97-6882e339fc30 "} {"caller":"agent/agent.go:394","msg":"Relay Agent::config: &{TemplateToken:cifi3glc3m5b406jcbc0 TemplateName: Scheme:https Mode: Addr:console.paralusdemo.com:443 ClientID:cisqaj3ppcveb4n2 ClientIP:10.7.228.141 Name:relay-agent-557f56bb69-x2rcc PrivateKey:[] CSR:[] Certificate:[] CACertificate:[] ServerHost: ServerPort:0 Fingerprint:4d63c263-0e39-4451-aa97-6882e339fc30} "} [POST /v2/sentry/bootstrap/{templateToken}/register][500] bootstrapRegisterBootstrapAgentInternalServerError map[code:2 message:fingerprint mismatch for token cisqaj3ppcveb4n2bcrg] {"caller":"agent/agent.go:397","msg":"Relay Agent::failed to register relay agent error: [POST /v2/sentry/bootstrap/{templateToken}/register][500] bootstrapRegisterBootstrapAgentInternalServerError map[code:2 message:fingerprint mismatch for token cisqaj3ppcveb4n2bcrg] ","stacktrace":"github.com/paralus/relay/pkg/agent.registerRelayAgent\n\t/build/pkg/agent/agent.go:397\ngithub.com/paralus/relay/pkg/agent.handleRelayNetworks\n\t/build/pkg/agent/agent.go:606"}

Workaround:

  1. To fix this, go to the database and update the fingerprint value in the sentry_bootstrap_agent table for the specific token row with the uid from the paralus-system namespace for that client (also found within the log)
  2. Bootstrap the cluster again

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

27 Feb 11:33
de448a8
Compare
Choose a tag to compare

What's Changed

  • Fix: namespace limitation by @mabhi in #138
  • Add needs-triage label to issue templates by @akshay196 in #155
  • Feature: Add the ability to configure the SA account lifetime by @mabhi in #139
  • Fix: validate non empty projects for delete by @mabhi in #154
  • updates to changelog for v0.2.1 release by @niravparikh05 in #165
  • handled no record found during connect cluster with no org setting set by @mabhi in #168

BREAKING CHANGE

If you are upgrading from a prior version, you may face issues with web kubectl with failure logs in prompt as below

debug/handler.go:130","msg":"unable to get kubeconfig using GetForClusterWebSession","error":"rpc error: code = Unknown desc = ERROR: column ks.sa_validity_seconds does not exist (SQLSTATE=42703)

Run below in your paralus database instance and try again
ALTER TABLE sentry_kubeconfig_setting ADD COLUMN IF NOT EXISTS sa_validity_seconds integer not null default 0;

Full Changelog: v0.2.0...v0.2.1

v0.2.0

27 Jan 13:30
f9a0792
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.9...v0.2.0

v0.1.9

29 Dec 09:30
aa99f2e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.8...v0.1.9