diff --git a/.devcontainer.json b/.devcontainer.json index 32135f8..3b41689 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -1,5 +1,10 @@ { "image":"mcr.microsoft.com/devcontainers/dotnet:8.0", + + "features": { + "ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {} + }, + "customizations": { "vscode": { "extensions": [ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..097c2ce --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,35 @@ +{ + "version": "0.2.0", + "configurations": [ + { + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md. + "name": ".NET Core Launch (web)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/LDTTeam.Authentication.Server/bin/Debug/net8.0/LDTTeam.Authentication.Server.dll", + "args": [], + "cwd": "${workspaceFolder}/LDTTeam.Authentication.Server", + "stopAtEntry": false, + // Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser + "serverReadyAction": { + "action": "openExternally", + "pattern": "\\bNow listening on:\\s+(https?://\\S+)" + }, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "sourceFileMap": { + "/Views": "${workspaceFolder}/Views" + } + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..930bff6 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/LDTTeam Authentication.sln", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/LDTTeam Authentication.sln", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary;ForceNoAlign" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/LDTTeam Authentication.sln" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/Charts/ldtteam-authentication-server/Chart.lock b/Charts/ldtteam-authentication-server/Chart.lock index 6b5c9aa..fe79efe 100644 --- a/Charts/ldtteam-authentication-server/Chart.lock +++ b/Charts/ldtteam-authentication-server/Chart.lock @@ -2,5 +2,8 @@ dependencies: - name: postgresql repository: https://charts.bitnami.com/bitnami version: 16.1.2 -digest: sha256:adf233ecad367ef63b12e7caeb63e01210fb232c8ae82340b1a41e6ea7d27e24 -generated: "2024-11-11T13:06:09.442941202+01:00" +- name: postgresql-ha + repository: oci://registry-1.docker.io/bitnamicharts + version: 15.0.4 +digest: sha256:920ba656c92dec0c5692b6241a81b583a037fa97fa298a10a7e0c97a45ac4890 +generated: "2024-12-28T14:57:24.9994522Z" diff --git a/Charts/ldtteam-authentication-server/templates/deployment.yaml b/Charts/ldtteam-authentication-server/templates/deployment.yaml index d73290f..b732700 100644 --- a/Charts/ldtteam-authentication-server/templates/deployment.yaml +++ b/Charts/ldtteam-authentication-server/templates/deployment.yaml @@ -65,7 +65,6 @@ spec: {{- include "ldtteam-authentication-server.envFromSecret" (merge (dict "Secret" "Patreon.InitializingRefreshToken") .) | nindent 12}} {{- include "ldtteam-authentication-server.envFromSecret" (merge (dict "Secret" "Patron.ApiClientSecret") .) | nindent 12}} {{- include "ldtteam-authentication-server.envFromSecret" (merge (dict "Secret" "WebHook") .) | nindent 12}} - {{- toYaml .Values.extraEnv | nindent 12 }} volumes: - name: appsettings configMap: