* Add disk based KeyManager
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
* Change disk to false
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
* Change disk to false
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
* Fix per requirement
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
* Update information
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
* Detail doc
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
* Test change comment
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
* Commnet better before
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
---------
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Add aws_iid
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Change to awsIid
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Change to awsIid
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* update helm
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Change to awsIID
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Change to awsIID
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Change to awsIID
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Change to awsIID
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Change to awsIID
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Change to awsIID
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* add signed off
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* Add doc
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* remove not used config
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* remove not used config
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
* add example awsiid
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
---------
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
This reduces the footprint for this initContainer to just 4.04MB.
The cgr.dev/chainguard/bash image is 35.2MB in size.
I have used the same tag as the busybox value to ensure no additional
versions have to be pulled on the node running spire-server components.
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
To have an always up to date kubectl image it is probably better to get kubectl from registry.k8s.io
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
* Update to Tornjak 2.1.0
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
* Address comments
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
* Fix Tornjak tests
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
* revert namespace change
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
---------
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
* Update for 1.12.3
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix typo. Use test image
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix lint
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix format flag. Update config location for k8s configmap bp
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix role
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update rbac
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix key
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix format
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix the bundle format for the fetchca bits
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update key
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test rather then reconfigure
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add namespace
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update to follow the new patch
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update filename based on format
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add upgrade notes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Enable running the oidc discovery provider without cluster-admin/CSI
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Calm lint
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Switch to testing nightly. Dont manage bundle configmap.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update permissions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update permissions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update permissions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for final release
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for final 1.12.4 release
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Update for 1.12.3
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix typo. Use test image
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix lint
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix format flag. Update config location for k8s configmap bp
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix role
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update rbac
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix key
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix format
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix the bundle format for the fetchca bits
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update key
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test rather then reconfigure
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add namespace
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update to follow the new patch
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update filename based on format
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add upgrade notes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Switch to testing nightly. Dont manage bundle configmap.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update permissions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update permissions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update permissions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for final release
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Initial spike support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix lint and docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update spike to 0.4.1
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for multiarch
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix values and docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Pull in changes from Volkan
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix service
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Typo fix
Signed-off-by: Volkan Özçelik <me@volkan.io>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: Volkan Özçelik <me@volkan.io>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Volkan Özçelik <me@volkan.io>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add spire-credentialcomposer-cel support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Bump version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Word smithing
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
* Fix typo
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
* Remove unneccesary dash
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
---------
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
* 1169dd5 Update spire-controller-manager to 0.6.2 and add its staticManifest support (#563)
* 4dee6ca Fix invalid image name for digest in template function of `spire-lib` (#569)
* ed9fb6a Bump test chart dependencies (#566)
* 912f412 Update tpm plugin version (#564)
* 0fc00cb Bump test chart dependencies (#561)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* Update spire-controller-manager to 0.6.2 and add its staticManifest support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix indent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update spire to 1.11.2
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix doc
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix bitnami chart dependencies
There have been problems with the old style bitami repo. Bitnami is
suggesting users switch to oci for their charts.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix repos
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix repos
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix updater script
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Initial prototype of spire-step-ssh integration
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Ingress work, image cleanup and misc cleanup
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More values rework
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Rename chart spiffe-step-ssh
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update to use shared lib
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update spiffe-helper
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use URLSAN rather then CN
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Lookup the sans.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make trust domain configurable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add flag
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make driver configurable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add more configurables. Fix up docs to pass test.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add some metadata
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix metadata
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add default values for lint
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Forgot values updates
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix metadata
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Start working on integration test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix names
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More test bits
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More test bits
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More test bits
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More test bits
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More test bits
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More test bits
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fixes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fixes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fixes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix name conflict. Align naming
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix name
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add more logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Disable unneeded test. Add missing file.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Setup more things
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing conf file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix multiple svids
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix ci defaults
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix filename
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try and get the linter to stop complaining...
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix perms
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More logs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More setup
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fixes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fixes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add wait
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Test ssh
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Restart fetchca on updates too
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formating
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing file flag
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Increase timeout
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More flags
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix name
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Finish end to end test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix ingress setting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More logging/tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More testing
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix namespace
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fetch correct bundle
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Chart testing will fail as it depends on spire to be preinstalled. Weird dependency loop.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Dont skip tls for testing
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More debug
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More debug
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Pass intermediates
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix trustdomain
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add ca authority prefix
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* fix
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* fix
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* fix
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* ci test is just broken. Revert trying to fix it.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spiffe-step-ssh/files/ssh_x5c.tpl
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Self review feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Switch ingress to our more functional/easy type
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Simplify the template
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add cast
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add install notes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update tests for updated client
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logging and entry
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix file location
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update timeout
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix filename
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix perms
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spiffe-step-ssh/README.md
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
The GCS Bundle endpoint configuration was pointing to the S3 Format variable instead of the GCS one.
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
* 13736cd Add support for the new hint spire-controller-manager feature (#472)
* 01c7227 Add support for the new fallback spire-controller-manager feature (#471)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* Add validating admission policy to restrict upstream driver access
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spiffe-csi-driver/templates/policy.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix logic
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Upgrade helm
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Upgrade kind and fix node version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Upgrade kind and fix node version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Upgrade kind and fix node version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Upgrade kind and fix node version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add version info
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add version info
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix kind version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix kind version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix kind version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix detection
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Just for testing...
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Just for testing...
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Just for testing
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix policy
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix policy
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix policy
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spiffe-csi-driver/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add support for the new hint spire-controller-manager feature
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Agent support for bundle on host path
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add support for the new fallback spire-controller-manager feature
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Support federation bundle endpoint profile http_web certificates
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix key
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add remaining data store options
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix env var
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add aws db types
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/README.md
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update charts/spire/README.md
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix mysql vars
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing )
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix readme
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
* Align more settings to convention
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add an initial json schema file for spire-agent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tab
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* 7df063f Upgrade SPIRE to 1.10.3 (#412)
* de5ec47 Bump test chart dependencies (#445)
* e72b94f Add all built in BundlePublishers (#430)
* 532852d Bump test chart dependencies (#440)
* 6e8ad56 Add a spire-agent auto kubelet verification mode (#435)
* 50c741e Remove extra check that sometimes breaks oidc (#437)
* e062b9f Support ipv4 only clusters (#434)
* b96e07e Enable more forms of kubelet certificate verification (#426)
* f92d729 Add missing properties required by SecurityContextConstraints CRD (#432)
* 8553a78 Bump test chart dependencies (#431)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* Add all built in BundlePublishers
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add secret management
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add a spire-agent auto kubelet verification mode
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix delayed ingress startup in tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix lint
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Support ipv4 only clusters
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spiffe-oidc-discovery-provider/templates/configmap.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* 9b2d72f Fix permission issue with 1.10 and defaults when upgraded (#423)
* 827a3ea Bump spire to 1.10.1 (#424)
* 0289e5f Revert "Added support for specifying Kubelet CA Path (#415)" (#422)
* bf40797 Bump test chart dependencies (#418)
* abcf019 Added support for specifying Kubelet CA Path (#415)
* 6d4d526 Allow configuring persistence in the spire-agent (#414)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* Fix permission issue with 1.10 and defaults when upgraded
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix indenting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Allow configuring persistence in the spire-agent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Better wording. Leave space for other services if needed some day.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update to SPIRE 1.10.0
Remove the options that were removed in 1.10, and update.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix uid mismatch issue on 1.10.0+
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
When setting the kubeletConnectByHostname to "true", the charts update the agent daemonset to define the MY_NODE_NAME environment variable, but it doesn't set the "node_name_env" setting in the WorkloadAttestor:k8s plugin, therefore the agent continues trying to connect to the kubelet using the localhost interface
Signed-off-by: tuxotron <tuxotron@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Add resource limits for upgrade and delete hook batch jobs
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Fix value of resource
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Fix resource limit in server template
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up doc comment
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump test chart dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Remove workaround as they fixed curl
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix upstream ca name suffix issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix quoting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Complete Server K8S PSAT support
Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add basic psat test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix linter
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Better encode config
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add external k8s bundler
Adds support to sync the CA bundle to configmaps in external
Kubernetes clusters
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update default
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix config file layout. Incorperate feedback.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update based on parent pr feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Reformat config file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix some things
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Reconfigure kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More debugging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add external spire-controller-managers
Only one external controller manager is supported at a time until
https://github.com/spiffe/spire/issues/4898 is resolved.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add Entry ID Prefix support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Mulitcluster test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Implement cleanup setting too
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make spire-lib bits into its own library chart.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add spire-nested chart
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix lint issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add nameOverride option
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Simplify upstream config. Reorder test for faster executation
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Enable service account allow list to calculate namespace
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add identity type for child servers
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Enable name override setting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix printing
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix name length issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Switch to non cluster-admin user
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Test out adding roles
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Namespace needs to exist
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove tty
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix name
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing role
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add kind=none to not require extra objects
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove unneeded code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add security cluster example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Dont preinstall crds for nested-security
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix address
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update port
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update psat setting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update psat setting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove older tests that newer tests cover
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix kind logic
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Seems unneeded. Try and remove
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update the default ports to be more user friendly
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* See if we can leave controller manager port alone
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Change the agent default port too
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Bump up test container
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Swith to testing with nightly
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix value name
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Upgrade to spire-controller-manager 0.5.0
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try to isolate config differences just to child cluster
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for released 0.5.0
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Merge in some of the id prefix pr
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Entry ID Prefix (#287)
* Add Entry ID Prefix support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Mulitcluster test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Implement cleanup setting too
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Bump up test container
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Swith to testing with nightly
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix value name
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix up doc formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Revert notes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use tags for nested chart
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing tag
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix class name
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback. Switch setting to be externalServer.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update nested chart to use new setting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add docs about which sections are used with which tags
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update versions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Check for a misconfiguration of bundle endpoint profiles
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/templates/configmap.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
When both federation certificates and upstream authority both
use cert-manager, there is a naming conflict.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Complete Server K8S PSAT support
Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add basic psat test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix linter
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Better encode config
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add external k8s bundler
Adds support to sync the CA bundle to configmaps in external
Kubernetes clusters
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update default
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix config file layout. Incorperate feedback.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update based on parent pr feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Reformat config file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix some things
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Reconfigure kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More debugging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add external spire-controller-managers
Only one external controller manager is supported at a time until
https://github.com/spiffe/spire/issues/4898 is resolved.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Upgrade to spire-controller-manager 0.5.0
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for released 0.5.0
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Merge in some of the id prefix pr
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Entry ID Prefix (#287)
* Add Entry ID Prefix support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Mulitcluster test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Implement cleanup setting too
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Bump up test container
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Swith to testing with nightly
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix value name
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix up doc formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add spire-lib chart
Make spire-lib bits into its own library chart.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Move notes back
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix NOTES
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Changes the default service port for the spire-server to 443 to allow easier switching between internal access and external access through an ingress controller.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Upgrade to spire-controller-manager 0.5.0
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for released 0.5.0
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up doc formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update spire-controller-manager to 0.4.4
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
When you have multiple spire servers, they often all need to be
configured to use the same storage class. Let them all be set
to the same value all at once.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* nameOverride autoconfig support
When setting up nested charts with nameOverride, you need to
be able to inform other charts about the override.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Bump test chart dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Revert bash image that breaks tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
When installing with nodeAttestor.k8sPsat.enabled=false and no
kubeConfig yet or with .Values.notifier.k8sbundle.enabled=false and no
kubeConfig yet, it produces a bad config file.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Bump spire Helm Chart version from 0.18.1 to 0.18.2
* fd3b7d5 Fix duplicate securityContext section in spire-agent (#279)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Add spire-server as deployment
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Add stateless-server example
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update README.md to add deploymentType
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Set hpa type based on deploymentType
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Change deploymentType values to lowercase in README
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update readme for stateless-server
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Revert README changes
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update readme for deploymentType
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Failure handling only when deployment type checked
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Fix issue with tests not running on automated PRs (#266)
* Use github app for version checker
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* Use full version
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
---------
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump test chart dependencies (#282)
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#283)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2)
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Complete Server K8S PSAT support (#242)
* Complete Server K8S PSAT support
Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add basic psat test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix linter
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Better encode config
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update default
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix config file layout. Incorperate feedback.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Add external k8s bundler (#270)
* Complete Server K8S PSAT support
Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add basic psat test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix linter
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Better encode config
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add external k8s bundler
Adds support to sync the CA bundle to configmaps in external
Kubernetes clusters
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update default
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix config file layout. Incorperate feedback.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update based on parent pr feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Reformat config file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix some things
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Reconfigure kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More debugging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump helm.sh/helm/v3 from 3.14.2 to 3.14.3 in /tests (#285)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.14.2 to 3.14.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.14.2...v3.14.3)
---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump docker/login-action from 3.0.0 to 3.1.0 (#286)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v3.1.0)
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump test chart dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump github.com/onsi/gomega from 1.31.1 to 1.32.0 in /tests (#291)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0)
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.0 in /tests (#292)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.16.0...v2.17.0)
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update examples/stateless-server/README.md
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update charts/spire/charts/spire-server/templates/hpa.yaml
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update examples/stateless-server/README.md
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update examples/stateless-server/README.md
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Move spire-server pod spec to _pod_spec
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Support hybrid nodes with different attestors or config (#218)
* Add direct tpm support for spire-agent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add fingerprinting support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/templates/configmap.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Support hybrid nodes with different attestors
In some clusters, you may have a mix of nodes with differing attestor
needs. For example, some nodes have hardware TPMs and some without.
This patch enables configuring multiple daemonsets for the agent
that you can target to pools of nodes.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove extra slash
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/templates/configmap.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix broken tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add daemonset labels
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add temporary upgrade hook
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix include
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing values
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix perms, add upgrade note
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix hardcoded nodeAttestor and keyManager in spire-agent
Fixes: https://github.com/spiffe/helm-charts-hardened/issues/220
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issues
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix unit tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Pass the agent's securityContext on to Kubernetes
Currently its ignored.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update example to be usable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update to the newest release
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix version numbers in docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove merge conflicted extra code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Change production example to be an integration test (#237)
* Change production example to be an integration test
The documentation is a better example then the test now. Separate the
two.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix job name reference
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix job name reference
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update postgresql example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update mysql example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update nested and mysql
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try folding example your values into bash so that its not laying around in an fs for a user to accidently use.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Cleanup
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Remove production values reference
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update charts/spire/charts/spire-server/templates/pre-delete-hook.yaml
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Update examples/stateless-server/run-tests.sh
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump spire Helm Chart version from 0.18.2 to 0.19.0
* 72768ec Support hybrid nodes with different attestors or config (#218)
* 5299642 Bump test chart dependencies
* 36e9315 Add external k8s bundler (#270)
* ef610df Complete Server K8S PSAT support (#242)
* d96271c Bump test chart dependencies (#282)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Fix production test (#297)
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump test chart dependencies (#299)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1 in /tests (#298)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.17.0...v2.17.1)
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Fix documentation issue (#300)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Move statefulset and deployment to server-resource
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
* Change deploymentType to kind
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
---------
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: aniket patel <aniket.patel@thetradedesk.com>
Co-authored-by: spire-helm-version-checker[bot] <161522935+spire-helm-version-checker[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Change production example to be an integration test
The documentation is a better example then the test now. Separate the
two.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix job name reference
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix job name reference
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update postgresql example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update mysql example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update nested and mysql
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try folding example your values into bash so that its not laying around in an fs for a user to accidently use.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Cleanup
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add direct tpm support for spire-agent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add fingerprinting support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/templates/configmap.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Support hybrid nodes with different attestors
In some clusters, you may have a mix of nodes with differing attestor
needs. For example, some nodes have hardware TPMs and some without.
This patch enables configuring multiple daemonsets for the agent
that you can target to pools of nodes.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove extra slash
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/templates/configmap.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix broken tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add daemonset labels
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add temporary upgrade hook
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix include
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing values
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix perms, add upgrade note
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix hardcoded nodeAttestor and keyManager in spire-agent
Fixes: https://github.com/spiffe/helm-charts-hardened/issues/220
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issues
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix unit tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Pass the agent's securityContext on to Kubernetes
Currently its ignored.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update example to be usable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update to the newest release
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix version numbers in docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove merge conflicted extra code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Complete Server K8S PSAT support
Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add basic psat test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix linter
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Better encode config
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add external k8s bundler
Adds support to sync the CA bundle to configmaps in external
Kubernetes clusters
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update default
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix config file layout. Incorperate feedback.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update based on parent pr feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Reformat config file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix some things
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Reconfigure kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More debugging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Complete Server K8S PSAT support
Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add basic psat test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix linter
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Better encode config
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update default
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix config file layout. Incorperate feedback.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up kind
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Use github app for version checker
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* Use full version
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
---------
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
A duplicate section was added due to incorrect merge conflict resolution.
Helm seems ok with it but Kustomize + FluxCD has issues with it.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* beda725 Add pod labels to the SPIRE agent (#273)
* 077f152 Bump test chart dependencies (#272)
* 5849ea2 add pod labels to spire server values (#271)
* f512b06 Configurable daemonsets updateStrategy (#212)
* a539065 Add direct tpm support for spire-agent (#216)
* fcd0c11 Add direct tpm support for spire-server (#211)
* c570174 Enable CA settings via global (#268)
* ac83694 Initial SPIRE 1.9.0 support (#262)
* ddb4eff Bump test chart dependencies (#263)
* bfbafbc Fix OpenShift Federation Ingress bug (#260)
* a0baace Upgrade to spire-controller-manager 0.4.3 (#258)
* 1446f7e Add support for specifying agent authorized_delegates (#255)
* 0b6cd88 Add support for specifying server admin_ids (#254)
* 07a1c39 Add global override for kubectl tag (#251)
* b82a84d Bump test chart dependencies (#252)
* 7a1e731 Bump test chart dependencies (#246)
* a706063 make audit_log_enabled configurable (#241)
* 34a39cb Added emptyDir volume to spire-agent SCC (#243)
* a2e5a4e Add support for enabling the spire-agent admin socket (#234)
* febdcbf Fix whitespace in spire-agent daemonset
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* add pod labels to spire server values
The reason for this change is to be able to integrate spire with Azure
Workload Idenity. To enable this, a label of `azure.workload.identity/use: "true"` needs
to be added to the pods metadata.
https://learn.microsoft.com/en-us/azure/aks/learn/tutorial-kubernetes-workload-identity#deploy-the-workload
Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>
* trim whitespace from podLabels
Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>
---------
Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>
* Configure daemonsets updateStrategy
This allows more deamonset pods to be rotated in the same time. This speeds up the updates
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add direct tpm support for spire-agent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add fingerprinting support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/templates/configmap.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/templates/configmap.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix broken tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix hardcoded nodeAttestor and keyManager in spire-agent
Fixes: https://github.com/spiffe/helm-charts-hardened/issues/220
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issues
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix unit tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Pass the agent's securityContext on to Kubernetes
Currently its ignored.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update example to be usable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update to the newest release
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add direct tpm support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add agent support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing condition
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing condition
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove agent bits from this pr
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Plugin needs to write to /tmp
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tmp mount
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make it possible to manage cas/hashes via values
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update to the newest release
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Adds a global.spire.caSubject section where you can set the CA
subject information for all spire-server instances.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for specifying agent authorized_delegates
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/values.yaml
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add support for specifying server admin_ids
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/templates/configmap.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add support for integration tests in the tests/integration dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix split issue and typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add example for using Spire for mTLS with Keycloak
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
* Minor improvement to the README.md
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
* But I still need to learn GitHub Markdown format
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
* Make it more obvious that it works without a (correct) password
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
* Add warning for Kubernetes 1.29+ feature
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
* Move ghostunnel into an initContainer with restartPolicy=Always
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
* Apply suggestions from code review
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
* Move java-spiffe-helper-properties into extraDeploy of the Keycloak chart and pin node version to it has a matching rancher/kubectl image
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
---------
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Add support for enabling the spire-agent admin socket
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update permissions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update permissions
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix template
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update upstream agent too
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix init issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Refactor a bit to make things more automatic
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Add alternate name support for the socket
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing image reference
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make user changing socket work smoothly.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-agent/values.yaml
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add example of mysql using spire
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Finish up the implementation
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update the image
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update. Restested.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Add missing upgrade test bypass
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Too many iterations. Update comment.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* d547532 Pass the agent's securityContext on to Kubernetes (#225)
* 6b03d5a Fix hardcoded nodeAttestor and keyManager in spire-agent (#221)
* f4c92ed Update README.md put cleanup seperately (#223)
* 7542052 Bump test chart dependencies (#219)
* 01e031f Add another upgrade note and fix value name (#215)
* 0fbc512 Remove the white line from securityContext rendering
* 573beaf More quickly detect a daemonset is up and running
* e8d527c Update to spire-controller-manager 0.4.2 (#195)
* 25558d3 Update daemonset.yaml (#204)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Overall I see the daemonsets on my nodes be ready in approx 5 to 7 seconds.
Reducing the initial delay allows them to be marked as ready within 10 seconds. In cases it takes longer the next probe will be in 30 seconds so max initial waiting time is 40 seconds to be marked as ready compared to 75 seconds at this point of time. Furhtermore the 30 seconds probes also allow more quick detection of failures
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Doubt there is a need to provide this as an option.
Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
* 4c307c1 Add missing bundlePublisher section and extraEnv so settings can be set (#201)
* d724d1e Update the documentation (#172)
* e59a29b Bump test chart dependencies (#200)
* 4668151 Add missing extraVolumeMounts to the controllerManager (#196)
* b9ac3c4 Update to spire-controller-manager 0.4.1 (#193)
* 6fec1e5 Update SPIRE to 1.8.7 (#194)
* af155c2 Add support for running spiffe secured discovery provider (default) (#163)
* 3ccdb5e Add tls section to federation bundle endpoint and fix up annotations (#173)
* c7ab131 Add join_token server nodeattestor support (#187)
* 81e9523 Bump test chart dependencies (#186)
* 6d19a76 Fix agent daemonset format (#184)
* b61d4f5 Add spire-agent to spire-agent pod path (#180)
* befa074 Fix notes bug (#178)
* 912c61e Remove deprecated version values (#179)
* ae4ef6e Update HorizontalPodAutoscaler API to autoscaling/v2 (#153)
* e7a61a9 Bump test chart dependencies
* 183e9aa SPIFFE OIDC Discovery Provider Rework (#152)
* 8f1aba8 Bump test chart dependencies (#171)
* 2454b8c Fix links still pointing at older git repo (#167)
* e5c5527 Bump test chart dependencies (#165)
* e630008 Update jwt test to work with newer slim images (#139)
* c39dd44 Add recommendation for namespacePSS (#131)
* 49beb64 Add recommendation for namespaceLayout (#127)
* 33cacd2 Add recommendation for prometheus exporter (#144)
* 6997d6a Add recommendation for securityContext and podSecurityContext (#125)
* 50c4ac3 Add recommendation for strictMode (#143)
* 4fb9d18 Bump test chart dependencies (#155)
* 811123a Update the Tornjak image version (#150)
* 1524537 Update default for additionalDomains not to include localhost (#146)
* e35838c Add recommendation for priorityClass (#124)
* 9f72a8f Use good and automatic defaults for tornjak frontend workingDir (#129)
* 7726351 Tornjak UBI support (#123)
* 89c07e2 Revert openssl 3.2 change (#142)
* a3d3702 Bump test chart dependencies
* 80c7653 Bump test chart dependencies (#134)
* 13f6028 SELinux support (#122)
* 3e8335c Add a flag to enable recommendations (#121)
* 692d463 Remove unneeded lookup function from upgrade hook (#104)
* 8422b8d Added ability to create namespaces (#103)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* SPIFFE OIDC Discovery Provider Rework
Fixes: https://github.com/spiffe/helm-charts-hardened/issues/151
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Enhance clusterspiffeid's so the discovery provider is independently configurable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Undo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try to get output
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try and get error code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix more logging. Switch port used.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix port
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up logs for nested test and fix values
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make consistent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix nested test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix insecure mode and test.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var scoping issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Set the right flags for ingress
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update dns template
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use more standard port
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Allow reencrypt.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove testing changes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add LetsEncrypt/ACME/cert-manager support. Remove broken ACME support.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use spiffe-helper as a sidecar. Significant space savings and read only cert dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix the nested test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove 1.29.0 until deps catch up.
Related issue: https://github.com/rancher/kubectl/pull/94
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add more error checking
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove testing code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Simplify the ids. Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logic
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make cert-manager bits more readable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix template
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix openshift ingress
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add resource spec
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove parts that cant merge yet
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for running spiffe secured discovery provider (default)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove defaults
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing configurable for the discovery providers csi driver
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update the documentation
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Add missing file
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for changes in spiffe-helper
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* SPIFFE OIDC Discovery Provider Rework
Fixes: https://github.com/spiffe/helm-charts-hardened/issues/151
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Enhance clusterspiffeid's so the discovery provider is independently configurable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Undo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try to get output
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try and get error code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix more logging. Switch port used.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix port
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up logs for nested test and fix values
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make consistent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix nested test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix insecure mode and test.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var scoping issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Set the right flags for ingress
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update dns template
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use more standard port
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Allow reencrypt.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove testing changes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add LetsEncrypt/ACME/cert-manager support. Remove broken ACME support.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use spiffe-helper as a sidecar. Significant space savings and read only cert dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix the nested test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove 1.29.0 until deps catch up.
Related issue: https://github.com/rancher/kubectl/pull/94
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add more error checking
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove testing code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Simplify the ids. Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logic
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make cert-manager bits more readable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix template
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix openshift ingress
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add resource spec
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove parts that cant merge yet
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add support for running spiffe secured discovery provider (default)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove defaults
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing configurable for the discovery providers csi driver
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update for changes in spiffe-helper
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Point at upstream
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* SPIFFE OIDC Discovery Provider Rework
Fixes: https://github.com/spiffe/helm-charts-hardened/issues/151
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Enhance clusterspiffeid's so the discovery provider is independently configurable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* More fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Undo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try to get output
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try and get error code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix more logging. Switch port used.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix port
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix up logs for nested test and fix values
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make consistent
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix nested test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix insecure mode and test.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var scoping issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Set the right flags for ingress
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update dns template
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use more standard port
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test logging
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Allow reencrypt.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove testing changes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add LetsEncrypt/ACME/cert-manager support. Remove broken ACME support.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use spiffe-helper as a sidecar. Significant space savings and read only cert dir
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix the nested test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove 1.29.0 until deps catch up.
Related issue: https://github.com/rancher/kubectl/pull/94
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add more error checking
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove testing code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Simplify the ids. Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix logic
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make cert-manager bits more readable
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix template
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix openshift ingress
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add resource spec
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove parts that cant merge yet
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing configurable for the discovery providers csi driver
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add a test and example for federation support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix ingress annotations for federation bundle endpoint
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add cert-manager support to the federation bundle endpoint and fix up bundle endpoint ingress annotations
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add external secret too
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add forgotten files
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add cert-manager support to the federation bundle endpoint and fix up bundle endpoint ingress annotations
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add external secret too
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add forgotten files
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* install newer version of slim debug
- switch to step tool for jwt verification against jwk public keys
Signed-off-by: Drew Wells <drew.wells00@gmail.com>
* use step-cli image
Signed-off-by: Drew Wells <drew.wells00@gmail.com>
* Fix image tag and add upgrade logic
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* use registry for consistency
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflicts
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Drew Wells <drew.wells00@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Its pretty much only useful if you want to port forward the
discovery provider and use localhost to access it. An uncommon
use case. Its easy to add back for that case. This simplifies
production deploymnet.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add a flag to enable recommendations
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add recommendation for priorityClass
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix vars
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs. Fix typo.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Tornjak UBI support
The Tornjak containers now have two different flavors. Vanilla and UBI.
Automatically select the UBI image when deploying on OpenShift.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
* SELinux support
Add support to the chart to set the SELinux context to enable a working
system. Enable it by default on OpenShift clusters.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add a flag to enable recommendations
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update after reaching consensus.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Those upgrading to 0.17.0 should no longer need the code to check for the old webhook.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add support for the new spire-controller-manager class feature
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs. Swich nested deployment to use controller manager
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Test with nightly
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix global object naming clash
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing dot
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix naming conflict with cluster ids
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix scoping issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix webhook name collision
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix webhook reference and add note to user about className
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Upgrade has to work on the old version of the object before rename
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove extra junk from job
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Easier local runs and wait for crds
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add missing crd upgrade
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update upgrade notes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/charts/spire-server/templates/controller-manager-cluster-ids.yaml
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Bump version to the released 0.4.0
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Merge in crd changes from upstream
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add auto populate dns
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/README.md
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Add missing ClusterSPIFFEID fields
There are a few options in the CRD not available via the chart.
Sync them to the chart.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add another missing one
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Allow additional CRs to be managed by the chart
Sometimes additional ClusterSPIFFEIDs and the other CRs are needed. Add
support for the end user to manage those extra CRs via the chart.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add validation
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add className to crs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix readme formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update charts/spire/README.md
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove dead code
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix extra newline
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Add some nested diagrams
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix typo
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add md
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Autogen jwtIssuer
Unset a default for jwtIssuer and global.spire.jwtIssuer. When unset,
generate it to the default of oidc-discovery.$trustDomain so in many
cases the user doesn't need to set it at all.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Autogen tornjak's apiServerURL
Unset the default tornjak apiServerURL. When unset, default to
https://tornjak-backend.$trustDomain so in many cases users don't
have to set it.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Do more autodetection
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Autogen jwtIssuer
Unset a default for jwtIssuer and global.spire.jwtIssuer. When unset,
generate it to the default of oidc-discovery.$trustDomain so in many
cases the user doesn't need to set it at all.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* Specify ingress controller type
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix indenting, docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix spacing
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing brackets
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing brackets
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add ingress-nginx support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use the right example values for test version to upgrade from.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var in wrong location
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing arg
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try this to checkout the right version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Switch to upgrading from 0.14.0
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Install crds
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Simple ingress support
For a lot of situations, ingress rules can be derived from trustDomain.
Change the code to generate rules by default for the user.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add upgrade test fix from 43
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix test
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Enable unset ingress controller type to use with openshift later
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Openshift ingress controller type support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing end tag
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflicts
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix doc merge conflicts
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix merge conflicts
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix automatically generated rules on openshift
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix formatting
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix pathType
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Make openshift edge rules work
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var scoping
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix issue created during merge conflict
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
* Update docs to simplify, clarify, and prioritize ease of install/upgrade
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
* Specify ingress controller type
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix indenting, docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix spacing
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing brackets
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing brackets
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add ingress-nginx support
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Use the right example values for test version to upgrade from.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix var in wrong location
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix missing arg
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Try this to checkout the right version
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Switch to upgrading from 0.14.0
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Install crds
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Enable unset ingress controller type to use with openshift later
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix docs after merge issue
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
* a01cdc9 Production test don't cleanup flag (#44)
* 56445c4 Spire controller manager upgrade (#8)
* 6635512 Fix Tornjak HTTPS ingress port (#39)
* 78ba615 Update to SPIRE 1.8.2 (#40)
* 2644e4b Bump test chart dependencies (#38)
* 5cb3c6d Bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 in /tests (#37)
* 42bb8cf Bump spire Helm Chart version from 0.13.1 to 0.13.2
* dd87bc0 Bump spire versions to 1.7.4 (#35)
* fdba5d0 Bump spire Helm Chart version from 0.13.0 to 0.13.1
* 0e41a7d Fix failing Tornjak ingress port (#28)
* df1abf6 Bump to spire 1.7.3 (#31)
* 69a20e3 Merge pull request #29 from spiffe/tornjak-version
* 3036a41 Switch to version v1.4.0
* da49059 Update Tornjak image version
* 0fa43a5 Add plugin support to the spire agent (#22)
* c5c5320 Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 in /tests (#27)
* afba33f Add spire agent experimental flags (#26)
* 1107278 Bump test chart dependencies
* 03ff618 Add Tornjak ingress (#16)
* 8f1bfc1 Merge pull request #23 from spiffe/examples-doc
* cd386eb Merge branch 'main' into examples-doc
* 12937db Update Example README
* 06d6690 Bump test chart dependencies (#20)
* 8aca48f Push the changes that update-tags creates (#19)
* a6cb397 Exit code from diff indicating changes should not block commit. (#17)
* ebfa518 Update FAQ from repo switch (#15)
* c23e6cb Fix issue with version checker not running
* 51c20b1 Bump actions/checkout from 4.0.0 to 4.1.0 (#9)
* 21db1e4 Add a test to ensure upgrades work (#6)
* f86648f Bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /tests
* babd677 Bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 in /tests
* 45187fe Add back CODE-OF-CONDUCT
* 50825d9 Deny production runs of example.org trust domains (#229)
* 712a0f6 Bump actions/checkout from 4.0.0 to 4.1.0
* f04bdc3 Add support for experimental flags (#492)
* 7cdae92 Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 in /tests (#490)
* d3091a8 Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… (#489)
* 7a96175 Remove developer-guy as a CODEOWNER
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* Production test don't cleanup flag
For use in the future with uprade tests, we add a flag -c to the production
test to not cleanup after the testing.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* dd87bc0 Bump spire versions to 1.7.4 (#35)
* fdba5d0 Bump spire Helm Chart version from 0.13.0 to 0.13.1
* 0e41a7d Fix failing Tornjak ingress port (#28)
* df1abf6 Bump to spire 1.7.3 (#31)
* 69a20e3 Merge pull request #29 from spiffe/tornjak-version
* 3036a41 Switch to version v1.4.0
* da49059 Update Tornjak image version
* 0fa43a5 Add plugin support to the spire agent (#22)
* c5c5320 Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 in /tests (#27)
* afba33f Add spire agent experimental flags (#26)
* 1107278 Bump test chart dependencies
* 03ff618 Add Tornjak ingress (#16)
* 8f1bfc1 Merge pull request #23 from spiffe/examples-doc
* cd386eb Merge branch 'main' into examples-doc
* 12937db Update Example README
* 06d6690 Bump test chart dependencies (#20)
* 8aca48f Push the changes that update-tags creates (#19)
* a6cb397 Exit code from diff indicating changes should not block commit. (#17)
* ebfa518 Update FAQ from repo switch (#15)
* c23e6cb Fix issue with version checker not running
* 51c20b1 Bump actions/checkout from 4.0.0 to 4.1.0 (#9)
* 21db1e4 Add a test to ensure upgrades work (#6)
* f86648f Bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /tests
* babd677 Bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 in /tests
* 45187fe Add back CODE-OF-CONDUCT
* 50825d9 Deny production runs of example.org trust domains (#229)
* 712a0f6 Bump actions/checkout from 4.0.0 to 4.1.0
* f04bdc3 Add support for experimental flags (#492)
* 7cdae92 Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 in /tests (#490)
* d3091a8 Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… (#489)
* 7a96175 Remove developer-guy as a CODEOWNER
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* 0e41a7d Fix failing Tornjak ingress port (#28)
* df1abf6 Bump to spire 1.7.3 (#31)
* 69a20e3 Merge pull request #29 from spiffe/tornjak-version
* 3036a41 Switch to version v1.4.0
* da49059 Update Tornjak image version
* 0fa43a5 Add plugin support to the spire agent (#22)
* c5c5320 Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 in /tests (#27)
* afba33f Add spire agent experimental flags (#26)
* 1107278 Bump test chart dependencies
* 03ff618 Add Tornjak ingress (#16)
* 8f1bfc1 Merge pull request #23 from spiffe/examples-doc
* cd386eb Merge branch 'main' into examples-doc
* 12937db Update Example README
* 06d6690 Bump test chart dependencies (#20)
* 8aca48f Push the changes that update-tags creates (#19)
* a6cb397 Exit code from diff indicating changes should not block commit. (#17)
* ebfa518 Update FAQ from repo switch (#15)
* c23e6cb Fix issue with version checker not running
* 51c20b1 Bump actions/checkout from 4.0.0 to 4.1.0 (#9)
* 21db1e4 Add a test to ensure upgrades work (#6)
* f86648f Bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /tests
* babd677 Bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 in /tests
* 45187fe Add back CODE-OF-CONDUCT
* 50825d9 Deny production runs of example.org trust domains (#229)
* 712a0f6 Bump actions/checkout from 4.0.0 to 4.1.0
* f04bdc3 Add support for experimental flags (#492)
* 7cdae92 Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 in /tests (#490)
* d3091a8 Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… (#489)
* 7a96175 Remove developer-guy as a CODEOWNER
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
* Exit code from diff indicating changes should not block commit.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Push the changes that update-tags creates
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add plugin support to the spire agent
This adapts the existing spire server plugin support to be usable by
the agent as well.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix notes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add plugin support to the spire agent
This adapts the existing spire server plugin support to be usable by
the agent as well.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Fix notes
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update documentation
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update example
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
* Exit code from diff indicating changes should not block commit.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Push the changes that update-tags creates
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Add a test to ensure upgrades work
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Update examples/production/run-tests.sh
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Add support for the experimental section of the config. Needed for
developers. This PR doesnt add support for the `auth_opa_policy_engine`
experimental config.
---------
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from
2.12.0 to 2.12.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/onsi/ginkgo/releases">github.com/onsi/ginkgo/v2's
releases</a>.</em></p>
<blockquote>
<h2>v2.12.1</h2>
<h2>2.12.1</h2>
<h3>Fixes</h3>
<ul>
<li>Print logr prefix if it exists (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1275">#1275</a>)
[90d4846]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1271">#1271</a>)
[555f543]</li>
<li>Bump golang.org/x/sys from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1270">#1270</a>)
[d867b7d]</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md">github.com/onsi/ginkgo/v2's
changelog</a>.</em></p>
<blockquote>
<h2>2.12.1</h2>
<h3>Fixes</h3>
<ul>
<li>Print logr prefix if it exists (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1275">#1275</a>)
[90d4846]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1271">#1271</a>)
[555f543]</li>
<li>Bump golang.org/x/sys from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1270">#1270</a>)
[d867b7d]</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1d2fb67b14"><code>1d2fb67</code></a>
v2.12.1</li>
<li><a
href="90d4846e63"><code>90d4846</code></a>
Print logr prefix if it exists (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1275">#1275</a>)</li>
<li><a
href="555f54392e"><code>555f543</code></a>
Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1271">#1271</a>)</li>
<li><a
href="d867b7dbcd"><code>d867b7d</code></a>
Bump golang.org/x/sys from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1270">#1270</a>)</li>
<li>See full diff in <a
href="https://github.com/onsi/ginkgo/compare/v2.12.0...v2.12.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Current configmap template renders to a wrong KeyManager and
UpstreamAuthority configurarion when aws_kms and aws_pca are enabled and
container is crashing. The proposed changes will fix the issue.
---------
Signed-off-by: unufree <geno.velkov@gmail.com>
Signed-off-by: unufr33 <129618334+unufr33@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
This patch enables end users to configure external plugins in the
spire-server config. Unsupported internal plugins are not able to be
set.
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Edwin Buck <edwbuck@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
This allows the datastore secret object to be created by external agents
such as https://github.com/external-secrets/external-secrets
---------
Signed-off-by: grameshtwilio <gramesh@twilio.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.11.3 to
3.12.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/helm/helm/releases">helm.sh/helm/v3's
releases</a>.</em></p>
<blockquote>
<p>Helm v3.12.3 is a patch release. Users are encouraged to upgrade for
the best experience. Users are encouraged to upgrade for the best
experience.</p>
<p>The community keeps growing, and we'd love to see you there!</p>
<ul>
<li>Join the discussion in <a
href="https://kubernetes.slack.com">Kubernetes Slack</a>:
<ul>
<li>for questions and just to hang out</li>
<li>for discussing PRs, code, and bugs</li>
</ul>
</li>
<li>Hang out at the Public Developer Call: Thursday, 9:30 Pacific via <a
href="https://zoom.us/j/696660622">Zoom</a></li>
<li>Test, debug, and contribute charts: <a
href="https://artifacthub.io/packages/search?kind=0">ArtifactHub/packages</a></li>
</ul>
<h2>Installation and Upgrading</h2>
<p>Download Helm v3.12.3. The common platform binaries are here:</p>
<ul>
<li><a href="https://get.helm.sh/helm-v3.12.3-darwin-amd64.tar.gz">MacOS
amd64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-darwin-amd64.tar.gz.sha256sum">checksum</a>
/ 1bdbbeec5a12dd0c1cd4efd8948a156d33e1e2f51140e2a51e1e5e7b11b81d47)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-darwin-arm64.tar.gz">MacOS
arm64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-darwin-arm64.tar.gz.sha256sum">checksum</a>
/ 240b0a7da9cae208000eff3d3fb95e0fa1f4903d95be62c3f276f7630b12dae1)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-amd64.tar.gz">Linux
amd64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-amd64.tar.gz.sha256sum">checksum</a>
/ 1b2313cd198d45eab00cc37c38f6b1ca0a948ba279c29e322bdf426d406129b5)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-arm.tar.gz">Linux
arm</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-arm.tar.gz.sha256sum">checksum</a>
/ 6b67cf5fc441c1fcb4a860629b2ec613d0e6c8ac536600445f52a033671e985e)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-arm64.tar.gz">Linux
arm64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-arm64.tar.gz.sha256sum">checksum</a>
/ 79ef06935fb47e432c0c91bdefd140e5b543ec46376007ca14a52e5ed3023088)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-386.tar.gz">Linux
i386</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-386.tar.gz.sha256sum">checksum</a>
/ cb789c4753bf66c8426f6be4091349c0780aaf996af0a1de48318f9f8d6b7bc8)</li>
<li><a
href="https://get.helm.sh/helm-v3.12.3-linux-ppc64le.tar.gz">Linux
ppc64le</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-ppc64le.tar.gz.sha256sum">checksum</a>
/ 8f2182ae53dd129a176ee15a09754fa942e9e7e9adab41fd60a39833686fe5e6)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-s390x.tar.gz">Linux
s390x</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-s390x.tar.gz.sha256sum">checksum</a>
/ f5d5c7a4e831dedc8dac5913d4c820e0da10e904debb59dec65bde203fad1af0)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-windows-amd64.zip">Windows
amd64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-windows-amd64.zip.sha256sum">checksum</a>
/ f3e2e9d69bb0549876aef6e956976f332e482592494874d254ef49c4862c5712)</li>
</ul>
<p>This release was signed with <code>672C 657B E06B 4B30 969C 4A57 4614
49C2 5E36 B98E </code> and can be found at <a
href="https://github.com/mattfarina"><code>@mattfarina</code></a> <a
href="https://keybase.io/mattfarina">keybase account</a>. Please use the
attached signatures for verifying this release using
<code>gpg</code>.</p>
<p>The <a href="https://helm.sh/docs/intro/quickstart/">Quickstart
Guide</a> will get you going from there. For <strong>upgrade
instructions</strong> or detailed installation notes, check the <a
href="https://helm.sh/docs/intro/install/">install guide</a>. You can
also use a <a
href="https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3">script
to install</a> on any system with <code>bash</code>.</p>
<h2>What's Next</h2>
<ul>
<li>3.13.0 is the next feature release and be on September 13,
2023.</li>
</ul>
<h2>Changelog</h2>
<ul>
<li>bump kubernetes modules to v0.27.3
3a31588ad33fe3b89af5a2a54ee1d25bfe6eaa5e (Joe Julian)</li>
<li>Add priority class to kind sorter
fb7415543b910e5661337e187e2be9d3f383638d (Stepan Dohnal)</li>
</ul>
<p>Helm v3.12.2 is a patch release. Users are encouraged to upgrade for
the best experience. Users are encouraged to upgrade for the best
experience.</p>
<p>The community keeps growing, and we'd love to see you there!</p>
<ul>
<li>Join the discussion in <a
href="https://kubernetes.slack.com">Kubernetes Slack</a>:
<ul>
<li>for questions and just to hang out</li>
<li>for discussing PRs, code, and bugs</li>
</ul>
</li>
<li>Hang out at the Public Developer Call: Thursday, 9:30 Pacific via <a
href="https://zoom.us/j/696660622">Zoom</a></li>
<li>Test, debug, and contribute charts: <a
href="https://artifacthub.io/packages/search?kind=0">ArtifactHub/packages</a></li>
</ul>
<h2>Installation and Upgrading</h2>
<p>Download Helm v3.12.2. The common platform binaries are here:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3a31588ad3"><code>3a31588</code></a>
bump kubernetes modules to v0.27.3</li>
<li><a
href="fb7415543b"><code>fb74155</code></a>
Add priority class to kind sorter</li>
<li><a
href="1e210a2c8c"><code>1e210a2</code></a>
add GetRegistryClient method</li>
<li><a
href="cfa7bc68fa"><code>cfa7bc6</code></a>
chore(deps): bump oras.land/oras-go from 1.2.2 to 1.2.3</li>
<li><a
href="f32a527a06"><code>f32a527</code></a>
add some test case</li>
<li><a
href="91bb1e34e6"><code>91bb1e3</code></a>
fix comment grammar error.</li>
<li><a
href="5217482c8e"><code>5217482</code></a>
bugfix:(<a
href="https://redirect.github.com/helm/helm/issues/11391">#11391</a>)
helm lint infinite loop</li>
<li><a
href="524a0e7457"><code>524a0e7</code></a>
chore(deps): bump github.com/opencontainers/runc from 1.1.4 to
1.1.5</li>
<li><a
href="c60cdf62ab"><code>c60cdf6</code></a>
chore(deps): bump github.com/docker/distribution</li>
<li><a
href="321f71a161"><code>321f71a</code></a>
update autoscaling/v2beta1 to autoscaling/v2 in skeleton chart</li>
<li>Additional commits viewable in <a
href="https://github.com/helm/helm/compare/v3.11.3...v3.12.3">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Please review the below changelog to ensure this matches up with the
semantic version being applied.
> **Note**: **Maintainers** ensure to run following after merging this
PR to trigger the release workflow:
>
> ```shell
> git checkout main
> git pull
> git checkout release
> git pull
> git merge main
> git push
> ```
**Changes in this release**
* 5e2e8a91 Adds AWS KMS KeyManager support (#435)
* 77fe43f3 Cron job to check for and update images (#249)
* b7e15255 Allow job hooks to be disabled (#434)
* 5e4cf6f5 Clarify project issues identified with nesting document
(#450)
* 72893515 Update spire bits to 1.7.2 (#452)
* dc8a4545 Array spacing in values is incorrect in a file. (#451)
* 94326d9c Fixup Helm docs
* ae8941c4 Support Nested Spire with External Agent (#117)
* f40743d4 Improve Tornjak documentation (#439)
* 0124f633 Bypass example-test for docs only changes (#449)
* 48a28980 Fix chainguard image references as per issue 442 (#443)
* bd393e95 Bump test chart dependencies (#445)
* a52818a7 Add a FAQ and switch rare issue from README to it (#437)
* e60f5287 option to set KeyManager memory in spire server (#444)
* a167ce68 Bump actions/setup-go from 4.0.1 to 4.1.0
* e774584c Bump test chart dependencies (#426)
* bfec27ef Fix jwtIssuer to allow for Uris including scheme (#425)
* 7a6e4f8d Change Tornjak backend default port (#436)
* 1e3039cc Bump spire Helm Chart version from 0.11.0 to 0.11.1 (#419)
* d2e16062 issuer naming should respect issuer_name override (#378)
* a2e5c36c Bump test chart dependencies (#416)
* a09e054d support annotations so oidc can be annotated (#391)
* 7d94b105 Update spire to 1.7.1 (#412)
* 9f4d4ace Add aws_pca to the spire-server (#404)
* af13f1fc Bump test chart dependencies (#401)
* 9a6768bc Add support for disabling container selectors (#399)
* 4687e20d Merge pull request #315 from spiffe/persistence-type
* e16210c6 Merge branch 'main' into persistence-type
* 624ca9cc Remove misadded lockfile (#400)
* 7ce67c62 Bump actions/checkout from 3.5.2 to 3.5.3 (#395)
* b85ba64d Bump helm/kind-action from 1.7.0 to 1.8.0 (#396)
* a6bdb4d1 Add persistence type flag
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
To allow for inplace upgrades of spire-server statefulset we are not
allowed to
make changes to all fields of the statefulset spec.
When bumping from 0.8.1 to the latest version the `initContainers:`
field is added in the spec and therefore does not allow for updating the
statefulset.
This fix prevents the empty initContainers block when bumping from a
previous chart version.
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Bump the Helm charts used in test scenarios to latest available
versions.
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Please review the below changelog to ensure this matches up with the
semantic version being applied.
**Note**: As this is a patch release we will make a cherry-picked
release using a followup PR targetering the release branch. Will
cherrypick the following commits into this patch release + the commit
bumping this version number.
**Changes in this release**
* d2e1606 issuer naming should respect issuer_name override (#378)
* a09e054 support annotations so oidc can be annotated (#391)
* 7d94b10 Update spire to 1.7.1 (#412)
* 9a6768b Add support for disabling container selectors (#399)
* 624ca9c Remove misadded lockfile (#400)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Bump the Helm charts used in test scenarios to latest available
versions.
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
This change allows aws_pca to be configured via values of this chart.
__Requires 1.7.1 version__ per
[bug](https://github.com/spiffe/spire/issues/4351) - this will not work
until 1.7.1 is released.
---------
Signed-off-by: Petr McAllister <petr.mcallister@gmail.com>
Signed-off-by: Petr McAllister <petr@tetrate.io>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Bump the Helm charts used in test scenarios to latest available
versions.
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Bump the Helm charts used in test scenarios to latest available
versions.
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
spiffe-csi-driver and spire-agent are missing the ability to specify
tolerations. This PR adds the missing functionality.
fixes: https://github.com/spiffe/helm-charts/issues/380
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* f4c421af Ensure the released OCI artifact is also captured in rekor
* 386e736e Bump sigstore/cosign-installer from 3.0.5 to 3.1.0 (#368)
* 99e01c67 Bump spire-controller-manager from 0.2.2 to 0.2.3 (#367)
* 4dccb0d3 Bump spire Helm Chart version from 0.9.0 to 0.9.1 (#365)
* 8409674a Fix the init container flags of the statefulset (#366)
* 3b666601 add missing federatesWith option (#361)
* 0533d925 fixes missing template (#362)
* 1333b6ab Always add parseTime=true for mysql query string (#352)
* ac3be716 Bump test chart dependencies (#358)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
resolves a bunch of vulnerabilities in the Image
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
* 57a9320 Add SPIRE 1.7.0 to main readme (#357)
* af36f7c Align the bash image version with other instances for spire-agent (#356)
* c11a8c0 Implement pre-delete hook for graceful delete of spiffe-oidc-discovery-provider (#353)
* a6dcf26 Allow for SPIRE Agent to run as non root user (#209)
* 9cf6049 Allow contributors to run linting easily on local
* e88f7f6 Add configmap annotation to spire-bundle configmap (#351)
* 020bde8 Add support to create a issuer and CA via cert-manager (#342)
* 9d504de Ignore .DS_Store files
* e6b608c Bump spire images to 1.7.0 (#348)
* c97a788 Fix bundle role/rolebinding naming conflict (#333)
* b66077e Bump peter-evans/create-pull-request from 5.0.1 to 5.0.2 (#349)
* d0da864 Add missing metadata to subcharts (#347)
* 4c0a1d5 Allow overriding test images (#186)
* 250fd5d Add missing global values to charts (#311)
* 5d8c907 Dropping k8s versions in CI older than 3, as per readme (#344)
* 8748933 Update upstream-ca-secret.yaml (#341)
* 4e07450 Fix ingress annotations for federation (#337)
* ea09199 Bump actions/checkout from 3.5.0 to 3.5.3
* 87fe198 Merge pull request #331 from edwbuck/key_conventions
* ddc0166 Fix line wrapping.
* 0cae9ce Update project/conventions.md
* cb18255 Update project/conventions.md
* 52e5c24 Upgrade Tornjak to image v1.2.2 (#328)
* 28e2abf Choose a different example for dotted Acronyms.
* d60d68c Added accidentally clipped explicit name guidelines.
* abe9fde Merge branch 'main' into key_conventions
* f6a7b62 Update project/conventions.md
* c4d19db Update project/conventions.md
* cfa9f78 Bump test chart dependencies (#332)
* c3213ab Initial submission of Helm Chart key naming conventions.
* 28c0824 Bump test chart dependencies (#322)
* d333154 Add Makefile for local testing (#327)
* 9fa1ec2 Improve Tornjak backend test (#321)
* 5b779dc Improve Tornjak frontend test (#320)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Tornjak Frontend serves incorrect dashboard due to restricted namespace.
Fixing the cache file location leads to this error:
```Error: EACCES: permission denied, open './build/env.js'```
Solution, to redirect the env.js output to writeable space e.g. /tmp
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
@faisal-memon we will need to update the required checks in branch
protection to use the new version
---------
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Edited event is only useful if you want a workflow to act on a PR
description or title or labels and such, we are not doing that in this
workflow.
Removing the edited type from the event doesn't unnecessarily run the
workflow again when title, description and such are changed.
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
This upgrade enables the production version of React in Tornjak Frontend
with a smaller footprint and faster startup time.
Using Tornjak v1.2.1 release
https://github.com/spiffe/tornjak/releases/tag/v1.2.1
---------
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
The convention in most charts is to use image.tag. This patch updates the values
to use it instead of the less standard image.version.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Bumps
[sigstore/cosign-installer](https://github.com/sigstore/cosign-installer)
from 3.0.3 to 3.0.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sigstore/cosign-installer/releases">sigstore/cosign-installer's
releases</a>.</em></p>
<blockquote>
<h2>v3.0.4</h2>
<ul>
<li>Include fix for <a
href="https://redirect.github.com/sigstore/cosign-installer/pull/124">sigstore/cosign-installer#124</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="03d0fecf17"><code>03d0fec</code></a>
Fix unsafe evaluation of inputs.use-sudo (<a
href="https://redirect.github.com/sigstore/cosign-installer/issues/124">#124</a>)</li>
<li><a
href="46b5db7449"><code>46b5db7</code></a>
use intermediate environment variables to avoid risks of script
injection (<a
href="https://redirect.github.com/sigstore/cosign-installer/issues/122">#122</a>)</li>
<li><a
href="84448ba515"><code>84448ba</code></a>
we should rely upon the digests not the tags, typos (<a
href="https://redirect.github.com/sigstore/cosign-installer/issues/121">#121</a>)</li>
<li>See full diff in <a
href="https://github.com/sigstore/cosign-installer/compare/v3.0.3...v3.0.4">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tornjak only supports amd64 builds at the moment
To prevent deployment failures on clusters with arm64 nodes I have added a nodeSelector for tornjak frontend, and documentation for spire-server
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
- Align tornjak backend naming with same convention as frontend
- Align Tornjak backend and frontend notes style
- Add disclaimer for Tornjak usage to example
---------
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
This pr updates the Tornjak branch to work with the merged global
registry configuration support.
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
The maintainer's handbook is a guide to remind the maintainers of the
values and approaches that most maintainers already hold.
Specifics of code quality will come later, but putting them into this
document would make it too long, and thus unread.
Closes#263
---------
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Bump the Helm charts used in test scenarios to latest available
versions.
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Adds *.json to the workflow trigger so that changes to json files, such as updating versions, will trigger a pipeline run.
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
This patch sets the spire chart tests to always run. This enables
changes in tests to be tested and sets a base for split out charts.
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Please review the below changelog to ensure this matches up with the
semantic version being applied.
> **Note**: **Maintainers** ensure to run following after merging this
PR to trigger the release workflow:
>
> ```shell
> git checkout main
> git pull
> git checkout release
> git pull
> git merge main
> git push
> ```
**Changes in this release**
* 65312f85 Include dependency values in documentation (#275)
* 5489212b Remove persistence.enabled flag (#274)
* b3153242 Allow for ConfigMaps to be annotated (#272)
* 013eb617 Fix spacing for spire server service annotation (#273)
* 73435be9 Add project glossary. (#262)
* c4656a74 Replicas > 1 is not allowed with sqlite driver (#269)
* d3da3eed External database configuration (#225)
* ce78bea1 Add Edwin Buck as a maintainer. (#267)
* 1f09d7b3 Bump test chart dependencies (#264)
* aa6b40c0 Add project overview. (#258)
* 8e7e6ebc Allow trust bundle url to be set along with format (#256)
* 1e09ea54 Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1
(#253)
* 6760cd22 Bump test chart dependencies (#252)
* 61e338df Fix example production typos (#244)
* 3d81928f Add skipKubeletVerification configurable (#243)
* 46f10e1d Merge pull request #237 from spiffe/fix-check-versions
* 3889d22e Fix quotation bug in update-version.sh
* 6a894e8c Move update-versions.sh script
* 91083a6b Add post-install scripts to all tests to capture failure
details in GitHub workflow summary (#88)
* 9afb6f80 Merge pull request #242 from spiffe/shellcheck
* 99af475f Resolve shellcheck issues
* d0a1e128 Add workflow with shellcheck
* 8abd75ef Merge pull request #241 from
spiffe/dependabot/github_actions/sigstore/cosign-installer-3.0.3
* 252f1f5a Bump cosign to v2.0.2
* 247e3e5d Bump sigstore/cosign-installer from 3.0.2 to 3.0.3
* 17d62f12 Add an action to find new versions of helm charts (#184)
* 2c360a50 Add global for image registry (#201)
* 3cc89554 Move reusable macros to root chart (#218)
* 3fc81780 Add k8s 1.27 to CI + bump other versions to latest patches
(#219)
* 6b617440 Merge pull request #113 from
spiffe/spire-config-as-yaml-converted-json
* 9e03f297 Merge branch 'main' into spire-config-as-yaml-converted-json
* 210ed02c Remove dead code (#217)
* e3b0d00b Bump min required spire 1.6.x version for this chart
* d7dcfeb6 Change spiffe-oidc-provider-config configmap to yaml format
* 861108c0 Change spire-agent configmap to yaml format
* 1d72b572 Change spire-server configmap to yaml format
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
I have added a flag to the helm-docs script to include the documentation
for dependencies.
This will add more complete documentation to
https://artifacthub.io/packages/helm/spiffe/spire#values so it is easier
for our users to get started and having a complete overview.
---------
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Without an annotation, spinnaker will rename the configmap.
---------
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
This glossary is not meant to be complete, as
no glossary can be. It does mean to cover the
basic different deployments.
To keep things clear, federation was also added
to clarify that federation is not a deployment
but a different "thing".
Closes#261
---------
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
This patch makes all the database settings configurable.
fixes: https://github.com/spiffe/helm-charts/issues/37
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Bump the Helm charts used in test scenarios to latest available
versions.
---------
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
This patch enables the spire-agent to retrieve the trust bundle via url.
fixes: https://github.com/spiffe/helm-charts/issues/254
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Bump the Helm charts used in test scenarios to latest available
versions.
---------
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
This patch enables a user to override all image registry settings all at
once to point to their own registry to enable easy custom mirrors.
partially implements: https://github.com/spiffe/helm-charts/issues/139
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
This patch adds the start of a library to help reduce code duplication.
It will be split out to its own library chart at the same time the other
charts are split out.
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* 6c21f13 Bump actions/checkout from 3.5.0 to 3.5.2
* 0f57f56 Update to the 1.6.3 spire release
* b82abab Revert "Switch to persistence" (#210)
* 0dec80e Switch to persistence (#200)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
* 563e1f7 Add podmonitors (#165)
* 456075f Add hooks to set failurepolicy to ignore on webhook (#128)
* d5dc706 Add Kubernetes 1.21 back (#188)
* daa620b Fix production example test (#183)
* c661d0b Make service dns domain configurable (#164)
* ec236e9 Test for configurable images (#182)
* 280315c Fix namespace-override github test summary (#154)
* 072d952 Switch tests to curl (#178)
* 1b4bfb7 Cleanup old leftover to k8s-workload-registrar
* a770928 Switch busybox image to cgr.dev/chainguard/busybox:latest-glibc (#175)
* 8790416 Enable global config for clusterName, trustDomain, and bundleConfigMap (#156)
* b54c41a Enhance the production example
* dfb32dc Revert adding tornjak to be releasable (#180)
* 059d5fb Bump spire Helm Chart version from 0.5.0 to 0.5.1
* e2ec6ac Add a test to ensure the chart versions match (#163)
* 64585ba Fix formatting issues introduced with #152
* 0dac0db Improve Spire Chart documentation
* f709ed9 Bump actions/checkout from 3.4.0 to 3.5.0
* faef439 Bump helm/chart-testing-action from 2.3.1 to 2.4.0
* ae62dd1 Bump spire version to 1.6.1
* 02fda80 Add Artifact Hub badge to README.md
* 901e670 Disable default Tornjak deployment (#153)
* 05d0f47 Introduction of Tornjak to SPIRE Server helm charts (#144)
* b25dc77 Test fixing the tests (#148)
* b4be9ed Add maturity tag (#138)
* d4fd2ce Extract the namespace override test out of the old lockdown test. (#145)
* 4f85802 Update lockdown test to test the production example
* 04a1305 Fork the lockdown test to two tests as it is doing the work of 2 (#134)
* 64d0107 Resolve issue in prod example on volume mount (#143)
* 5b6708b Remove @dennisgove from CODEOWNERS (#140)
* a516caa Remove k8s 1.21 from test matrix + small syntax error fix (#133)
* 811a2f6 Add option to enable federation on spire-server (#97)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
* 64585ba Fix formatting issues introduced with #152
* 0dac0db Improve Spire Chart documentation
* f709ed9 Bump actions/checkout from 3.4.0 to 3.5.0
* faef439 Bump helm/chart-testing-action from 2.3.1 to 2.4.0
* ae62dd1 Bump spire version to 1.6.1
* 02fda80 Add Artifact Hub badge to README.md
* 901e670 Disable default Tornjak deployment (#153)
* 05d0f47 Introduction of Tornjak to SPIRE Server helm charts (#144)
* b25dc77 Test fixing the tests (#148)
* b4be9ed Add maturity tag (#138)
* d4fd2ce Extract the namespace override test out of the old lockdown test. (#145)
* 4f85802 Update lockdown test to test the production example
* 04a1305 Fork the lockdown test to two tests as it is doing the work of 2 (#134)
* 64d0107 Resolve issue in prod example on volume mount (#143)
* 5b6708b Remove @dennisgove from CODEOWNERS (#140)
* a516caa Remove k8s 1.21 from test matrix + small syntax error fix (#133)
* 811a2f6 Add option to enable federation on spire-server (#97)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
This PR introduces a simplified version of
[Tornjak](https://github.com/spiffe/tornjak) to support UI and SPIRE
control plane.
It extends the `/charts/spire-server` sub-chart by injecting *tornjak*
container to the *spire-server* pod. Tornjak image consists of Tornjak
API (Tornjak Backend), Tornjak UI (Frontend), and database for storing
Tornjak specific information.
Tornjak Backend communicates with SPIRE API via SPIRE Server socket.
Since Tornjak UI (Frontend) is a React code that renders in a browser,
it needs to communicate with Tornjak APIs, and that requires
communication ports to be open, either via Ingress (in Cloud deployment)
or via port forwarding in local deployments (e.g. kind, minikube etc).
Typically port 10000 is used for HTTP connection to Backend, and port
3000 for the HTTP connection to Frontend.
End user management, TLS, and mTLS connections will be addressed by
future PRs.
This PR resolves issue #31
---------
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Pete Cable <petercable@gmail.com>
Co-authored-by: Dennis Gove <dpgove@gmail.com>
This patch removes the production bits of the old lockdown test
and establishes the namespace override test as its own test.
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
This patch makes a second copy of the existing lockdown test
because it is doing double duty. In follow on patches we will
make each test do one thing only.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
- Remove k8s 1.21 from test matrix
- Fix syntax
- Improve readability test step
Officialy according to readme we support last three k8s versions.
Testing last 5 versions should be sufficient.
---------
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
* fae12af Merge pull request #60 from spiffe/oidc-ingress
* 6322a9a Fix tests
* a9b99fe Add some commented lines for best practice annotations on ingress
* e970d52 Align ingress hostname with jwtIssues in spire-server chart
* cc7121e Add ingress support for OIDC discovery provider
* eaed7c9 Bump actions/checkout from 3.3.0 to 3.4.0 (#129)
* 2e3f045 Make webhook fail policy configurable (#124)
* 9ccbd3c Make kubelet path configurable (#123)
* 80e3b58 Remove dead file from failed rebase. (#121)
* 7155d71 Add documentation how to use Spire in own workloads
* 25c77fc Fix the driver not coming up on overloaded nodes
* 5fdd35b Improve Chart API (#119)
* 03db6bb Namespace override
* 661000a Make the agent socket configurable (#114)
* f3a81ad Make csi driver configurable to be able to run multiple instances (#115)
* b198bc7 Fix the tests so they can run locked down. (#111)
* 09b21ac Fix the gate
* b6716ae Test that it is possible to lock down security of pods (#84)
* bfeb217 Fix cluster role name uniqueness
* 490fe8f Enhance the test workflow scripts
* 9e22d2c Make the namespace the bundle is dropped into configurable
* 7d1f821 Fix test.
* 493ad8f Remove some duplication on chart-testing CI
* b6dd136 Add tmp mount so that server can run locked down (#105)
* aaaf2f7 Remove dead role code
* d2eba22 Fix docs
* 6d43625 Add kfox as a maintainer
* dfa4e6c Ensure CI also runs when test scripts are changed
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
This patch enables exposing the oidc server out with an ingress
along with tests to ensure it works.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Because we are already in the context of spire-agent the API looks more
logical to not have another 'agent' part in the name.
Furthermore to make it more clear the oidc provider only requires the
name of the socket as opposed to the entire path like in the other
charts I made that more explicit in the name of the value.
---------
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Adds namespace to the ClusterRole and ClusterRoleBinding so that it
doesn't conflict when you have two instances of the chart, in different
namespaces with the same release name.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
This makes it so that tests can now:
1. Add additional values files to the test
2. That the post-install.sh script knows if the test passed or failed
for better output
3. That the main test can be skipped in favor of a test provided one
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
When the server and agent are not in the same namespace, the bundle needs to be
uploadable in the agent's namespace.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
The cluster role does the same thing, but at the cluster level
where it belongs. The extra role code does nothing so we remove
it here.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* 7984bbd Add script to automate cutting a release
* eb186ca Add values for server TTL configurables
* f123296 Add a flag to configure the Kubernetes NodeAttestor (#83)
* 0275569 Incorperate feedback
* a00c97b Incorperate feedback
* f93434a Make server service account allow list configurable
* f0b7f5b Make spire agent server address configurable
* cb627f0 Allow all subchart to conditionally disable (#90)
* 2e9510f Switch to non root nginx (#89)
* a901751 Fix Homepage URL
* 06c395f Fix sources in Chart.yaml (#85)
* d341c5a UpstreamAuthority cert-manager support (#82)
* a82ee69 Make sure all configmap changes rollout
* b7f8c86 Add extra initContainers, containers, volumes to agent and server
* 81ac89a Add k8s 1.26.0 (Kind) to the test matrix
* bb6abfc Merge pull request #76 from spiffe/dependabot/github_actions/sigstore/cosign-installer-3.0.1
* c0e5665 Bump cosign to v2.0.0
* d729a44 Bump sigstore/cosign-installer from 2.8.1 to 3.0.1
* fe7cd73 Merge pull request #74 from spiffe/arm64-support
* a3c04c0 Update supported versions
* 75480ed Bump spiffe-csi-driver image to 0.2.3 (arm64 support)
* 79889ff Bump spiffe-oidc-discovery-provider image to 1.6.0 (arm64 support)
* a632f76 Bump spire-agent image to 1.6.0 (arm64 support)
* b92e81d Bump spire-server image to 1.6.0 (arm64 support)
* fea2aa5 Fix sigstore/cosign-installer usage in release workflow
* fe93346 Use quote function instead of actual quotes
* 9480ab7 Add beta note to readme (#62)
* 4681498 Better spire-server entry commands (#59)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
If you don't have the agent and server in the same namespace or the same
cluster, or want to bind additional clusters, you need the ability to
configure the service account allow list.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
If your server is not in the same namespace or cluster as the
agent, you need a config option to specify where it is.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
With plugin support, agents and servers need more customization.
This patch enables initContainers, extraContainers, extraVolumes
and extraVolumeMounts to be added to those services.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Better spire-server entry commands
Currently in order to use the cli tools such as spire-server entry show
You must know the path within the container to the binary along with what
the path is to the socket. This patch makes that unnessisary. This now
works:
kubectl exec -it spire-server-0 -- spire-server entry show
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
* Remove setting thats set to default
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
---------
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
We follow the [CNCF Contributor Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). Additionally, we commit to the following guidelines as detailed on the [Linkerd Code of Conduct](https://github.com/linkerd/linkerd/wiki/Linkerd-code-of-conduct):
## Community Guidelines
- Our goal is to foster an inclusive and diverse community of technology enthusiasts.
- Try to be your best self. Treat your fellow community members with kindness and empathy. We welcome disagreements when they are conducted respectfully and without personal attacks.
- We ask that you keep unstructured critique to a minimum. Disparaging remarks about the project are unnecessary and a drain on community morale. Feedback should be constructive and relevant. Having passionately held opinions on what should improve is encouraged! We hope you will use that enthusiasm to roll up your sleeves and get involved by submitting pull requests. We have additional guidelines on [how to ask constructive questions](https://github.com/linkerd/linkerd/wiki/How-To-Ask-Questions-in-Slack).
- We don't tolerate insults, spamming, trolling, flaming, baiting, or harassment. We don't tolerate sexual language, imagery, or unwanted advances. Private harassment is also unacceptable.
- We do our best to avoid [subtle-isms](https://www.recurse.com/manual#sub-sec-social-rules): small actions that make others feel uncomfortable. If you witness a subtle-ism, you may respectfully point it out to the person publicly or privately, or you may ask a moderator to say something. Accidentally saying something biased is common, expected, and readily forgiven. It is not in and of itself a bannable offense.
## Moderation
- If you feel any of SPIFFE's communication channels require moderation, please e-mail the [SPIFFE Steering Committee (SSC)](mailto:ssc@spiffe.io).
Any changes to Chart.yaml or values.yaml require an update of the README.md. This update can easily be generated using [helm-docs][].
Our CI pipeline takes care of the majority of the testing of this Chart. Other ways for you to test are by running `make test` locally using:
> [!Warning]
> Ensure to run the test on a dedicated k8s cluster that does not have Spire installed yet.
```shell
```shell
./helm-docs.sh charts/«chart-name»
make test
```
```
[helm-docs]: https://github.com/norwoodj/helm-docs "Generate documentation for your Helm chart."
Another approach to testing the chart is by installing one of the examples in your own cluster to verify your contributed changes work before issueing your PR.
## Generating documentation
Any changes to Chart.yaml or values.yaml require an update of the README.md. This update can easily be generated using [readme-generator][].
```shell
./helm-docs.sh
```
## Bumping Chart version
In contrary to many other Helm repositories we do NOT require contributors to increate the Chart version. We have customized our release pipeline so we can bundle various PRs in a single release. Maintainers of the helm-charts in this repo will take care of the semantic versioning.
[readme-generator]: https://github.com/bitnami-labs/readme-generator-for-helm "Auto generate READMEs for Helm Charts."
## devcontainer support
We have a usable devcontainer with all the dev tools preinstalled to make contributions easier. You should be able to use it via Codespaces (https://github.com/codespaces/), Visual Studio Code (https://code.visualstudio.com/), DevPod (https://devpod.sh), etc. Please consult the documentation for those tools for how to use them.
- [How does this repo relate to the helm-charts repo?](#how-does-this-repo-relate-to-the-helm-charts-repo)
- [How do I migrate my changeset from the old helm-charts repo to this one?](#how-do-i-migrate-my-changeset-from-the-old-helm-charts-repo-to-this-one)
- [How do I update my helm registry to point to this one?](#how-do-i-update-my-helm-registry-to-point-to-this-one)
- [Pods are stuck terminating after uninstall. How do I fix it?](#pods-are-stuck-terminating-after-uninstall-how-do-i-fix-it)
- [Uninstall is stuck. How do I fix it?](#uninstall-is-stuck-how-do-i-fix-it)
- [The PSAT plugin is not working](#the-psat-plugin-is-not-working)
## How does this repo relate to the helm-charts repo?
The helm-charts repo has been archived. This repo has all the commit history and releases copied over from that repo and is continuing development to provide a SPIRE helm chart for the community to use and contribute to.
## How do I migrate my changeset from the old helm-charts repo to this one?
Run one of these commands to switch to the new repo:
- If working off a branch (maintainers with write access): `git remote set-url origin git@github.com:spiffe/helm-charts-hardened.git`
- If working off a fork:
1. Create a new fork of helm-charts-hardened
1. In your local clone of your old fork of helm-charts: `git remote set-url origin https://github.com/<your new fork>/helm-charts-hardened.git`
Then just `git push` your branches. Git history has been migrated over so you can just push your existing branches without issues.
## How do I update my helm registry to point to this one?
## Pods are stuck terminating after uninstall. How do I fix it?
If you uninstall the SPIRE chart before all users of the CSI driver are removed, Pods will get stuck in a terminating state waiting for the driver, that no longer is installed, to unmount the volumes for the Pod. In order to fix this, reinstall the chart and remove all affected workloads that are not part of the SPIRE helm chart itself, before attempting to remove SPIRE again.
You can discover Pods that use the driver with the following command:
If you uninstall the SPIFFE CSI driver manually before removing the chart, Pods can still be using the driver and are unable to unmount the CSI volume.
To resolve, reinstall the chart before trying to remove it again.
## The PSAT plugin is not working
The chart requires `Projected Service Account Tokens` which has to be enabled on your Kubernetes API server. In most cases this is already done for you.
> [!Note]
> This is enabled by default with newer versions as shown by the existence of:
>
> ```yaml
> - --service-account-issuer
> - --service-account-key-file
> - --service-account-signing-key-file
> ```
See [Service Account Token Volume Projection](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#serviceaccount-token-volume-projection) in the Kubernetes docs for more details.
To enable Projected Service Account Tokens on Docker for Mac/Windows run the following
command to SSH into the Docker Desktop K8s VM.
```bash
docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh
```
Then add the following to `/etc/kubernetes/manifests/kube-apiserver.yaml`
test-examples:$(patsubstexamples/%/values.yaml,test-example-%,$(wildcardexamples/*/values.yaml))## Run `helm install` and `helm test` for all the examples containing `run-tests.sh`
> 1. We do not support running out of the git main branch. This is where development happens. Please use released versions via the published repo or git tags.
> 2. All the helm charts in this repo are beta. We encourage you to try them out and contribute. The API may change as we move towards a production ready release.
See the [Instructions](https://artifacthub.io/packages/helm/spiffe/spire#install-instructions).
helm repo update
```
## Dependencies and Version Compatibility
Unless otherwise noted in an application chart README, the following dependencies will follow these prescribed version compatibility rules.
| Dependency | Supported Versions |
|:-----------|:-------------------|
| SPIRE | `1.4.x`, `1.5.x` |
| Helm | `3.x` |
For Kubernetes we will officially try to support the last 3 versions as described in [k8s versioning](https://kubernetes.io/releases/version-skew-policy/#supported-versions).
## @param global.spiffe.ingressControllerType Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""].
ingressControllerType:""
## @param trustDomain The trust domain for SPIRE
trustDomain:""
## @param caPassword Password securing the SSH CA
caPassword:""
## @param maxTLSCertDuration The maximum duration the X5C traded cert is valid for.
maxTLSCertDuration:24h
## @param defaultTLSCertDuration The default duration the X5C traded cert is valid for.
defaultTLSCertDuration:1h
## @param prefix Prefix where hosts show up that are allowed to get ssh host certs
prefix:sshd
## @param csiDriver The csi driver to use
csiDriver:csi.spiffe.io
## @skip inject
## These will be generated by the step-ca tool
inject:
secrets:
x509:
root_ca_key:""
intermediate_ca_key:""
ssh:
host_ca_key:""
user_ca_key:""
config:
files:
ca.json:
authority:{}
certificates:
root_ca:""
intermediate_ca:""
ssh_host_ca:""
ssh_user_ca:""
stepIngress:
## @param stepIngress.enabled Flag to enable ingress
enabled:false
## @param stepIngress.className Ingress class name
className:""
## @param stepIngress.controllerType Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""].
controllerType:""
## @param stepIngress.annotations [object] Annotations for the ingress object
## @param stepIngress.host Host name for the ingress. If no '.' in host, trustDomain is automatically appended. The rest of the rules will be autogenerated. For more customizability, use hosts[] instead.
host:"spiffe-step-ssh"
## @param stepIngress.tlsSecret Secret that has the certs. If blank will use default certs. Used with host var.
tlsSecret:""
## @param stepIngress.hosts [array] Host paths for ingress object. If empty, rules will be built based on the host var.
hosts:[]
# - host: spiffe-step-ssh.example.org
# paths:
# - path: /
# pathType: Prefix
## @param stepIngress.tls [array] Secrets containing TLS certs to enable https on ingress. If empty, rules will be built based on the host and tlsSecret vars.
tls:[]
# - hosts:
# - spiffe-step-ssh.example.org
## @skip step
step:
service:
port:443
targetPort:8443
inject:
enabled:false
bootstrap:
enabled:false
configmaps:false
secrets:false
existingSecrets:
enabled:true
ca:true
issuer:true
certsAsSecret:false
configAsSecret:false
sshHostCa:true
sshUserCa:true
spiffeHelper:
## @param spiffeHelper.image.registry The OCI registry to pull the image from
## @param spiffeHelper.image.repository The repository within the registry
## @param spiffeHelper.image.pullPolicy The image pull policy
## @param spiffeHelper.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry:ghcr.io
repository:spiffe/spiffe-helper
pullPolicy:IfNotPresent
tag:0.8.0
nginx:
## @param nginx.image.registry The OCI registry to pull the image from
## @param nginx.image.repository The repository within the registry
## @param nginx.image.pullPolicy The image pull policy
## @param nginx.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry:docker.io
repository:nginxinc/nginx-unprivileged
pullPolicy:IfNotPresent
tag:1.25.3-alpine
kubectl:
## @param kubectl.image.registry The OCI registry to pull the image from
## @param kubectl.image.repository The repository within the registry
## @param kubectl.image.pullPolicy The image pull policy
## @param kubectl.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry:registry.k8s.io
repository:kubectl
pullPolicy:IfNotPresent
tag:""
yq:
## @param yq.image.registry The OCI registry to pull the image from
## @param yq.image.repository The repository within the registry
## @param yq.image.pullPolicy The image pull policy
## @param yq.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry:docker.io
repository:mikefarah/yq
pullPolicy:IfNotPresent
tag:"4.40.5"
busybox:
## @param busybox.image.registry The OCI registry to pull the image from
## @param busybox.image.repository The repository within the registry
## @param busybox.image.pullPolicy The image pull policy
## @param busybox.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry:docker.io
repository:busybox
pullPolicy:IfNotPresent
tag:"1.36.1-uclibc"
## @param imagePullSecrets [array] Pull secrets for images
imagePullSecrets:[]
## @param nameOverride Name override
nameOverride:""
## @param fullnameOverride Fullname override
fullnameOverride:""
## @param serviceAccount.create Specifies whether a service account should be created
## @param serviceAccount.annotations [object] Annotations to add to the service account
## @param serviceAccount.name The name of the service account to use. If not set and create is true, a name is generated.
##
serviceAccount:
create:true
annotations:{}
name:""
## @param podAnnotations [object] Additional pod annotations to add
podAnnotations:{}
## @param podLabels [object] Additional pod labels to add
podLabels:{}
## @param podSecurityContext [object} Specify pod security context settings
## @param fetchCA.replicaCount Number of replicas to launch
replicaCount:1
## @param fetchCA.service.type The type of service to deploy
## @param fetchCA.service.port The port number of the service port
service:
type:ClusterIP
port:443
ingress:
## @param fetchCA.ingress.enabled Flag to enable ingress
enabled:false
## @param fetchCA.ingress.className Ingress class name
className:""
## @param fetchCA.ingress.controllerType Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""].
controllerType:""
## @param fetchCA.ingress.annotations [object] Annotations for the ingress object
## @param fetchCA.ingress.host Host name for the ingress. If no '.' in host, trustDomain is automatically appended. The rest of the rules will be autogenerated. For more customizability, use hosts[] instead.
host:"spiffe-step-ssh-fetchca"
## @param fetchCA.ingress.tlsSecret Secret that has the certs. If blank will use default certs. Used with host var.
tlsSecret:""
## @param fetchCA.ingress.hosts [array] Host paths for ingress object. If empty, rules will be built based on the host var.
hosts:[]
# - host: spiffe-step-ssh-fetchca.example.org
# paths:
# - path: /
# pathType: Prefix
## @param fetchCA.ingress.tls [array] Secrets containing TLS certs to enable https on ingress. If empty, rules will be built based on the host and tlsSecret vars.
description:ClusterStaticEntry is the Schema for the clusterstaticentries
API
properties:
apiVersion:
description:'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type:string
kind:
description:'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type:string
metadata:
type:object
spec:
description:ClusterStaticEntrySpec defines the desired state of ClusterStaticEntry
properties:
admin:
type:boolean
className:
description:Set the class of controller to handle this object.
type:string
dnsNames:
items:
type:string
type:array
downstream:
type:boolean
federatesWith:
items:
type:string
type:array
hint:
type:string
jwtSVIDTTL:
type:string
parentID:
type:string
selectors:
items:
type:string
type:array
spiffeID:
type:string
storeSVID:
type:boolean
x509SVIDTTL:
type:string
required:
- parentID
- selectors
- spiffeID
type:object
status:
description:ClusterStaticEntryStatus defines the observed state of ClusterStaticEntry
properties:
masked:
description:If the static entry was masked by another entry.
type:boolean
rendered:
description:If the static entry rendered properly.
type:boolean
set:
description:If the static entry was successfully created/updated.
A Helm chart for deploying the complete Spire stack including:spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
Preparing a production deployment requires a few steps.
1. Save the following to your-values.yaml, ideally in your git repo.
```yaml
global:
openshift: false # If running on openshift, set to true
spire:
recommendations:
enabled: true
namespaces:
create: true
ingressControllerType: "" # If not openshift, and want to expose services, set to a supported option [ingress-nginx]
# Update these
clusterName: example-cluster
trustDomain: example.org
caSubject:
country: ARPA
organization: Example
commonName: example.org
```
2. If you need a non default storageClass, append the following to the spire-server section and update:
```
persistence:
storageClass: your-storage-class
```
3. If your Kubernetes cluster is OpenShift based, use the output of the following command to update the trustDomain setting:
```shell
oc get cm -n openshift-config-managed console-public -o go-template="{{ .data.consoleURL }}" | sed 's@https://@@; s/^[^.]*\.//'
```
4. Find any additional values you might want to set based on the documentation below or using the [examples](https://github.com/spiffe/helm-charts-hardened/tree/main/examples)
In particular, consider using an external database.
We only support upgrading one major version at a time. Version skipping isn't supported.
### 0.17.X
- If you set spire-server.replicaCount > 1, update it to 1 before upgrading and after upgrade you can set it back to its previous value.
- The SPIFFE OIDC Discovery Provider now has many new TLS options and defaults to using SPIRE to issue its certificate.
- The `spiffe-oidc-discovery-provider.insecureScheme.enabled` flag was removed. If you previously set that flag, remove the setting from your values.yaml and see if the new default of using a SPIRE issued certificate is suitable for your deployment. If it isn't, please consider one of the other options under `spiffe-oidc-discovery-provider.tls`. If all other options are still unsuitable, you can still enable the previous mode by disabling TLS. (`spiffe-oidc-discovery-provider.tls.spire.enabled=false`)
- The SPIFFE OIDC Discovery Provider is now enabled by default. If you previously chose to have it off, you can disable it explicitly with `spiffe-oidc-discovery-provider.enabled=false`.
### 0.16.X
The settings under "spire-server.controllerManager.identities" have all been moved under "spire-server.controllerManager.identities.clusterSPIFFEIDs.default". If you have changed any from the defaults, please update them to the new location during upgrade.
### 0.15.X
The spire-crds chart has been updated. Please ensure you have upgraded spire-crds before upgrading the spire chart.
The chart now supports multiple parallel installs of spire-controller-manager. Each install will handle all custom resources with a matching `className` field. By default this is set to `Release.Namespace-Release.Name` and the controller manager will only pick up custom resources with this `className`.
If you have not loaded any SPIRE custom resources yourself, the upgrade process will be transparent. If you have loaded your own SPIRE custom resources, set `spire-server.controllerManager.watchClassless=true` until you can update your SPIRE custom resources to have the `className` for the instance specified.
### 0.14.X
If coming from a chart version before 0.14.0, you must relabel your crds to switch to using the new spire-crds chart. To migrate to the spire-crds chart
run the following:
Replace the spire-server namespace in the commands below with the namespace you want to install the spire-crds chart in.
> This Chart is still in development and still subject to change the API (`values.yaml`).
> Until we reach a `1.0.0` version of the chart we can't guarantee backwards compatibility although
> we do aim for as much stability as possible.
| Dependency | Supported Versions |
|:-----------|:-------------------|
| Helm | `3.x` |
| Kubernetes | `1.22+` |
> [!Note]
> For Kubernetes, we will officially support the last 3 versions as described in [k8s versioning](https://kubernetes.io/releases/version-skew-policy/#supported-versions). Any version before the last 3 we will try to support as long it doesn't bring security issues or any big maintenance burden.
## FAQ
For any issues see our [FAQ](../../FAQ.md)…
## Usage
To utilize Spire in your own workloads you should add the following to your workload:
```diff
apiVersion: v1
kind: Pod
metadata:
name: my-app
spec:
containers:
- name: my-app
image: "my-app:latest"
imagePullPolicy: Always
+ volumeMounts:
+ - name: spiffe-workload-api
+ mountPath: /spiffe-workload-api
+ readOnly: true
resources:
requests:
cpu: 200m
memory: 32Mi
limits:
cpu: 500m
memory: 64Mi
+ volumes:
+ - name: spiffe-workload-api
+ csi:
+ driver: "csi.spiffe.io"
+ readOnly: true
```
Now you can interact with the Spire agent socket from your own application. The socket is mounted on `/spiffe-workload-api/spire-agent.sock`.
| `global.k8s.clusterDomain` | Cluster domain name configured for Spire install | `cluster.local` |
| `global.spire.clusterName` | The name of the k8s cluster for Spire install | `example-cluster` |
| `global.spire.jwtIssuer` | The issuer for Spire JWT tokens. Defaults to oidc-discovery.$trustDomain if unset | `""` |
| `global.spire.trustDomain` | The trust domain for Spire install | `example.org` |
| `global.spire.caSubject.country` | Country for Spire server CA | `""` |
| `global.spire.caSubject.organization` | Organization for Spire server CA | `""` |
| `global.spire.caSubject.commonName` | Common Name for Spire server CA | `""` |
| `global.spire.recommendations.enabled` | Use recommended settings for production deployments. Default is off. | `false` |
| `global.spire.recommendations.namespaceLayout` | Set to true to use recommended values for installing across namespaces | `true` |
| `global.spire.recommendations.namespacePSS` | When chart namespace creation is enabled, label them with preffered Pod Security Standard labels | `true` |
| `global.spire.recommendations.priorityClassName` | Set to true to use recommended values for Pod Priority Class Names | `true` |
| `global.spire.recommendations.strictMode` | Check values, such as trustDomain, are overridden with a suitable value for production. | `true` |
| `global.spire.recommendations.securityContexts` | Set to true to use recommended values for Pod and Container Security Contexts | `true` |
| `global.spire.image.registry` | Override all Spire image registries at once | `""` |
| `global.spire.namespaces.create` | Set to true to Create all namespaces. If this or either of the namespace specific create flags is set, the namespace will be created. | `false` |
| `global.spire.namespaces.system.name` | Name of the Spire system Namespace. | `spire-system` |
| `global.spire.namespaces.system.create` | Create a Namespace for Spire system resources. | `false` |
| `global.spire.namespaces.system.annotations` | Annotations to apply to the Spire system Namespace. | `{}` |
| `global.spire.namespaces.system.labels` | Labels to apply to the Spire system Namespace. | `{}` |
| `global.spire.namespaces.server.name` | Name of the Spire server Namespace. | `spire-server` |
| `global.spire.namespaces.server.create` | Create a Namespace for Spire server resources. | `false` |
| `global.spire.namespaces.server.annotations` | Annotations to apply to the Spire server Namespace. | `{}` |
| `global.spire.namespaces.server.labels` | Labels to apply to the Spire server Namespace. | `{}` |
| `global.spire.strictMode` | Check values, such as trustDomain, are overridden with a suitable value for production. | `false` |
| `global.spire.ingressControllerType` | Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""]. | `""` |
| `global.spire.tools.kubectl.tag` | Set to force the tag to use for all kubectl instances | `""` |
| `global.installAndUpgradeHooks.enabled` | Enable Helm hooks to autofix common install/upgrade issues (should be disabled when using `helm template`) | `true` |
| `global.deleteHooks.enabled` | Enable Helm hooks to autofix common delete issues (should be disabled when using `helm template`) | `true` |
| `tags.nestedRoot` | Set the chart architecture to root nested | `false` |
| `tags.nestedChildFull` | Set the chart mode to a child cluster with its own nested server | `false` |
| `tags.nestedChildSecurity` | Set the chart mode to a child cluster for use with a security cluster | `false` |
| `downstream-spire-agent-full.nameOverride` | Overrides the name of Spire agent pods | `agent-downstream` |
| `downstream-spire-agent-full.server.nameOverride` | The name override setting of the internal SPIRE server | `internal-server` |
| `downstream-spire-agent-full.bundleConfigMap` | The name of the configmap that contains the downstream bundle | `spire-bundle-downstream` |
| `downstream-spire-agent-full.persistence.hostPath` | Which path to use on the host when persistence.type = hostPath | `/var/lib/spire/k8s/downstream-agent` |
| `downstream-spire-agent-security.nameOverride` | Overrides the name of Spire agent pods | `agent-downstream` |
| `downstream-spire-agent-security.bundleConfigMap` | The name of the configmap that contains the downstream bundle | `spire-bundle-upstream` |
| `downstream-spire-agent-security.serviceAccount.name` | The name of the service account to use | `spire-agent-upstream` |
| `downstream-spire-agent-security.persistence.hostPath` | Which path to use on the host when persistence.type = hostPath | `/var/lib/spire/k8s/downstream-agent` |
| `root-spire-server.controllerManager.externalControllerManagers.enabled` | Flag to enable external controller managers | `true` |
| `root-spire-server.controllerManager.validatingWebhookConfiguration.enabled` | Disable only when you have another instance on the k8s cluster with webhooks enabled. | `false` |
| `root-spire-server.controllerManager.className` | specify to use an explicit class name. | `spire-mgmt-root-server` |
| `root-spire-server.controllerManager.identities.clusterSPIFFEIDs.default.enabled` | Enable the default cluster spiffe id | `false` |
| `root-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled` | Enable the test-keys identity | `false` |
| `root-spire-server.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled` | Enable the test-keys identity | `false` |
| `root-spire-server.externalControllerManagers.enabled` | Flag to enable external controller managers | `true` |
| `root-spire-server.nodeAttestor.k8sPSAT.serviceAccountAllowList` | Allowed service accounts for PSAT nodeattestor | `[]` |
| `root-spire-server.bundleConfigMap` | The name of the configmap to store the upstream bundle | `spire-bundle-upstream` |
| `external-root-spire-server-full.externalServer` | Set to true to setup the bundle configmap, rbac rules, and identity documents but doesn't deploy the server locally. Useful for external servers. | `true` |
| `external-root-spire-server-full.nameOverride` | Name override | `root-server` |
| `external-root-spire-server-full.crNameOverride` | Custom Resource name override | `root` |
| `external-root-spire-server-full.controllerManager.validatingWebhookConfiguration.enabled` | Disable only when you have another instance on the k8s cluster with webhooks enabled. | `false` |
| `external-root-spire-server-full.controllerManager.className` | specify to use an explicit class name. | `spire-mgmt-external-server` |
| `external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.default.enabled` | Enable the default cluster spiffe id | `false` |
| `external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled` | Enable the test-keys identity | `false` |
| `external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled` | Enable the test-keys identity | `false` |
| `external-root-spire-server-full.nodeAttestor.k8sPSAT.serviceAccountAllowList` | Allowed service accounts for PSAT nodeattestor | `[]` |
| `external-root-spire-server-full.bundleConfigMap` | The name of the configmap to store the upstream bundle | `spire-bundle-upstream` |
| `external-root-spire-server-security.externalServer` | Set to true to setup the bundle configmap, rbac rules, and identity documents but doesn't deploy the server locally. Useful for external servers. | `true` |
| `external-root-spire-server-security.nameOverride` | Name override | `root-server` |
| `external-root-spire-server-security.crNameOverride` | Custom Resource name override | `root` |
| `external-root-spire-server-security.controllerManager.validatingWebhookConfiguration.enabled` | Disable only when you have another instance on the k8s cluster with webhooks enabled. | `false` |
| `external-root-spire-server-security.controllerManager.className` | specify to use an explicit class name. | `spire-mgmt-external-server` |
| `external-root-spire-server-security.nodeAttestor.k8sPSAT.serviceAccountAllowList` | Allowed service accounts for PSAT nodeattestor | `[]` |
| `external-root-spire-server-security.bundleConfigMap` | The name of the configmap to store the upstream bundle | `spire-bundle-upstream` |
| `internal-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.autoPopulateDNSNames` | Auto populate dns entries | `false` |
| `internal-spire-server.externalControllerManagers.enabled` | Flag to enable external controller managers | `true` |
| `internal-spire-server.upstreamAuthority.spire.enabled` | Enable upstream SPIRE server | `true` |
| `internal-spire-server.upstreamAuthority.spire.upstreamDriver` | Use an upstream driver for authentication | `upstream.csi.spiffe.io` |
| `internal-spire-server.upstreamAuthority.spire.server.nameOverride` | The name override setting of the root SPIRE server | `root-server` |
| `internal-spire-server.bundleConfigMap` | The name of the configmap to store the downstream bundle | `spire-bundle-downstream` |
| `external-spire-server.nameOverride` | Overrides the name of Spire server pods | `external-server` |
| `external-spire-server.crNameOverride` | Custom Resource name override | `external` |
| `external-spire-server.controllerManager.validatingWebhookConfiguration.enabled` | Disable only when you have another instance on the k8s cluster with webhooks enabled. | `false` |
| `external-spire-server.controllerManager.className` | specify to use an explicit class name. | `spire-mgmt-external-server` |
| `external-spire-server.controllerManager.identities.clusterSPIFFEIDs.default.enabled` | Enable the default identity | `false` |
| `external-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled` | Enable the oidc-discovery-provider identity | `false` |
| `external-spire-server.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled` | Enable the test-keys identity | `false` |
| `external-spire-server.externalControllerManagers.enabled` | Flag to enable external controller managers | `true` |
| `external-spire-server.upstreamAuthority.spire.enabled` | Enable upstream SPIRE server | `true` |
| `external-spire-server.upstreamAuthority.spire.upstreamDriver` | Use an upstream driver for authentication | `upstream.csi.spiffe.io` |
| `external-spire-server.upstreamAuthority.spire.server.nameOverride` | The name override setting of the root SPIRE server | `root-server` |
## Note: the parameter values specified here will override the chart level values for these parameters.
##
global:
k8s:
## @param global.k8s.clusterDomain Cluster domain name configured for Spire install
clusterDomain:cluster.local
spire:
## @param global.spire.clusterName The name of the k8s cluster for Spire install
clusterName:example-cluster
## @param global.spire.jwtIssuer The issuer for Spire JWT tokens. Defaults to oidc-discovery.$trustDomain if unset
jwtIssuer:""
## @param global.spire.trustDomain The trust domain for Spire install
trustDomain:example.org
## @param global.spire.caSubject.country Country for Spire server CA
## @param global.spire.caSubject.organization Organization for Spire server CA
## @param global.spire.caSubject.commonName Common Name for Spire server CA
caSubject:
country:""
organization:""
commonName:""
## @param global.spire.recommendations.enabled Use recommended settings for production deployments. Default is off.
## @param global.spire.recommendations.namespaceLayout Set to true to use recommended values for installing across namespaces
## @param global.spire.recommendations.namespacePSS When chart namespace creation is enabled, label them with preffered Pod Security Standard labels
## @param global.spire.recommendations.priorityClassName Set to true to use recommended values for Pod Priority Class Names
## @param global.spire.recommendations.strictMode Check values, such as trustDomain, are overridden with a suitable value for production.
## @param global.spire.recommendations.securityContexts Set to true to use recommended values for Pod and Container Security Contexts
## @param global.spire.recommendations.prometheus Enable prometheus exporters for monitoring
recommendations:
enabled:false
namespaceLayout:true
namespacePSS:true
priorityClassName:true
strictMode:true
securityContexts:true
prometheus:true
image:
## @param global.spire.image.registry Override all Spire image registries at once
registry:""
namespaces:
## @param global.spire.namespaces.create Set to true to Create all namespaces. If this or either of the namespace specific create flags is set, the namespace will be created.
create:false
system:
## @param global.spire.namespaces.system.name Name of the Spire system Namespace.
name:"spire-system"
## @param global.spire.namespaces.system.create Create a Namespace for Spire system resources.
create:false
## @param global.spire.namespaces.system.annotations [object] Annotations to apply to the Spire system Namespace.
annotations:{}
## @param global.spire.namespaces.system.labels [object] Labels to apply to the Spire system Namespace.
labels:{}
server:
## @param global.spire.namespaces.server.name Name of the Spire server Namespace.
name:"spire-server"
## @param global.spire.namespaces.server.create Create a Namespace for Spire server resources.
create:false
## @param global.spire.namespaces.server.annotations [object] Annotations to apply to the Spire server Namespace.
annotations:{}
## @param global.spire.namespaces.server.labels [object] Labels to apply to the Spire server Namespace.
labels:{}
## @param global.spire.strictMode Check values, such as trustDomain, are overridden with a suitable value for production.
strictMode:false
## @param global.spire.ingressControllerType Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""].
ingressControllerType:""
tools:
kubectl:
## @param global.spire.tools.kubectl.tag Set to force the tag to use for all kubectl instances
tag:""
installAndUpgradeHooks:
## @param global.installAndUpgradeHooks.enabled Enable Helm hooks to autofix common install/upgrade issues (should be disabled when using `helm template`)
enabled:true
deleteHooks:
## @param global.deleteHooks.enabled Enable Helm hooks to autofix common delete issues (should be disabled when using `helm template`)
enabled:true
# telemetry:
# prometheus:
# enabled: true
# podMonitor:
# enabled: true
# # -- Allows to install the PodMonitor in another namespace then the spire components are installed into.
# namespace: "kube-prometheus-system"
# labels: {}
tags:
## @param tags.nestedRoot Set the chart architecture to root nested
nestedRoot:false
## @param tags.nestedChildFull Set the chart mode to a child cluster with its own nested server
nestedChildFull:false
## @param tags.nestedChildSecurity Set the chart mode to a child cluster for use with a security cluster
nestedChildSecurity:false
## subcharts
## @section Spire agent parameters
## Parameter values for Spire agent
##
# Used with tags [nestedRoot, nestedChildFull]
downstream-spire-agent-full:
# enabled: true
## @param downstream-spire-agent-full.nameOverride Overrides the name of Spire agent pods
nameOverride:agent-downstream
server:
## @param downstream-spire-agent-full.server.nameOverride The name override setting of the internal SPIRE server
nameOverride:internal-server
## @param downstream-spire-agent-full.bundleConfigMap The name of the configmap that contains the downstream bundle
bundleConfigMap:spire-bundle-downstream
## @param downstream-spire-agent-full.persistence.hostPath Which path to use on the host when persistence.type = hostPath
persistence:
hostPath:/var/lib/spire/k8s/downstream-agent
## @section Spire agent parameters
## Parameter values for Spire agent
##
# Used with tags [nestedChildSecurity]
downstream-spire-agent-security:
# enabled: true
## @param downstream-spire-agent-security.nameOverride Overrides the name of Spire agent pods
nameOverride:agent-downstream
## @param downstream-spire-agent-security.bundleConfigMap The name of the configmap that contains the downstream bundle
bundleConfigMap:spire-bundle-upstream
serviceAccount:
## @param downstream-spire-agent-security.serviceAccount.name The name of the service account to use
name:spire-agent-upstream
## @param downstream-spire-agent-security.persistence.hostPath Which path to use on the host when persistence.type = hostPath
persistence:
hostPath:/var/lib/spire/k8s/downstream-agent
## @section Upstream Spire agent parameters
## Parameter values for upstream Spire agent
##
# Used with tags [nestedRoot, nestedChildFull]
upstream-spire-agent:
# enabled: true
## @param upstream-spire-agent.upstream Flag for enabling upstream Spire agent
upstream:true
## @param upstream-spire-agent.nameOverride Name override for upstream Spire agent
nameOverride:agent-upstream
## @param upstream-spire-agent.bundleConfigMap The configmap name for upstream Spire agent bundle
bundleConfigMap:spire-bundle-upstream
## @param upstream-spire-agent.socketPath Socket path where Spire agent socket is mounted
## @param tornjak-frontend.enabled Enables deployment of Tornjak frontend/UI (Not for production)
enabled:false
# Used with tags [nestedRoot]
root-spire-server:
# enabled: true
## @param root-spire-server.nameOverride Name override
nameOverride:root-server
## @param root-spire-server.crNameOverride Custom Resource name override
crNameOverride:root
controllerManager:
## @param root-spire-server.controllerManager.enabled Enable controller manager and provision CRD's
enabled:true
externalControllerManagers:
## @param root-spire-server.controllerManager.externalControllerManagers.enabled Flag to enable external controller managers
enabled:true
validatingWebhookConfiguration:
## @param root-spire-server.controllerManager.validatingWebhookConfiguration.enabled Disable only when you have another instance on the k8s cluster with webhooks enabled.
enabled:false
## @param root-spire-server.controllerManager.className specify to use an explicit class name.
## @param root-spire-server.controllerManager.identities.clusterSPIFFEIDs.default.enabled Enable the default cluster spiffe id
enabled:false
oidc-discovery-provider:
## @param root-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled Enable the test-keys identity
enabled:false
test-keys:
## @param root-spire-server.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled Enable the test-keys identity
enabled:false
externalControllerManagers:
## @param root-spire-server.externalControllerManagers.enabled Flag to enable external controller managers
enabled:true
nodeAttestor:
k8sPSAT:
## @param root-spire-server.nodeAttestor.k8sPSAT.serviceAccountAllowList [array] Allowed service accounts for PSAT nodeattestor
serviceAccountAllowList:
- spire-agent-upstream
## @param root-spire-server.bundleConfigMap The name of the configmap to store the upstream bundle
bundleConfigMap:spire-bundle-upstream
# Used with tags [nestedChildFull]
external-root-spire-server-full:
## @param external-root-spire-server-full.externalServer Set to true to setup the bundle configmap, rbac rules, and identity documents but doesn't deploy the server locally. Useful for external servers.
externalServer:true
## @param external-root-spire-server-full.nameOverride Name override
nameOverride:root-server
## @param external-root-spire-server-full.crNameOverride Custom Resource name override
crNameOverride:root
controllerManager:
## @param external-root-spire-server-full.controllerManager.enabled Enable controller manager and provision CRD's
enabled:true
validatingWebhookConfiguration:
## @param external-root-spire-server-full.controllerManager.validatingWebhookConfiguration.enabled Disable only when you have another instance on the k8s cluster with webhooks enabled.
enabled:false
## @param external-root-spire-server-full.controllerManager.className specify to use an explicit class name.
## @param external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.default.enabled Enable the default cluster spiffe id
enabled:false
oidc-discovery-provider:
## @param external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled Enable the test-keys identity
enabled:false
test-keys:
## @param external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled Enable the test-keys identity
enabled:false
nodeAttestor:
k8sPSAT:
## @param external-root-spire-server-full.nodeAttestor.k8sPSAT.serviceAccountAllowList [array] Allowed service accounts for PSAT nodeattestor
serviceAccountAllowList:
- spire-agent-upstream
## @param external-root-spire-server-full.bundleConfigMap The name of the configmap to store the upstream bundle
bundleConfigMap:spire-bundle-upstream
# Used with tags [nestedChildSecurity]
external-root-spire-server-security:
## @param external-root-spire-server-security.externalServer Set to true to setup the bundle configmap, rbac rules, and identity documents but doesn't deploy the server locally. Useful for external servers.
externalServer:true
## @param external-root-spire-server-security.nameOverride Name override
nameOverride:root-server
## @param external-root-spire-server-security.crNameOverride Custom Resource name override
crNameOverride:root
controllerManager:
## @param external-root-spire-server-security.controllerManager.enabled Enable controller manager and provision CRD's
enabled:true
validatingWebhookConfiguration:
## @param external-root-spire-server-security.controllerManager.validatingWebhookConfiguration.enabled Disable only when you have another instance on the k8s cluster with webhooks enabled.
enabled:false
## @param external-root-spire-server-security.controllerManager.className specify to use an explicit class name.
className:spire-mgmt-external-server
nodeAttestor:
k8sPSAT:
## @param external-root-spire-server-security.nodeAttestor.k8sPSAT.serviceAccountAllowList [array] Allowed service accounts for PSAT nodeattestor
serviceAccountAllowList:
- spire-agent-upstream
## @param external-root-spire-server-security.bundleConfigMap The name of the configmap to store the upstream bundle
bundleConfigMap:spire-bundle-upstream
## @section Spire server parameters
## Parameter values for Spire server
##
# Used with tags [nestedRoot, nestedChildFull]
internal-spire-server:
# enabled: true
## @param internal-spire-server.nameOverride Overrides the name of Spire server pods
nameOverride:internal-server
controllerManager:
## @param internal-spire-server.controllerManager.enabled Enable controller manager and provision CRD's
enabled:true
identities:
clusterSPIFFEIDs:
oidc-discovery-provider:
## @param internal-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.autoPopulateDNSNames Auto populate dns entries
autoPopulateDNSNames:false
externalControllerManagers:
## @param internal-spire-server.externalControllerManagers.enabled Flag to enable external controller managers
enabled:true
upstreamAuthority:
spire:
## @param internal-spire-server.upstreamAuthority.spire.enabled Enable upstream SPIRE server
enabled:true
## @param internal-spire-server.upstreamAuthority.spire.upstreamDriver Use an upstream driver for authentication
upstreamDriver:upstream.csi.spiffe.io
server:
## @param internal-spire-server.upstreamAuthority.spire.server.nameOverride The name override setting of the root SPIRE server
nameOverride:root-server
## @param internal-spire-server.bundleConfigMap The name of the configmap to store the downstream bundle
bundleConfigMap:spire-bundle-downstream
# Used with tags [nestedRoot]
external-spire-server:
# enabled: true
## @param external-spire-server.nameOverride Overrides the name of Spire server pods
nameOverride:external-server
## @param external-spire-server.crNameOverride Custom Resource name override
crNameOverride:external
controllerManager:
## @param external-spire-server.controllerManager.enabled Enable controller manager and provision CRD's
enabled:true
validatingWebhookConfiguration:
## @param external-spire-server.controllerManager.validatingWebhookConfiguration.enabled Disable only when you have another instance on the k8s cluster with webhooks enabled.
enabled:false
## @param external-spire-server.controllerManager.className specify to use an explicit class name.
className:spire-mgmt-external-server
identities:
clusterSPIFFEIDs:
default:
## @param external-spire-server.controllerManager.identities.clusterSPIFFEIDs.default.enabled Enable the default identity
enabled:false
oidc-discovery-provider:
## @param external-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled Enable the oidc-discovery-provider identity
enabled:false
test-keys:
## @param external-spire-server.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled Enable the test-keys identity
enabled:false
externalControllerManagers:
## @param external-spire-server.externalControllerManagers.enabled Flag to enable external controller managers
enabled:true
upstreamAuthority:
spire:
## @param external-spire-server.upstreamAuthority.spire.enabled Enable upstream SPIRE server
enabled:true
## @param external-spire-server.upstreamAuthority.spire.upstreamDriver Use an upstream driver for authentication
upstreamDriver:upstream.csi.spiffe.io
server:
## @param external-spire-server.upstreamAuthority.spire.server.nameOverride The name override setting of the root SPIRE server
nameOverride:root-server
bundlePublisher:
k8sConfigMap:
## @param external-spire-server.bundlePublisher.k8sConfigMap.enabled Enable local k8s bundle uploader
A Helm chart for deploying the complete Spire stack including:spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
A Helm chart for deploying the complete Spire stack including:spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
ingressControllerType: "" # If not openshift, and want to expose services, set to a supported option [ingress-nginx]
# Update these
clusterName: example-cluster
trustDomain: example.org
caSubject:
country: ARPA
organization: Example
commonName: example.org
```
```
2. If you need a non default storageClass, append the following to the global.spire section and update:
```
persistence:
storageClass: your-storage-class
```
3. If your Kubernetes cluster is OpenShift based, use the output of the following command to update the trustDomain setting:
```shell
oc get cm -n openshift-config-managed console-public -o go-template="{{ .data.consoleURL }}" | sed 's@https://@@; s/^[^.]*\.//'
```
4. Find any additional values you might want to set based on the documentation below or using the [examples](https://github.com/spiffe/helm-charts-hardened/tree/main/examples)
In particular, consider using an external database.
We only support upgrading one major/minor version at a time. Version skipping isn't supported. Please see <https://spiffe.io/docs/latest/spire-helm-charts-hardened-about/upgrading/> for details.
### 0.26.X
- The notifier.k8sBundle plugin has been deprecated in favor of bundlePublisher.k8sConfigMap. The only features it does not provide are the settings `apiServiceLabel` and `webhookLabel`. If you are using either of these two features, set the chart to use the notifier.k8sBundle plugin again, and let us know. We don't think anyone is using these features.
- The default trust bundle format has been changed to `spiffe`. This switch should be transparent unless you ware fetching the bundle from the configmap manually, or have a nested setup and dont upgrade the root, then child clusters in short order.
### 0.24.X
- You must upgrade [spire-crds](https://artifacthub.io/packages/helm/spiffe/spire-crds) to 0.5.0+ before performing this upgrade.
- SPIRE changed the default in 1.11.0 from `spire-agent.workloadAttestors.k8s.useNewContainerLocator=false` to `spire-agent.workloadAttestors.k8s.useNewContainerLocator=true`
- In order to make it easier to target specific SPIFFE IDs to workloads, a fallback feature was added to ClusterSPIFFEIDs so that a default ID will only apply when no others do. To change back to the previous behavior, use `spire-server.controllerManager.identities.clusterSPIFFEIDs.default.fallback=false`. The new default is unlikely to need changes.
- We now set a hint of the ClusterSPIFFEID name on each entry created by default. This can be undone by setting the `hint=""` property on the ClusterSPIFFEID. The new default is unlikely to need changes.
- We have added the remaining options needed for the SPIRE Server SQL data store plugin as native values. We have removed `spire-server.dataStore.sql.plugin_data` section as it is no longer needed. If you are using it, please migrate your settings to the ones under `spire-server.dataStore.sql`.
- For users of `spire-server.upstreamAuthority.certManager`, a bug was discovered with templates not honoring `global.spire.caSubject.*`. It has been fixed, but may change values if you are not careful. Please double check the new settings are what you need them to be before completing the upgrade.
- Lastly, as we approach 1.0.0, we would like to ensure all the values follow the same convention. We have made a bunch of minor changes to the values in this version to make sure they are all camel cased and properly capitalized. If you are upgrading from a previous version, please look though this list carefully to see if a value you are using is impacted:
In previous versions, the setting spire-agent.workloadAttestors.k8s.skipKubeletVerification was set to true by default. Starting in 0.23.x, we removed that setting and replaced it with
spire-agent.workloadAttestors.k8s.verification.type. It defaults to "skip" which will have the same behavior as before. In a future version, it will be set to "auto". Please try
setting it to this with your deployment and let us know if you run into any problems so we can fix it before we change the default for everyone.
### 0.21.X
- In previous versions, spire-server.upstreamAuthority.certManager.issuer_name would incorrectly have '-ca' appended. Starting with this version, that is no longer the case. If you previously set this
value, you likely want to update your value to include the '-ca' suffix in the value to have your deployment continue to function properly.
- The default value of spire-server.controllerManager.entryIDPrefixCleanup changed from "" to false. Prior to this release upgrades cleaned up old entries in the database. After upgrading to 0.21.X, manual entries will not be overridden by the spire-controller-manager. Skipping over chart releases (unsupported), requires manual setting of this value to "" to trigger the cleanup.
### 0.20.X
- The default service port for the spire-server was changed to be port 443 to allow easier switching between internal access and external access through an ingress controller. For most users, this will be a transparent
change.
- This release configures the entries managed by the spire-controller-manager to move into their own managed space within SPIRE. This should be transparent. In a future release, we will
disable cleanup by default of the old space. This release lays the groundwork for future support for manually created entries in the SPIRE database without the spire-controller-manager
destroying them. It is supported in this release by manually setting spire-server.controllerManager.entryIDPrefixCleanup=false after successfully upgrading to the chart without the
setting and waiting for a spire-controller-manager sync.
### 0.19.X
- The spire-agent daemonset gained a new label. For those disabling the upgrade hooks, you need to delete the spire-agent daemonset before issuing the helm upgrade.
### 0.18.X
- SPIRE no longer emits x509UniqueIdentifiers in x509-SVIDS by default. The old behavior can be reenabled with spire-server.credentialComposer.uniqueID.enabled=true. See <https://github.com/spiffe/spire/pull/4862> for details.
- SPIRE agents will now automatically reattest when they can. The old behavior can be reenabled with spire-agent.disableReattestToRenew=true. See <https://github.com/spiffe/spire/pull/4791> for details.
### 0.17.X
- If you set spire-server.replicaCount > 1, update it to 1 before upgrading and after upgrade you can set it back to its previous value.
- The SPIFFE OIDC Discovery Provider now has many new TLS options and defaults to using SPIRE to issue its certificate.
- The `spiffe-oidc-discovery-provider.insecureScheme.enabled` flag was removed. If you previously set that flag, remove the setting from your values.yaml and see if the new default of using a SPIRE issued certificate is suitable for your deployment. If it isn't, please consider one of the other options under `spiffe-oidc-discovery-provider.tls`. If all other options are still unsuitable, you can still enable the previous mode by disabling TLS. (`spiffe-oidc-discovery-provider.tls.spire.enabled=false`)
- The SPIFFE OIDC Discovery Provider is now enabled by default. If you previously chose to have it off, you can disable it explicitly with `spiffe-oidc-discovery-provider.enabled=false`.
### 0.16.X
The settings under "spire-server.controllerManager.identities" have all been moved under "spire-server.controllerManager.identities.clusterSPIFFEIDs.default". If you have changed any from the defaults, please update them to the new location during upgrade.
### 0.15.X
The spire-crds chart has been updated. Please ensure you have upgraded spire-crds before upgrading the spire chart.
The chart now supports multiple parallel installs of spire-controller-manager. Each install will handle all custom resources with a matching `className` field. By default this is set to `Release.Namespace-Release.Name` and the controller manager will only pick up custom resources with this `className`.
If you have not loaded any SPIRE custom resources yourself, the upgrade process will be transparent. If you have loaded your own SPIRE custom resources, set `spire-server.controllerManager.watchClassless=true` until you can update your SPIRE custom resources to have the `className` for the instance specified.
### 0.14.X
If coming from a chart version before 0.14.0, you must relabel your crds to switch to using the new spire-crds chart. To migrate to the spire-crds chart
run the following:
Replace the spire-server namespace in the commands below with the namespace you want to install the spire-crds chart in.
> This Chart is still in development and still subject to change the API (`values.yaml`).
> Until we reach a `1.0.0` version of the chart we can't guarantee backwards compatibility although
> we do aim for as much stability as possible.
| Dependency | Supported Versions |
|:-----------|:-------------------|
| Helm | `3.x` |
| Kubernetes | `1.22+` |
> [!Note]
> For Kubernetes, we will officially support the last 3 versions as described in [k8s versioning](https://kubernetes.io/releases/version-skew-policy/#supported-versions). Any version before the last 3 we will try to support as long it doesn't bring security issues or any big maintenance burden.
## FAQ
For any issues see our [FAQ](../../FAQ.md)…
## Usage
To utilize Spire in your own workloads you should add the following to your workload:
```diff
apiVersion: v1
kind: Pod
metadata:
name: my-app
spec:
containers:
- name: my-app
image: "my-app:latest"
imagePullPolicy: Always
+ volumeMounts:
+ - name: spiffe-workload-api
+ mountPath: /spiffe-workload-api
+ readOnly: true
resources:
requests:
cpu: 200m
memory: 32Mi
limits:
cpu: 500m
memory: 64Mi
+ volumes:
+ - name: spiffe-workload-api
+ csi:
+ driver: "csi.spiffe.io"
+ readOnly: true
```
Now you can interact with the Spire agent socket from your own application. The socket is mounted on `/spiffe-workload-api/spire-agent.sock`.
| `global.k8s.clusterDomain` | Cluster domain name configured for Spire install | `cluster.local` |
| `global.spire.bundleConfigMap` | A configmap containing the Spire bundle | `""` |
| `global.spire.clusterName` | The name of the k8s cluster for Spire install | `example-cluster` |
| `global.spire.jwtIssuer` | The issuer for Spire JWT tokens. Defaults to oidc-discovery.$trustDomain if unset | `""` |
| `global.spire.trustDomain` | The trust domain for Spire install | `example.org` |
| `global.spire.upstreamServerAddress` | Set what address to use for the upstream server when using nested spire | `""` |
| `global.spire.caSubject.country` | Country for Spire server CA | `""` |
| `global.spire.caSubject.organization` | Organization for Spire server CA | `""` |
| `global.spire.caSubject.commonName` | Common Name for Spire server CA | `""` |
| `global.spire.persistence.storageClass` | What storage class to use for persistence | `nil` |
| `global.spire.recommendations.enabled` | Use recommended settings for production deployments. Default is off. | `false` |
| `global.spire.recommendations.namespaceLayout` | Set to true to use recommended values for installing across namespaces | `true` |
| `global.spire.recommendations.namespacePSS` | When chart namespace creation is enabled, label them with preffered Pod Security Standard labels | `true` |
| `global.spire.recommendations.priorityClassName` | Set to true to use recommended values for Pod Priority Class Names | `true` |
| `global.spire.recommendations.strictMode` | Check values, such as trustDomain, are overridden with a suitable value for production. | `true` |
| `global.spire.recommendations.securityContexts` | Set to true to use recommended values for Pod and Container Security Contexts | `true` |
| `global.spire.image.registry` | Override all Spire image registries at once | `""` |
| `global.spire.namespaces.create` | Set to true to Create all namespaces. If this or either of the namespace specific create flags is set, the namespace will be created. | `false` |
| `global.spire.namespaces.system.name` | Name of the Spire system Namespace. | `spire-system` |
| `global.spire.namespaces.system.create` | Create a Namespace for Spire system resources. | `false` |
| `global.spire.namespaces.system.annotations` | Annotations to apply to the Spire system Namespace. | `{}` |
| `global.spire.namespaces.system.labels` | Labels to apply to the Spire system Namespace. | `{}` |
| `global.spire.namespaces.server.name` | Name of the Spire server Namespace. | `spire-server` |
| `global.spire.namespaces.server.create` | Create a Namespace for Spire server resources. | `false` |
| `global.spire.namespaces.server.annotations` | Annotations to apply to the Spire server Namespace. | `{}` |
| `global.spire.namespaces.server.labels` | Labels to apply to the Spire server Namespace. | `{}` |
| `global.spire.strictMode` | Check values, such as trustDomain, are overridden with a suitable value for production. | `false` |
| `global.spire.ingressControllerType` | Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""]. | `""` |
| `global.spire.tools.kubectl.tag` | Set to force the tag to use for all kubectl instances | `""` |
| `global.installAndUpgradeHooks.enabled` | Enable Helm hooks to autofix common install/upgrade issues (should be disabled when using `helm template`) | `true` |
| `global.installAndUpgradeHooks.resources` | Resource requests and limits for installAndUpgradeHooks | `{}` |
| `global.deleteHooks.enabled` | Enable Helm hooks to autofix common delete issues (should be disabled when using `helm template`) | `true` |
| `global.deleteHooks.resources` | Resource requests and limits for deleteHooks | `{}` |
| `pluginName` | Set the csi driver name deployed to Kubernetes. | `csi.spiffe.io` |
| serviceAccount.create | bool | `true` | |
| `image.registry` | The OCI registry to pull the image from | `ghcr.io` |
| serviceAccount.name | string | `""` | |
| `image.repository` | The repository within the registry | `spiffe/spiffe-csi-driver` |
| `image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `image.tag` | Overrides the image tag whose default is the chart appVersion | `""` |
| `resources` | Resource requests and limits for spiffe-csi-driver | `{}` |
| `extraEnvVars` | Extra environment variables to be added to the spiffe-csi-driver container | `[]` |
| `healthChecks.port` | The healthcheck port for spiffe-csi-driver | `9809` |
| `updateStrategy.type` | The update strategy to use to replace existing DaemonSet pods with new pods. Can be RollingUpdate or OnDelete. | `RollingUpdate` |
| `updateStrategy.rollingUpdate.maxUnavailable` | Max unavailable pods during update. Can be a number or a percentage. | `1` |
| `nameOverride` | Name override for spiffe-csi-driver | `""` |
| `namespaceOverride` | Namespace to install spiffe-csi-driver | `""` |
| `serverNamespaceOverride` | Override the namespace that the spire-server is installed into | `""` |
| `validatingAdmissionPolicy.enabled` | When set to auto, the validatingAdmissionPolicy will be enabled when the pluginName == "upstream.csi.spiffe.io" and k8s >= 1.30.0. Valid options are [auto, true, false] | `auto` |
| `fullnameOverride` | Full name override for spiffe-csi-driver | `""` |
| `csiDriverLabels` | Labels to apply to the CSIDriver | `{}` |
| `initContainers` | Init Containers to apply to the CSI Driver DaemonSet | `[]` |
| `serviceAccount.create` | Specifies whether a service account should be created | `true` |
| `serviceAccount.annotations` | Annotations to add to the service account | `{}` |
| `serviceAccount.name` | The name of the service account to use. If not set and create is true, a name is generated. | `""` |
| `podAnnotations` | Pod annotations for spiffe-csi-driver | `{}` |
{{- $v2Description := "This is the most restrictive SCC and it is used by default for authenticated users. On top of the legacy 'restricted' SCC, it also requires to drop ALL capabilities and does not allow privilege escalation binaries. It will also default the seccomp profile to runtime/default if unset, otherwise this seccomp profile is required." -}}
apiVersion:security.openshift.io/v1
kind:SecurityContextConstraints
allowHostPorts:false
priority:null
requiredDropCapabilities:
{{- if eq (.Values.restrictedScc.version | toString) "2" }}
- ALL
{{- else }}
- KILL
- MKNOD
- SETUID
- SETGID
{{- end }}
allowPrivilegedContainer:false
runAsUser:
type:MustRunAsRange
users:[]
allowHostDirVolumePlugin:false
{{- if eq (.Values.restrictedScc.version | toString) "2" }}
seccompProfiles:
- runtime/default
{{- end }}
allowHostIPC:false
seLinuxContext:
type:MustRunAs
readOnlyRootFilesystem:false
metadata:
name:{{$name }}
annotations:
kubernetes.io/description:>-
{{$name }} denies access to all host features and requires pods to be
run with a UID, and SELinux context that are allocated to the namespace.
# Default configuration for SPIFFE CSI Driver chart
# SPDX-License-Identifier: APACHE-2.0
## @skip global
global:{}
## @section SPIFFE CSI Driver Chart parameters
##
## @param pluginName Set the csi driver name deployed to Kubernetes.
pluginName:csi.spiffe.io
## @param image.registry The OCI registry to pull the image from
## @param image.repository The repository within the registry
## @param image.pullPolicy The image pull policy
## @param image.tag Overrides the image tag whose default is the chart appVersion
##
image:
image:
registry:ghcr.io
registry:ghcr.io
repository:spiffe/spiffe-csi-driver
repository:spiffe/spiffe-csi-driver
pullPolicy:IfNotPresent
pullPolicy:IfNotPresent
version:""
tag:""
## @param resources [object] Resource requests and limits for spiffe-csi-driver
resources:{}
resources:{}
# We usually recommend not to specify default resources and to leave this as a conscious
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# choice for the user. This also increases chances charts run on environments with little
@ -15,25 +33,71 @@ resources: {}
# cpu: 100m
# cpu: 100m
# memory: 64Mi
# memory: 64Mi
## @param extraEnvVars [array] Extra environment variables to be added to the spiffe-csi-driver container
extraEnvVars:[]
healthChecks:
## @param healthChecks.port The healthcheck port for spiffe-csi-driver
port:9809
## @param updateStrategy.type The update strategy to use to replace existing DaemonSet pods with new pods. Can be RollingUpdate or OnDelete.
## @param updateStrategy.rollingUpdate.maxUnavailable Max unavailable pods during update. Can be a number or a percentage.
updateStrategy:
type:RollingUpdate
rollingUpdate:
maxUnavailable:1
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param livenessProbe.timeoutSeconds Timeout value in seconds for livenessProbe
##
livenessProbe:
initialDelaySeconds:5
timeoutSeconds:5
## @param imagePullSecrets Image pull secret details for spiffe-csi-driver
imagePullSecrets:[]
imagePullSecrets:[]
## @param nameOverride Name override for spiffe-csi-driver
nameOverride:""
nameOverride:""
## @param namespaceOverride Namespace to install spiffe-csi-driver
namespaceOverride:""
namespaceOverride:""
## @param serverNamespaceOverride Override the namespace that the spire-server is installed into
serverNamespaceOverride:""
validatingAdmissionPolicy:
## @param validatingAdmissionPolicy.enabled When set to auto, the validatingAdmissionPolicy will be enabled when the pluginName == "upstream.csi.spiffe.io" and k8s >= 1.30.0. Valid options are [auto, true, false]
enabled:auto
## @param fullnameOverride Full name override for spiffe-csi-driver
fullnameOverride:""
fullnameOverride:""
## @param csiDriverLabels Labels to apply to the CSIDriver
csiDriverLabels:{}
## @param initContainers Init Containers to apply to the CSI Driver DaemonSet
initContainers:[]
## @param serviceAccount.create Specifies whether a service account should be created
## @param serviceAccount.annotations Annotations to add to the service account
## @param serviceAccount.name The name of the service account to use. If not set and create is true, a name is generated.
##
serviceAccount:
serviceAccount:
# Specifies whether a service account should be created
create:true
create:true
# Annotations to add to the service account
annotations:{}
annotations:{}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name:""
name:""
## @param podAnnotations [object] Pod annotations for spiffe-csi-driver
podAnnotations:{}
podAnnotations:{}
## @param podSecurityContext [object] Security context for CSI driver pods
podSecurityContext:{}
podSecurityContext:{}
# fsGroup: 2000
# fsGroup: 2000
## @param securityContext.readOnlyRootFilesystem Flag for read only root filesystem
## @param securityContext.privileged Flag for specifying privileged mode
##
securityContext:
securityContext:
readOnlyRootFilesystem:true
readOnlyRootFilesystem:true
privileged:true
privileged:true
@ -43,15 +107,27 @@ securityContext:
# drop:
# drop:
# - ALL
# - ALL
nodeSelector:
## @param nodeSelector [object] Node selector for CSI driver pods
kubernetes.io/arch:amd64
nodeSelector:{}
## @param tolerations [array] Tolerations for CSI driver pods
tolerations:[]
## @param affinity [object] Node affinity
affinity:{}
nodeDriverRegistrar:
nodeDriverRegistrar:
## @param nodeDriverRegistrar.image.registry The OCI registry to pull the image from
## @param nodeDriverRegistrar.image.repository The repository within the registry
## @param nodeDriverRegistrar.image.pullPolicy The image pull policy
## @param nodeDriverRegistrar.image.tag Overrides the image tag
##
image:
image:
registry:registry.k8s.io
registry:registry.k8s.io
repository:sig-storage/csi-node-driver-registrar
repository:sig-storage/csi-node-driver-registrar
pullPolicy:IfNotPresent
pullPolicy:IfNotPresent
version:v2.6.2
tag:v2.9.4
## @param nodeDriverRegistrar.resources Resource requests and limits for CSI driver pods
resources:{}
resources:{}
# We usually recommend not to specify default resources and to leave this as a conscious
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# choice for the user. This also increases chances charts run on environments with little
@ -63,3 +139,38 @@ nodeDriverRegistrar:
# limits:
# limits:
# cpu: 100m
# cpu: 100m
# memory: 64Mi
# memory: 64Mi
## @param nodeDriverRegistrar.extraEnvVars [array] Extra environment variables to be added to the nodeDriverRegistrar container
extraEnvVars:[]
## @param agentSocketPath The unix socket path to the spire-agent
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `5` |
| `podAnnotations` | Pod annotations for Spire OIDC discovery provider | `{}` |
| `tls.spire.enabled` | Use spire to secure the oidc-discovery-provider | `true` |
| `tls.externalSecret.enabled` | Provide your own certificate/key via tls style Kubernetes Secret | `false` |
| `tls.externalSecret.secretName` | Specify which Secret to use | `""` |
| `tls.certManager.enabled` | Use certificateManager to create the certificate | `false` |
| `tls.certManager.issuer.create` | Create an issuer to use to issue the certificate | `true` |
| `tls.certManager.issuer.acme.email` | Must be set in order to register with LetsEncrypt. By setting, you agree to their Terms of Service | `""` |
| `tls.certManager.issuer.acme.server` | Server to use to get certificate. Defaults to LetsEncrypt | `https://acme-v02.api.letsencrypt.org/directory` |
| `tls.certManager.issuer.acme.solvers` | Configure the issuer solvers. Defaults to http01 via ingress. | `{}` |
| `tls.certManager.certificate.dnsNames` | Override the dnsNames on the certificate request. Defaults to the same settings as Ingress | `[]` |
| `tls.certManager.certificate.issuerRef.group` | If you are using an external plugin, specify the group for it here | `""` |
| `tls.certManager.certificate.issuerRef.kind` | Kind of the issuer reference. Override if you want to use a ClusterIssuer | `Issuer` |
| `tls.certManager.certificate.issuerRef.name` | Name of the issuer to use. If unset, it will use the name of the built in issuer | `""` |
| `insecureScheme.nginx.image.registry` | The OCI registry to pull the image from. Only used when TLS is disabled. | `docker.io` |
| `insecureScheme.nginx.image.repository` | The repository within the registry. Only used when TLS is disabled. | `nginxinc/nginx-unprivileged` |
| `insecureScheme.nginx.image.pullPolicy` | The image pull policy. Only used when TLS is disabled. | `IfNotPresent` |
| `insecureScheme.nginx.image.tag` | Overrides the image tag whose default is the chart appVersion. Only used when TLS is disabled. | `1.29.0-alpine` |
| `insecureScheme.nginx.ipMode` | IP modes supported by the cluster. Must be one of [ipv4, ipv6, both] | `both` |
| `insecureScheme.nginx.resources` | Resource requests and limits | `{}` |
| `jwtIssuer` | Path to JWT issuer. Defaults to oidc-discovery.$trustDomain if unset | `""` |
| `config.logLevel` | The log level, valid values are "debug", "info", "warn", and "error" | `info` |
| `config.jwtDomain` | The JWT domain. Defaults to oidc-discovery.$jwtIssuer URL-parsed host if unset | `""` |
| `config.jwksUri` | The JWKS URI | `""` |
| `config.additionalDomains` | Add additional domains that can be used for oidc discovery | `[]` |
| `trustDomain` | Set the trust domain to be used for the SPIFFE identifiers | `example.org` |
| `clusterDomain` | The name of the Kubernetes cluster (`kubeadm init --service-dns-domain`) | `cluster.local` |
| `telemetry.prometheus.enabled` | Flag to enable prometheus monitoring | `false` |
| `telemetry.prometheus.port` | Port for prometheus metrics | `9988` |
| `telemetry.prometheus.podMonitor.enabled` | Enable podMonitor for prometheus | `false` |
| `telemetry.prometheus.podMonitor.namespace` | Override where to install the podMonitor, if not set will use the same namespace as the helm release | `""` |
| `telemetry.prometheus.podMonitor.labels` | Pod labels to filter for prometheus monitoring | `{}` |
| `telemetry.prometheus.nginxExporter.image.registry` | The OCI registry to pull the image from | `docker.io` |
| `telemetry.prometheus.nginxExporter.image.repository` | The repository within the registry | `nginx/nginx-prometheus-exporter` |
| `telemetry.prometheus.nginxExporter.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `telemetry.prometheus.nginxExporter.image.tag` | Overrides the image tag whose default is the chart appVersion | `1.4.2` |
| `telemetry.prometheus.nginxExporter.resources` | Resource requests and limits | `{}` |
| `ingress.enabled` | Flag to enable ingress | `false` |
| `ingress.className` | Ingress class name | `""` |
| `ingress.controllerType` | Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""]. | `""` |
| `ingress.annotations` | Annotations for ingress object | `{}` |
| `ingress.host` | Host name for the ingress. If no '.' in host, trustDomain is automatically appended. The rest of the rules will be autogenerated. For more customizability, use hosts[] instead. | `oidc-discovery` |
| `ingress.tlsSecret` | Secret that has the certs. If blank will use default certs. Used with host var. | `""` |
| `ingress.hosts` | Host paths for ingress object. If emtpy, rules will be built based on the host var. | `[]` |
| `ingress.tls` | Secrets containining TLS certs to enable https on ingress. If emtpy, rules will be built based on the host and tlsSecret vars. | `[]` |
| `tests.hostAliases` | List of host aliases for testing | `[]` |
| `tests.tls.enabled` | Flag for enabling tls for tests | `false` |
| `tests.tls.customCA` | Custom CA value for tests | `""` |
| `tests.bash.image.registry` | The OCI registry to pull the image from | `cgr.dev` |
| `tests.bash.image.repository` | The repository within the registry | `chainguard/bash` |
| `tests.bash.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.bash.image.tag` | Overrides the image tag whose default is the chart appVersion | `latest@sha256:330ad2ea11cf3018a331326fb08e44cedd0c0c604cfbfcff32b81272460bb679` |
| `tests.toolkit.image.registry` | The OCI registry to pull the image from | `cgr.dev` |
| `tests.toolkit.image.repository` | The repository within the registry | `chainguard/min-toolkit-debug` |
| `tests.toolkit.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.toolkit.image.tag` | Overrides the image tag whose default is the chart appVersion | `latest@sha256:f662d2b8c7c47e6d29c31b1bc8dbd039770d6186295bbc88bd8f540ca8ec3b53` |
| `tests.step.image.registry` | The OCI registry to pull the image from | `docker.io` |
| `tests.step.image.repository` | The repository within the registry | `smallstep/step-cli` |
| `tests.step.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.step.image.tag` | Overrides the image tag whose default is the chart appVersion | `0.28.7` |
| `tests.busybox.image.registry` | The OCI registry to pull the image from | `""` |
| `tests.busybox.image.repository` | The repository within the registry | `busybox` |
| `tests.busybox.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.busybox.image.tag` | Overrides the image tag whose default is the chart appVersion | `1.37.0-uclibc` |
| `tests.agent.image.registry` | The OCI registry to pull the image from | `ghcr.io` |
| `tests.agent.image.repository` | The repository within the registry | `spiffe/spire-agent` |
| `tests.agent.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.agent.image.tag` | Overrides the image tag whose default is the chart appVersion | `""` |
| `tools.kubectl.image.registry` | The OCI registry to pull the image from | `registry.k8s.io` |
| `tools.kubectl.image.repository` | The repository within the registry | `kubectl` |
| `tools.kubectl.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tools.kubectl.image.tag` | Overrides the image tag whose default is the chart appVersion | `""` |
{{- if and (ne .Values.bundleSource "ConfigMap") (ne .Values.bundleSource "CSI") }}
{{- fail "Bundle source must be CSI or ConfigmMap" }}
{{- end }}
{{- $tlsCount := 0 }}
{{- if and .Values.enabled .Values.tls.spire.enabled }}
{{- $tlsCount = add $tlsCount 1 }}
{{- end }}
{{- if and .Values.enabled .Values.tls.externalSecret.enabled }}
{{- $tlsCount = add $tlsCount 1 }}
{{- end }}
{{- if and .Values.enabled .Values.tls.certManager.enabled }}
{{- $tlsCount = add $tlsCount 1 }}
{{- end }}
{{- if gt $tlsCount 1 }}
{{- fail "You can only have one TLS configuration enabled" }}
{{- end }}
{{- include "spire-lib.check-strict-mode" (list . "trustDomain must be set" (eq (include "spire-lib.trust-domain" .) "example.org"))}}
{{- include "spire-lib.check-strict-mode" (list . "jwtIssuer must be set" (eq (include "spire-lib.jwt-issuer" .) "https://oidc-discovery.example.org"))}}
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}"
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ include "spiffe-oidc-discovery-provider.namespace" . }}"
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ include "spiffe-oidc-discovery-provider.namespace" . }}.svc.{{ include "spire-lib.cluster-domain" . }}"