Skip to content

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

schnatterer
Copy link
Member

No description provided.

@schnatterer schnatterer force-pushed the feature/contentRepos branch from eacf2d6 to 704ed42 Compare June 4, 2025 10:55
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 😐️
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.
@schnatterer schnatterer force-pushed the feature/contentRepos branch from 704ed42 to e7d1dae Compare June 5, 2025 16:27
@@ -29,6 +29,16 @@ interface ConfigConstants {

// Content
String CONTENT_EXAMPLES_DESCRIPTION = 'Deploy example content: source repos, GitOps repos, Jenkins Job, Argo CD apps/project'
String CONTENT_NAMESPACES_DESCRIPTION = 'Additional kubernetes namespaces. These are authorized to Argo CD, supplied with image pull secrets, monitored by prometheus, etc. Namespaces can be templates, e.g. ${config.application.namePrefix}staging}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Suggested change
String CONTENT_NAMESPACES_DESCRIPTION = 'Additional kubernetes namespaces. These are authorized to Argo CD, supplied with image pull secrets, monitored by prometheus, etc. Namespaces can be templates, e.g. ${config.application.namePrefix}staging}'
String CONTENT_NAMESPACES_DESCRIPTION = 'Additional kubernetes namespaces. These are authorized to Argo CD, supplied with image pull secrets, monitored by prometheus, etc. Namespaces can be templates, e.g. ${config.application.namePrefix}staging'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants