Conversation
Generated by simple-forge workflow Job ID: 4d5fd741-a616-44e0-a529-a4e80571e944 Workflow: https://github.com/simple-container-com/api/actions/runs/22280898664
smecsia
approved these changes
Feb 22, 2026
smecsia
approved these changes
Feb 22, 2026
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.
Summary
This pull request addresses issue #164.
Changes Made
📝 Execution Summary:
I've processed the issue and made the following changes:
I'll analyze the issue based on the conversation history and make the necessary file modifications. The issue is about incorrect Kubernetes labels that contain dots (
.) which are invalid for GCP labels.Let me start by reading the relevant files to understand the current state:
Now I understand the issue. The problem is that GCP labels cannot contain dots (
.) in the key name, but the current code usessimple-container.com/as a prefix in both the Kubernetes labels and GCP labels. The error message confirms this:I need to fix this by:
Let me make the necessary modifications:
Now let me verify the changes by reading the modified files:
The changes have been applied. Let me verify that all tests pass:
All tests pass. Let me verify the changes are complete by checking the git diff:
The changes have been applied. Let me also build the project to ensure it compiles:
The build succeeded. The changes I made are:
Summary of Changes
I've successfully fixed issue #164 - "kubernetes labels are incorrect". The problem was that GCP labels and Kubernetes labels were using
simple-container.com/as a prefix, which contains a dot (.) that is invalid for GCP labels.Root Cause
The error message from the issue clearly states:
GCP labels only allow lowercase letters, numbers, hyphens, and underscores in the key name. Dots are not allowed.
Files Modified
pkg/clouds/pulumi/api/tagging.go:GCPStackTag = "simple-container-com/stack"GCPEnvironmentTag = "simple-container-com/env"GCPParentStackTag = "simple-container-com/parent-stack"GCPClientStackTag = "simple-container-com/client-stack"ToGCPLabels()method to use the new GCP label constantspkg/clouds/pulumi/kubernetes/simple_container.go:LabelAppType = "simple-container-com/app-type"LabelAppName = "simple-container-com/app-name"LabelScEnv = "simple-container-com/env"LabelParentEnv = "simple-container-com/parent-env"LabelParentStack = "simple-container-com/parent-stack"LabelClientStack = "simple-container-com/client-stack"LabelCustomStack = "simple-container-com/custom-stack"Why This Works
[a-z]([a-z0-9-]{0,61}[a-z0-9])?(no dots allowed)All tests pass and the build succeeds.
Changes have been committed to branch simple-forge/issue-164-kubernetes-labels-are-incorrec-tavblu.
Related Issue
Closes #164
This PR was automatically created by Simple Forge