-
Notifications
You must be signed in to change notification settings - Fork 33
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
cert manager update #679
cert manager update #679
Conversation
Can one of the admins verify this patch? |
@@ -47,6 +47,14 @@ spec: | |||
env: | |||
# *_NAMESPACE and *_NAME environment variables are recognized by onos-lib-go utilities. | |||
# These variables should always be defined. | |||
- name: GRPC_GO_LOG_VERBOSITY_LEVEL |
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.
what loggers are these? log levels for onos-config and onos-topo can be controlled from the values in the helm chart.
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 would suggest to remove them to avoid confusion with our loggers.
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.
added the logs under flag.
6725756
to
d4a177b
Compare
onos-umbrella/Chart.yaml
Outdated
@@ -17,6 +17,11 @@ maintainers: | |||
- name: ONOS Support | |||
email: support@opennetworking.org | |||
dependencies: | |||
- name: ca-issuer-charts | |||
condition: import.ca-issuer.enabled | |||
#intel-innersource/frameworks.edge.one-intel-edge.maestro-app.roc.rocaas-charts/ca-issuer-charts |
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.
We should remove the intel inner source thing
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.
done
onos-config/values.yaml
Outdated
@@ -108,6 +117,12 @@ logging: | |||
output: | |||
stdout: | |||
sink: stdout | |||
grpc: |
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.
We should not add it here. It should be separate. We use a specific format for internal loggers and grpc stuff is not part of that
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.
done
onos-config/templates/secret.yaml
Outdated
namespace: {{.Values.certManager.namespace}} | ||
spec: | ||
dnsNames: | ||
- certs.oie.intel.com |
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 remove any references to intel stuff.
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.
done
386b6f9
to
328cbc0
Compare
328cbc0
to
e5aa4d5
Compare
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.
bump version of onos-config and onos-umbrella chart
d5b298d
to
fa604d9
Compare
fa604d9
to
abdf7fd
Compare
updated. |
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.
A few comments included, but otherwise looks good.
It can't work with onos-umbrella
as there's no issuer here - that can be added at a later date if required
onos-config/values.yaml
Outdated
@@ -24,6 +24,22 @@ global: | |||
|
|||
replicaCount: 1 | |||
|
|||
grpc: |
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 think this should have logging
in it somewhere - you're not enabling grpc
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.
done
onos-topo/values.yaml
Outdated
@@ -19,6 +19,22 @@ global: | |||
|
|||
replicaCount: 1 | |||
|
|||
grpc: |
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.
same comment - should include logging
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.
done
onos-topo/values.yaml
Outdated
certManager: | ||
enabled: false | ||
name: onos-topo-cert | ||
namespace: rocaas |
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.
remove this namespace
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.
done
onos-topo/templates/secret.yaml
Outdated
kind: Certificate | ||
metadata: | ||
name: {{.Values.certManager.name}} | ||
namespace: {{.Values.certManager.namespace}} |
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.
Should be .Release.namespace
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.
done
onos-config/templates/secret.yaml
Outdated
kind: Certificate | ||
metadata: | ||
name: {{.Values.certManager.name}} | ||
namespace: {{.Values.certManager.namespace}} |
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.
should be .Release.namespace
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.
done
onos-config/values.yaml
Outdated
certManager: | ||
enabled: false | ||
name: onos-config-cert | ||
namespace: rocaas |
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.
remove this namespace
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.
done
enabled: false | ||
name: onos-config-cert | ||
namespace: rocaas | ||
secretName: onos-config-secret |
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.
the actual secrets are getting a generated name like
onos-config-cert-qkppl Opaque 1 25m
onos-topo-cert-x7c5k Opaque 1 25m
and so don't match up with what's here
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.
this would happen if the cert manager is not used to generate certificate.
6af754a
to
1261539
Compare
1261539
to
e9f5666
Compare
retest this please |
Adding the closing `{{- end }}`
retest this please |
No description provided.