-
Notifications
You must be signed in to change notification settings - Fork 43
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
ARO-10633 | Add ARM Helper Indentity supporting properties #695
base: main
Are you sure you want to change the base?
Conversation
9ae10ca
to
8f001cb
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.
I saw some things that can be changed
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
2754c66
to
4b8728b
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.
The arm cert aro-dev-arm-helper
doesn't exist in the keyvault.
4b8728b
to
51fe1c8
Compare
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
51fe1c8
to
c9eacba
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.
In the deploy-integ
of the Makefile target it is missing the ARM_HELPER_IDENTITY_CERT_NAME.
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
cluster-service/deploy/openshift-templates/arohcp-service-template.yml
Outdated
Show resolved
Hide resolved
c9eacba
to
d414db5
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.
This looks good now 😄
Have you deployed it? It will require the changes in CS https://gitlab.cee.redhat.com/service/uhc-clusters-service/-/merge_requests/8715#c1d3677ee87cc3a195920969d2b562701064aed4
Please rebase pull request. |
d414db5
to
3f8669c
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.
LGTM!
Chetan and I tested that the arm-helper-cert was stored in /secrets/arm-indentity
.
After merging the CS MR (910676a), tested again with the latest CS tag and CS could be deployed on svc cluster with pods running as expected. |
3f8669c
to
d14c43f
Compare
Signed-off-by: Chetan Giradkar <[email protected]>
d14c43f
to
e7d370d
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.
Assuming this relates to https://issues.redhat.com/browse/ARO-10633 ? The work seems good. Can we replace hard-coded CLIENT_ID values with lookups?
AZURE_FIRST_PARTY_APPLICATION_CLIENT_ID ?= "57e54810-3138-4f38-bd3b-29cb33f4c358" | ||
AZURE_ARM_HELPER_IDENTITY_CLIENT_ID ?= "2c6ca254-36bd-43c8-a7a8-fe880bc2c489" |
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.
While not the end of the world, we should probably replace both of these hard-coded values with lookups instead similar to other places in our Makefiles, it seems the convention is:
SOME_CLIENT_ID ?= $(shell az identity show \
-g ${RESOURCEGROUP} \
-n SOME_CLIENT_NAME \
--query clientId)
This will improve our security posture and make our automation resilient to turnover of these IDs in the event they are rotated for whatever reason.
Variable lookup support will land soon for ARO HCP infra and service deployments. |
Please rebase pull request. |
What this PR does
Jira:
Link to demo recording:
Special notes for your reviewer