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

feat: support cancelling restores #250

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
12e74a1
feat: support for services v2
shreddedbacon Jan 5, 2024
f1317d0
chore: remove pendingmessage functionality
shreddedbacon Jan 5, 2024
c5c260a
feat: support for passing new env service info to api
shreddedbacon Jan 9, 2024
b32c8eb
refactor: move v1beta1 related functions into their own api or contro…
shreddedbacon Jan 9, 2024
e7e1823
feat: add v1beta2 api
shreddedbacon Jan 9, 2024
f7e12fd
refactor: remove resources after theyve completed reconciling
shreddedbacon Jan 24, 2024
b273daa
refactor: tidy up fmt and make metrics more available
shreddedbacon Mar 15, 2024
812c208
Merge branch 'main' into v1beta2-api
shreddedbacon Apr 5, 2024
9dfae27
chore: port #249 into v1beta2 controller
shreddedbacon Apr 5, 2024
acf3e74
chore: bump dependencies
shreddedbacon Apr 8, 2024
a786ef6
chore: merge branch 'main' into v1beta2-api
shreddedbacon May 1, 2024
0edaad6
Merge pull request #247 from uselagoon/v1beta2-api
shreddedbacon May 2, 2024
8c201c5
chore: merge v1beta2 and merge conflict fixes
shreddedbacon May 2, 2024
5de8e7b
chore: minor formatting fixes
shreddedbacon May 2, 2024
d1b45f2
fix: v1beta1 crd changes
shreddedbacon May 2, 2024
48f4ee4
test: add main-v1beta2
shreddedbacon May 2, 2024
710e627
Merge pull request #246 from uselagoon/remove-pendingmessages-feature
shreddedbacon May 2, 2024
71190f6
chore: merge main-v1beta2 fix initial conflicts
shreddedbacon May 2, 2024
7d5190e
fix: add environment services changes to v1beta2 controller and other…
shreddedbacon May 2, 2024
099d915
Merge pull request #248 from uselagoon/environment-services
shreddedbacon May 2, 2024
dbc3f2f
chore: merge main fix conflicts
shreddedbacon Jul 28, 2024
3b81a92
chore: merge branch 'main' into main-v1beta2
shreddedbacon Jul 29, 2024
02507f7
feat: support cancelling restores
shreddedbacon Feb 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: port #249 into v1beta2 controller
shreddedbacon committed Apr 5, 2024

Verified

This commit was signed with the committer’s verified signature.
shreddedbacon Ben Jackson
commit 9dfae271cd0a0cad03122cc6da0f985d7fb0995e
1 change: 1 addition & 0 deletions controllers/v1beta2/build_controller.go
Original file line number Diff line number Diff line change
@@ -75,6 +75,7 @@ type LagoonBuildReconciler struct {
LagoonFeatureFlags map[string]string
LagoonAPIConfiguration helpers.LagoonAPIConfiguration
ProxyConfig ProxyConfig
UnauthenticatedRegistry string
}

// BackupConfig holds all the backup configuration settings
2 changes: 1 addition & 1 deletion controllers/v1beta2/build_helpers.go
Original file line number Diff line number Diff line change
@@ -508,7 +508,7 @@ func (r *LagoonBuildReconciler) processBuild(ctx context.Context, opLog logr.Log
})
podEnvs = append(podEnvs, corev1.EnvVar{
Name: "REGISTRY",
Value: lagoonBuild.Spec.Project.Registry,
Value: r.UnauthenticatedRegistry,
})
// this is enabled by default for now
// eventually will be disabled by default because support for the generation/modification of this will
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -924,6 +924,7 @@ func main() {
HTTPSProxy: httpsProxy,
NoProxy: noProxy,
},
UnauthenticatedRegistry: unauthenticatedRegistry,
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "LagoonBuild")
os.Exit(1)