terrajinja-sbp-kubernetes
This is an extension to the vault provider for the following modules. The original documentation can be found here
SBP Specific implementations
Here is a list of supported resources and their modifications
sbp.kubernetes.secret_v1
Original provider: kubernetes.secret_v1
This custom provider adds the following:
- automaticly create auth string using a base64 encoded value of username and password
| old parameter | new parameter | description |
|---|---|---|
| parameters.data.dockerconfigjson.auths.name.auth | - | base64 auth header is no longer required |
while this provider does not have any additional parameters, you no longer have to create the base64 authentication string. this is done for you. see the example below where the auth header is not provided compared to the original documentation
terrajinja-cli example
the following is a code snipet you can used in a terrajinja-cli template file. This created the secret that allows kubernetes to connect to a private repository to fetch images
terraform:
resources:
- task: custom-repository-secret
module: sbp.kubernetes.secret_v1
parameters:
metadata: {
namespace: "my-namespace",
name: "repository-token-auth"
}
data:
.dockerconfigjson:
auths:
"registry.gitlab.schubergphilis.com":
username: "username"
password: "{{ env['gitlab_pat_token'] }}"
email: "username@email.com"
type: "kubernetes.io/dockerconfigjson"
History
0.0.1 (14-03-2024)
- First code creation
Metadata
Release files for terrajinja-sbp-kubernetes 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| terrajinja_sbp_kubernetes-0.2.0.tar.gz | 27.2 kB | Without provenance | Details for terrajinja_sbp_kubernetes-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| terrajinja_sbp_kubernetes-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for terrajinja_sbp_kubernetes-0.2.0-py3-none-any.whl |
Total release size: 33.3 kB
Release files / terrajinja_sbp_kubernetes-0.2.0.tar.gz
| Download URL | terrajinja_sbp_kubernetes-0.2.0.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb9f9e18574d5d8b2d9e39e8d2a9ae0c8bcac04a49810eede5b435f1a564e1c8
|
|
BLAKE2b-256 checksum How to use checksums |
b0533d7193d52d601b6db6b63b57811241e95fdccf46e6cd79239c88f3a03676
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.5
|
Release files / terrajinja_sbp_kubernetes-0.2.0-py3-none-any.whl
| Download URL | terrajinja_sbp_kubernetes-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3194c3b0c4dc37028beb9ab2dc9488e32044e2467df53e6a7b5cfd0c3402629
|
|
BLAKE2b-256 checksum How to use checksums |
3b76ee048f8b2133ccd191bb44da530db58f0b04f4ed80d4114a21e9519416a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.5
|
Security for terrajinja-sbp-kubernetes 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.