Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubefirst for openSUSE:Factory checked in at 2024-12-12 21:19:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubefirst (Old) and /work/SRC/openSUSE:Factory/.kubefirst.new.29675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubefirst" Thu Dec 12 21:19:29 2024 rev:27 rq:1230278 version:2.7.8 Changes: -------- --- /work/SRC/openSUSE:Factory/kubefirst/kubefirst.changes 2024-11-30 13:28:55.428399351 +0100 +++ /work/SRC/openSUSE:Factory/.kubefirst.new.29675/kubefirst.changes 2024-12-12 21:19:29.739977803 +0100 @@ -1,0 +2,11 @@ +Thu Dec 12 05:55:29 UTC 2024 - opensuse_buildserv...@ojkastl.de + +- Update to version 2.7.8: + * fix: delete kubefirst file when doing kubefirst reset - KRA-73 + (#2344) + * chore: remove unused GitHub Workflow for devrel (#2346) + * docs: add azure to the readme (#2343) + * update role name docs (#2327) + * fix(azure): make the dns resource group optional (#2339) + +------------------------------------------------------------------- Old: ---- kubefirst-2.7.7.obscpio New: ---- kubefirst-2.7.8.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubefirst.spec ++++++ --- /var/tmp/diff_new_pack.lW6UJC/_old 2024-12-12 21:19:31.452049141 +0100 +++ /var/tmp/diff_new_pack.lW6UJC/_new 2024-12-12 21:19:31.456049308 +0100 @@ -17,7 +17,7 @@ Name: kubefirst -Version: 2.7.7 +Version: 2.7.8 Release: 0 Summary: CLI for the KubeFirst GitOps Infrastructure & Application Delivery Platform License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.lW6UJC/_old 2024-12-12 21:19:31.488050642 +0100 +++ /var/tmp/diff_new_pack.lW6UJC/_new 2024-12-12 21:19:31.488050642 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/kubefirst/kubefirst</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v2.7.7</param> + <param name="revision">v2.7.8</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.lW6UJC/_old 2024-12-12 21:19:31.508051475 +0100 +++ /var/tmp/diff_new_pack.lW6UJC/_new 2024-12-12 21:19:31.512051642 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kubefirst/kubefirst</param> - <param name="changesrevision">d33c32d3e51db96289f422cb7b87b66ad3ce5fc9</param></service></servicedata> + <param name="changesrevision">ca34ec7e612917c76af34ca8a948d38014198687</param></service></servicedata> (No newline at EOF) ++++++ kubefirst-2.7.7.obscpio -> kubefirst-2.7.8.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubefirst-2.7.7/.github/workflows/devrel-automations.yaml new/kubefirst-2.7.8/.github/workflows/devrel-automations.yaml --- old/kubefirst-2.7.7/.github/workflows/devrel-automations.yaml 2024-11-28 20:34:31.000000000 +0100 +++ new/kubefirst-2.7.8/.github/workflows/devrel-automations.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,16 +0,0 @@ -name: devrel automation - -on: - issues: - types: [labeled] - -jobs: - auto-assign: - if: ${{ github.event.label.name == 'docs' }} - runs-on: ubuntu-latest - steps: - - name: 'Auto-assign issues to a project' - uses: actions/add-to-project@v0.4.0 - with: - project-url: https://github.com/orgs/kubefirst/projects/2 - github-token: ${{ secrets.KUBEFIRST_DEVREL_TOKEN }} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubefirst-2.7.7/README.md new/kubefirst-2.7.8/README.md --- old/kubefirst-2.7.7/README.md 2024-11-28 20:34:31.000000000 +0100 +++ new/kubefirst-2.7.8/README.md 2024-12-11 21:03:32.000000000 +0100 @@ -39,6 +39,7 @@ In beta: - [Akamai](https://docs.kubefirst.io/akamai/overview) +- [Azure](https://docs.kubefirst.io/azure/overview) - [Google Cloud](https://kubefirst.konstruct.io/docs/gcp/overview) - [K3s](https://kubefirst.konstruct.io/docs/k3s/overview) - [Vultr](https://kubefirst.konstruct.io/docs/vultr/overview) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubefirst-2.7.7/cmd/azure/command.go new/kubefirst-2.7.8/cmd/azure/command.go --- old/kubefirst-2.7.7/cmd/azure/command.go 2024-11-28 20:34:31.000000000 +0100 +++ new/kubefirst-2.7.8/cmd/azure/command.go 2024-12-11 21:03:32.000000000 +0100 @@ -97,7 +97,7 @@ createCmd.Flags().StringVar(&nodeCountFlag, "node-count", azureDefaults.NodeCount, "the node count for the cluster") createCmd.Flags().StringVar(&nodeTypeFlag, "node-type", azureDefaults.InstanceSize, "the instance size of the cluster to create") createCmd.Flags().StringVar(&dnsProviderFlag, "dns-provider", "azure", fmt.Sprintf("the dns provider - one of: %s", supportedDNSProviders)) - createCmd.Flags().StringVar(&dnsAzureResourceGroup, "dns-azure-resource-group", "", "the resource group where the Azure DNS Zone is hosted") + createCmd.Flags().StringVar(&dnsAzureResourceGroup, "dns-azure-resource-group", "", "the name of the resource group where the DNS Zone exists. If not set, the first matching zone will be used") createCmd.Flags().StringVar(&subdomainNameFlag, "subdomain", "", "the subdomain to use for DNS records (Cloudflare)") createCmd.Flags().StringVar(&domainNameFlag, "domain-name", "", "the Azure/Cloudflare DNS hosted zone name to use for DNS records (i.e. your-domain.com|subdomain.your-domain.com) (required)") createCmd.MarkFlagRequired("domain-name") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubefirst-2.7.7/cmd/azure/create.go new/kubefirst-2.7.8/cmd/azure/create.go --- old/kubefirst-2.7.7/cmd/azure/create.go 2024-11-28 20:34:31.000000000 +0100 +++ new/kubefirst-2.7.8/cmd/azure/create.go 2024-12-11 21:03:32.000000000 +0100 @@ -51,7 +51,7 @@ return nil } - err = ValidateProvidedFlags(cliFlags.GitProvider, cliFlags.DNSProvider, cliFlags.DNSAzureRG) + err = ValidateProvidedFlags(cliFlags.GitProvider) if err != nil { progress.Error(err.Error()) return nil @@ -112,7 +112,7 @@ return nil } -func ValidateProvidedFlags(gitProvider, dnsProvider, dnsAzureResourceGroup string) error { +func ValidateProvidedFlags(gitProvider string) error { progress.AddStep("Validate provided flags") for _, env := range envvarSecrets { @@ -138,9 +138,7 @@ } } - if dnsProvider == "azure" && dnsAzureResourceGroup == "" { - return fmt.Errorf("the resource group for the azure dns zone is required when using azure dns") - } + progress.CompleteStep("Validate provided flags") return nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubefirst-2.7.7/cmd/reset.go new/kubefirst-2.7.8/cmd/reset.go --- old/kubefirst-2.7.7/cmd/reset.go 2024-11-28 20:34:31.000000000 +0100 +++ new/kubefirst-2.7.8/cmd/reset.go 2024-12-11 21:03:32.000000000 +0100 @@ -64,7 +64,12 @@ return fmt.Errorf("unable to determine contents of kubefirst-checks: unexpected type %T", v) } - if err := runReset(); err != nil { + homePath, err := os.UserHomeDir() + if err != nil { + return fmt.Errorf("unable to get user home directory: %w", err) + } + + if err := runReset(homePath); err != nil { return fmt.Errorf("error during reset operation: %w", err) } return nil @@ -94,7 +99,7 @@ } // runReset carries out the reset function -func runReset() error { +func runReset(homePath string) error { utils.DisplayLogHints() progressPrinter.AddTracker("removing-platform-content", "Removing local platform content", 2) @@ -102,11 +107,8 @@ log.Info().Msg("removing previous platform content") - homePath, err := os.UserHomeDir() - if err != nil { - return fmt.Errorf("unable to get user home directory: %w", err) - } k1Dir := fmt.Sprintf("%s/.k1", homePath) + kubefirstConfig := fmt.Sprintf("%s/.kubefirst", homePath) if err := utils.ResetK1Dir(k1Dir); err != nil { return fmt.Errorf("error resetting k1 directory: %w", err) @@ -131,9 +133,12 @@ return fmt.Errorf("unable to delete %q folder, error: %w", k1Dir, err) } + if err := os.RemoveAll(kubefirstConfig); err != nil { + return fmt.Errorf("unable to remove %q, error: %w", kubefirstConfig, err) + } + progressPrinter.IncrementTracker("removing-platform-content") time.Sleep(time.Second * 2) progress.Progress.Quit() - return nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubefirst-2.7.7/internal/launch/constants.go new/kubefirst-2.7.8/internal/launch/constants.go --- old/kubefirst-2.7.7/internal/launch/constants.go 2024-11-28 20:34:31.000000000 +0100 +++ new/kubefirst-2.7.8/internal/launch/constants.go 2024-12-11 21:03:32.000000000 +0100 @@ -11,7 +11,7 @@ helmChartName = "kubefirst" helmChartRepoName = "konstruct" helmChartRepoURL = "https://charts.konstruct.io" - helmChartVersion = "2.7.6" + helmChartVersion = "2.7.8-rc7" namespace = "kubefirst" secretName = "kubefirst-initial-secrets" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubefirst-2.7.7/tools/aws-create-role.tf new/kubefirst-2.7.8/tools/aws-create-role.tf --- old/kubefirst-2.7.7/tools/aws-create-role.tf 2024-11-28 20:34:31.000000000 +0100 +++ new/kubefirst-2.7.8/tools/aws-create-role.tf 2024-12-11 21:03:32.000000000 +0100 @@ -28,7 +28,7 @@ resource "aws_iam_role" "assumed_admin" { # The role name - name = "AssumedAdmin" + name = "KubernetesAdmin" # The default session time is 1 hour, this set it to 12 hours for convenience. It's less annoying, but less secure, feel free to remove or change! max_session_duration = 43200 @@ -36,7 +36,7 @@ # # Below is a permissive role not intended for long-term use. # - # It grants all IAM users of the AWS account the ability to assume the role `AssumedAdmin` (or whatever name you gave it), which we created and give the `AdministratorAccess` policy. + # It grants all IAM users of the AWS account the ability to assume the role `KubernetesAdmin`, which we created and give the `AdministratorAccess` policy. # # The value `:root` grants assume to the whole account but you can replace it with your individual IAM ARN, or your role if appropriate. # ++++++ kubefirst.obsinfo ++++++ --- /var/tmp/diff_new_pack.lW6UJC/_old 2024-12-12 21:19:31.680058643 +0100 +++ /var/tmp/diff_new_pack.lW6UJC/_new 2024-12-12 21:19:31.684058809 +0100 @@ -1,5 +1,5 @@ name: kubefirst -version: 2.7.7 -mtime: 1732822471 -commit: d33c32d3e51db96289f422cb7b87b66ad3ce5fc9 +version: 2.7.8 +mtime: 1733947412 +commit: ca34ec7e612917c76af34ca8a948d38014198687 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/kubefirst/vendor.tar.gz /work/SRC/openSUSE:Factory/.kubefirst.new.29675/vendor.tar.gz differ: char 5, line 1