-
Notifications
You must be signed in to change notification settings - Fork 66
Added CRD controller #115
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
Added CRD controller #115
Conversation
|
To test the CRD:
|
src/crd-controller/HealthChecks/KubernetesPermissionsHelthCheck.cs
Outdated
Show resolved
Hide resolved
| public Dictionary<string, string> Data { get; set; } | ||
| public string Type { get; set; } | ||
| public V1ObjectMeta Metadata { get; set; } | ||
| public string ServiceAccount { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't that an issue where the property names are capitalized here and camel cased in the KamusSecret k8s object (in the docs)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It worked, I'm not 100% sure why 🤷♂️
| <PackageReference Include="KubernetesClient" Version="1.5.1-g60ffd20a7c" /> | ||
| <PackageReference Include="System.Net.Http" Version="4.3.3" /> | ||
| <PackageReference Include="App.Metrics.AspNetCore.Mvc" Version="2.0.0" /> | ||
| <PackageReference Include="App.Metrics.Formatters.Prometheus" Version="2.0.0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update both AppMetrics packages to version 3 for newest Prometheus support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will!
shaikatz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow amazing job, that feature will open cool use cases for kamus, storing native k8s secrets but in a GitOps way!
Oh, left some small comments.
|
Cool, thanks! Just left to fight the build :) |
Co-Authored-By: omerlh <omerlh@users.noreply.github.com>
Co-Authored-By: omerlh <omerlh@users.noreply.github.com>
shaikatz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🤞
This is a very first MVP version of the CRD. Currently, only create and delete are supported.
In order to finish this task we need:
Want to give it a try? You can build the images locally, and use
crd.yamlandtls.yamlto test it out.close #13