This application has implement some library to achieve some feature like
For creating this feature we use library this
- laravel breeze (for starter kit authentication and registration, and profile view)
- [] spatie permissions (for Authorization)
- [] laravel socialite (extending Authentication method use social account like google, facebook)
We need make sure security for saving secret in repository, so then we use SealedSecret with kubeseal command utility to encrypt Secret.
This is how to implement it, make sure you have installed sealed secret in your kubernetes cluster.
We assume has install sealed secret controller in namespace kube-system
kubeseal --controller-namespace kube-system --format yaml -f deployment/e-marketplace-secret.yaml > deployment/e-marketplace-sealedsecret.yaml
If you facing error like this : \
Failed to unseal: no key could decrypt secret
Its mean have problem with decrypting from controller to namespaced sealed secret
For temporary solution, we can use scope cluster-wide first
kubeseal --scope cluster-wide --controller-namespace kube-system --format yaml -f deployment/e-marketplace-secret.yaml > deployment/e-marketplace-sealedsecret.yaml