Skip to content

Instantly share code, notes, and snippets.

View bradjones1's full-sized avatar
🤓

Brad Jones bradjones1

🤓
View GitHub Profile
@DzeryCZ
DzeryCZ / ReadingHelmResources.md
Last active April 15, 2024 07:44
Decoding Helm3 resources in secrets

Helm 3 is storing description of it's releases in secrets. You can simply find them via

$ kubectl get secrets
NAME                                                TYPE                                  DATA   AGE
sh.helm.release.v1.wordpress.v1                     helm.sh/release.v1                    1      1h

If you want to get more info about the secret, you can try to describe the secret

$ kubectl describe secret sh.helm.release.v1.wordpress.v1
@kpobococ
kpobococ / function.rfc3986_validate_uri.php
Last active July 27, 2021 13:13
Regular Expression to validate URI (RFC 3986 http://tools.ietf.org/html/rfc3986)
<?php
function rfc3986_validate_uri($uri)
{
// Play around with this regexp online:
// http://regex101.com/r/hZ5gU9/1
// Links to relevant RFC documents:
// RFC 3986: http://tools.ietf.org/html/rfc3986 (URI scheme)
// RFC 2234: http://tools.ietf.org/html/rfc2234#section-6.1 (ABNF notation)