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: remove cert-manager as dependency & support HTTP/HTTPs endpoints #88

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

mmanciop
Copy link
Member

@mmanciop mmanciop commented Aug 9, 2024

Use a self-signed certificate for the injector webhook, removing the need of cert-manager as dependency.

@mmanciop mmanciop force-pushed the no-cert-manager branch 4 times, most recently from 18136a4 to 8a600d6 Compare August 9, 2024 14:48
seccompProfile:
type: RuntimeDefault
serviceAccountName: {{ template "dash0-operator.serviceAccountName" . }}
automountServiceAccountToken: true

Check warning

Code scanning / SonarCloud

Service account tokens should not be mounted in pods

<!--SONAR_ISSUE_KEY:AZE2fkYutknOoehhXD73-->Set automountServiceAccountToken to false for this specification of kind Deployment. <p>See more on <a href="https://sonarcloud.io/project/issues?id=dash0hq_dash0-operator&issues=AZE2fkYutknOoehhXD73&open=AZE2fkYutknOoehhXD73&pullRequest=88">SonarCloud</a></p>

RUN apk add --update make git && apk cache clean

ADD ./src /src

Check notice

Code scanning / SonarCloud

Prefer COPY over ADD for copying local resources

<!--SONAR_ISSUE_KEY:AZFC3ubyb3oLEiw4fNll-->Replace this ADD instruction with a COPY instruction. <p>See more on <a href="https://sonarcloud.io/project/issues?id=dash0hq_dash0-operator&issues=AZFC3ubyb3oLEiw4fNll&open=AZFC3ubyb3oLEiw4fNll&pullRequest=88">SonarCloud</a></p>
README.md Outdated Show resolved Hide resolved
api/dash0monitoring/v1alpha1/dash0monitoring_types.go Outdated Show resolved Hide resolved
test-resources/bin/util Show resolved Hide resolved
test/e2e/e2e_helpers.go Show resolved Hide resolved
Copy link
Member

@basti1302 basti1302 left a comment

Choose a reason for hiding this comment

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

Nice stuff! 🎉

test-resources/bin/render-templates.sh Outdated Show resolved Hide resolved
test/e2e/dash0monitoring.token.yaml.template Outdated Show resolved Hide resolved
@basti1302 basti1302 changed the title feat: remove cert-manager as dependency feat: remove cert-manager as dependency & support HTTP/HTTPs endpoints Aug 13, 2024
@basti1302 basti1302 force-pushed the no-cert-manager branch 2 times, most recently from 214c46b to a679edd Compare August 13, 2024 11:54
Also:
* remove e2e custom logic in operator
* introduce otlp-sink to validate telemetry in e2e
Copy link

sonarcloud bot commented Aug 13, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
2 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@basti1302 basti1302 enabled auto-merge (rebase) August 13, 2024 12:02
@basti1302 basti1302 merged commit 59deca8 into main Aug 13, 2024
8 checks passed
@basti1302 basti1302 deleted the no-cert-manager branch August 13, 2024 12:04
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