Implements OAuth2 and Github Actions
* [v0.0.2] Adds Google and Github OAuth2 Authentication Adds to the API the feature of OAuth2 Authentication via two providers: Google and Github, and implements better handling of secrets * Create deploy.yml * Update deploy.yml * Update deploy.yml * Update deploy.yml * Fixes k3s * Update deploy.yml * Update deploy.yml Update deploy.yml update deploy.yml * Reemplements Frontend and Backend Connection * Final Configurations
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
namespace: portfolio
|
||||
namespace: portfolio
|
||||
name: postgres-config
|
||||
data:
|
||||
postgres-url: postgres-service
|
||||
postgres_url: postgres-service
|
||||
|
||||
10
postgres/postgres-secret.template.yaml
Normal file
10
postgres/postgres-secret.template.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
namespace: portfolio
|
||||
name: postgres-secret
|
||||
type: Opaque
|
||||
data:
|
||||
POSTGRES_USER: $POSTGRES_USER
|
||||
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
|
||||
POSTGRES_DB: $POSTGRES_DB
|
||||
@@ -1,10 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
namespace: portfolio
|
||||
name: postgres-secret
|
||||
type: Opaque
|
||||
data:
|
||||
POSTGRES_USER: cG9zdGdyZXM=
|
||||
POSTGRES_PASSWORD: cG9zdGdyZXM=
|
||||
POSTGRES_DB: cG9ydGZvbGlv
|
||||
@@ -13,10 +13,9 @@ spec:
|
||||
labels:
|
||||
app: postgres
|
||||
spec:
|
||||
limits:
|
||||
containers:
|
||||
- name: postgres
|
||||
image: postgres
|
||||
image: postgres:14-bullseye
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
|
||||
Reference in New Issue
Block a user