Skip to content

adding user secret code this will help users not have to use Kubernetes to run the project. - #10

Merged
rpdudley merged 1 commit into
dev/testing-projectfrom
dev/testing-project-ken
Jan 30, 2025
Merged

adding user secret code this will help users not have to use Kubernetes to run the project.#10
rpdudley merged 1 commit into
dev/testing-projectfrom
dev/testing-project-ken

Conversation

@dudley810

Copy link
Copy Markdown
Collaborator

To not use the secret the guid just needs to be deleted from the project file. We could figure out another way to toggle between the two. I.E ( Kubernetes secrets and user secrets file) You will need to overlay your secrets file with the secrets on dudcloud (/Development/rancher/databaseprojectapi)

databaseprojectapi-secret.json

let me know if you have any questions. Yogi Bear!!!!

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please do not delete this code I need things like this to reference in the future

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add or comment out existing code i need for reference in the future projects

// Register services
builder.Services.AddHealthChecks()
.AddMySql(client.config.DBConnectionSettings.RyanWilliamDB, name: "MySQL Database");
.AddMySql(client.config.DBConnectionSettings.MySqlDB, name: "MySQL Database");

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changing the name of the database is not possible I would need to dump all entries into a new database

@rpdudley rpdudley closed this Jan 30, 2025
@rpdudley rpdudley reopened this Jan 30, 2025
@rpdudley
rpdudley dismissed their stale review January 30, 2025 19:38

checked

@rpdudley
rpdudley merged commit 3ab54d0 into dev/testing-project Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants