Created
August 24, 2018 07:12
-
-
Save cy4n/8f9e319b7e0c11233cde2467860fd3ca to your computer and use it in GitHub Desktop.
this might break spring security depending on externalized configuration order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: helloproperties | |
data: | |
application.yml: | | |
management: | |
endpoints: | |
web: | |
exposure: | |
include: health,info,configprops | |
spring: | |
security: | |
user: | |
roles: ACTUATOR | |
# user: | |
# password: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
commenting out the user/password broke my spring security demo in the kubernetes talk at MAJUG.
although the configprops actuator showed the "correct" username and pass from environment variables, the login prompt never showed (sorry :-) )