-
Notifications
You must be signed in to change notification settings - Fork 49
Implement MVP for content repos #281
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
Open
schnatterer
wants to merge
10
commits into
main
Choose a base branch
from
feature/contentRepos
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
704ed42
to
e7d1dae
Compare
src/main/groovy/com/cloudogu/gitops/config/ConfigConstants.groovy
Outdated
Show resolved
Hide resolved
352fe53
to
adffe7c
Compare
Migrate from AirGappedUtils for reuse in Content. Unfortunately, even though an SCM abstraction is right around the corner, it is not there, yet. So I'll have to continue making SCM-Manager-only implementations, that require refactoring soon 😐️
For future re-use
Start removing unused templating params in ArgoCD.groovy. For better UX in content repo templating, these will all have to go!
Creates image pull secrets and adds to config.activeNamespaces that are used for Prometheus, for example. Also makes ArgoCD.groovy use config.application.activeNamespaces as NS list, instead of using hard-coded list. This allows for only creating the namespaces that are active and also adding dynamic NS via config.content.namespaces.
…tory create tests for INIT, UPDATE and RESET behavior
Co-authored-by: Thomas <thomas@thomasmichael.de>
5f95b26
to
9b7862a
Compare
1bf2b9d
to
307ee31
Compare
fix empty petclinic, fix switch remote branch
Add skipPlugins and skipRestart flags for Jenkins and SCM-Manager. - Update config schema and CLI options - Add env var support to feature classes - Skip plugin install and restart in init scripts - Extract SCM plugin install logic to installScmmPlugins - Add tests to verify skipping behavior Co-authored-by: Johannes Schnatterer <johannes.schnatterer@cloudogu.com>
This is the right thing to do in regard to GOP modularity. It also reduces the risk of running into this notorious error: java.lang.RuntimeException: Cannot enable authentication for prometheus: groovy.lang.MissingPropertyException: No such property: PrometheusConfiguration for class: Script1 Caused by running the Config Script on Jenkins that fails because the Prometheus APIs are missing there.
* feat: add multi-tenancy support for argocd-operator - Template service account and resource namespaces using `namePrefix` - Add batch/Job permissions to all RBAC roles - Set argocd.yaml `.spec.server.insecure` when `--insecure` is enabled - Conditionally generate ingress.yaml for insecure mode (non-OpenShift), because argocd-operator always enforces https - Include `batch/Job` in resourceInclusions for operator CR - Prevent creation of empty rendered files when templates are fully conditional - Add tests covering all new conditional and templated logic * feat: add multi-tenancy support for argocd-operator - Cast doc and metadata to Map to satisfy Groovy static type checking - Ensure metadata.namespace is treated as String for AssertJ compatibility --------- Co-authored-by: Niklas Hußmann <niklas.hussmann-extern@cloudogu.com>
1ef8dd8
to
3944c76
Compare
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.
Provide
content.repos
in config that allows for configuring additional repos into GOP.This allows for
In the long run, we can remove our hard-coded example apps from the content and make them into a configuration.