[go: nahoru, domu]

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: removed inception dependency for installation. #3228

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

jatin-jangir
Copy link
Contributor

Description

Fixes #

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@jatin-jangir jatin-jangir changed the title Remove-kubewatch feat: removed inception dependency for installation. Apr 3, 2023
@sonarcloud
Copy link
sonarcloud bot commented Apr 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

- name: PG_PASSWORD
valueFrom:
secretKeyRef:
name: {{ $.Values.lens.dbconfig.secretName }}
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be gitsensor.dbconfig

terminationGracePeriodSeconds: 120
containers:
- name: nats
image: nats:2.9.3-alpine
Copy link
Contributor

Choose a reason for hiding this comment

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

Drive this image from values.yaml

Copy link
Contributor

Choose a reason for hiding this comment

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

Remove these charts

Copy link
Contributor

Choose a reason for hiding this comment

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

Chart.lock file shouldn't be commited

@@ -8,20 +8,21 @@ global:
runAsUser: 1000
runAsNonRoot: true
installer:
repo: "devtron-labs/devtron"
repo: "jatin-jangir/devtron"
Copy link
Contributor

Choose a reason for hiding this comment

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

change it back to devtron-labs

# For Kubernetes version < 1.16, set release: legacy. You won't be able to upgrade Devtron unless you upgrade the K8s version to 1.16 or above.
release: "v0.6.14" #You can use a branch name or a release tag name as a release, for gitee as source only "main" is supported as of now
release: "remove-kubewatch" #You can use a branch name or a release tag name as a release, for gitee as source only "main" is supported as of now
Copy link
Contributor

Choose a reason for hiding this comment

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

Same goes here - change it back

image: quay.io/devtron/inception
tag: 44b30917-185-13275
source: "github" # Available options are github and gitee
# mode: "dashboard" # Available options are dashboard, full and hyperion (deprecated) NOT USING THIS
modules: [] # Available options are cicd
modules:
- "cicd" # Available options are cicd
Copy link
Contributor

Choose a reason for hiding this comment

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

Do not add any modules by default

production_overrides: "" # Set true if you want to use this Devtron stack in Production (This will require more resources)

# Change the below values for full mode only

#Use secrets in plaintext, they'll be encoded to base64 automatically.
secrets: {}
secrets:
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change is required?

@@ -277,7 +292,7 @@ security:
fullnameOverride: clair
# Values for notifier integration
notifier:
enabled: false
enabled: true
Copy link
Contributor

Choose a reason for hiding this comment

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

don't enable it by default

secretName: postgresql-postgresql
keyName: postgresql-password

gitsensor:
Copy link
Contributor

Choose a reason for hiding this comment

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

take it inside components

@@ -4,4 +4,4 @@ metadata:
name: installer-devtron
namespace: devtroncd
spec:
url: https://raw.githubusercontent.com/devtron-labs/devtron/v0.6.14/manifests/installation-script
url: https://raw.githubusercontent.com/jatin-jangir/devtron/remove-kubewatch/manifests/installation-script
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert these changes too

COMMIT_STATS_TIMEOUT_IN_SEC: "2"
dbconfig:
secretName: postgresql-postgresql
keyName: postgresql-password
Copy link
Contributor

Choose a reason for hiding this comment

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

Expose persistent size in values.yaml and keep it 2Gi as default

name: postgresql-migrator
{{- if $.Values.components.migrator.gitsensor }}
{{- if $.Values.components.migrator.gitsensor.initContainer }}
{{- if $.Values.components.migrator.gitsensor.initContainer.resources }}
Copy link
Contributor

Choose a reason for hiding this comment

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

There's no init container in lens and gitsensor, please fix

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.

None yet

2 participants