-
Notifications
You must be signed in to change notification settings - Fork 182
feat: platform secrets as sealed secrets #2978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ferruhcihan
wants to merge
118
commits into
main
Choose a base branch
from
APL-523
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 103 commits
Commits
Show all changes
118 commits
Select commit
Hold shift + click to select a range
44191da
feat: get changes from the PoC (platform secrets as sealed secrest) b…
ferruhcihan 8775f5a
feat: create core secrets in apl-secrets namespace
ferruhcihan 45a1861
fix: add default value for the existingSecret
ferruhcihan cd503a9
fix: namespace changes
ferruhcihan edc8ffd
test: sealed secrets with eso
ferruhcihan 0a4cc5a
fix: merge conflicts/changes
ferruhcihan c5b029f
fix: merge conflicts/changes
ferruhcihan 4fd4dfe
fix: merge conflicts/changes
ferruhcihan 0d8ca84
feat: waiting for sealed secrets
ferruhcihan 431bc0f
feat: move function to k8s.ts
ferruhcihan 8ac4c96
feat: use kubernetes package instead of kubectl
ferruhcihan 1eaf457
Merge branch 'main' into APL-523
ferruhcihan 16f6b27
fix: sealed secret tests
ferruhcihan 9f62106
feat: remove init and prepare endpoints
ferruhcihan ea466f9
fix: harbor secrets
ferruhcihan db046ba
feat: update tools image and remove /apl/schema endpoint
ferruhcihan d48c3bb
fix: versions
ferruhcihan 952a2d1
Merge branch 'main' into APL-523
ferruhcihan 286faf3
test: tools image
ferruhcihan 41a30f9
test: tools image
ferruhcihan 1644634
feat: remove kms from bootstrap files
ferruhcihan f3755a6
test: tools image
ferruhcihan 18d84ac
feat: remove kms and sops related code
ferruhcihan 8cd84f7
test: tools image
ferruhcihan 13f73c4
feat: update user management
ferruhcihan 5dcded5
feat: update user management
ferruhcihan 85d4a32
fix: create initial platform admin user
ferruhcihan 4951838
fix: create initial platform admin user
ferruhcihan dfe9f7f
Merge branch 'main' into APL-523
ferruhcihan 27bf17d
Merge branch 'main' into APL-523
svcAPLBot 78a8c9a
Merge branch 'main' into APL-523
svcAPLBot b5ec54c
Merge branch 'main' into APL-523
svcAPLBot 1e1c892
Merge branch 'main' into APL-523
svcAPLBot 1fa5be8
revert: sops changes for the migration
ferruhcihan 5ae5903
Merge branch 'main' into APL-523
svcAPLBot 2723ef2
Merge branch 'main' into APL-523
svcAPLBot 259adc7
Merge branch 'main' into APL-523
svcAPLBot df9af60
Merge branch 'main' into APL-523
svcAPLBot b576980
Merge branch 'main' into APL-523
svcAPLBot 96a4cc1
Merge branch 'main' into APL-523
svcAPLBot bbdeaff
test: platform secrets migration
ferruhcihan 81fee23
Merge branch 'main' into APL-523
svcAPLBot 44781ee
fix: platform secrets migration
ferruhcihan d9a168a
fix: platform secrets migration
ferruhcihan c28e7d8
fix: platform secrets migration
ferruhcihan 7b4574c
fix: platform secrets migration
ferruhcihan 23b900f
test: versions
ferruhcihan 1199673
fix: sealed secrets opaque type
ferruhcihan 2c6bc1f
fix: sealed secrets opaque type test
ferruhcihan ecd8f7c
Merge branch 'main' into APL-523
svcAPLBot 52c57b7
Merge branch 'main' into APL-523
svcAPLBot 324b056
Merge branch 'main' into APL-523
svcAPLBot fbbfbc2
Merge branch 'main' into APL-523
svcAPLBot b988473
Merge branch 'main' into APL-523
ferruhcihan a0ed525
fix: installer tests
ferruhcihan aa3e3a1
feat: sealed secrets disaster recovery
ferruhcihan c75e87e
Merge branch 'main' into APL-523
svcAPLBot 86f1dc2
Merge branch 'main' into APL-523
svcAPLBot beffad6
feat: improve users during bootstrap
ferruhcihan c16577e
fix: update sealed secret manifests path
ferruhcihan 0f4d223
feat: update tests/fixtures for local dev env users
ferruhcihan 6aa05e6
fix: update tests/fixtures for local dev env users
ferruhcihan 09c9d0c
Merge branch 'main' into APL-523
svcAPLBot d3b24b9
Merge branch 'main' into APL-523
svcAPLBot 1f5e7e0
fix: ci error
ferruhcihan f949522
Merge branch 'main' into APL-523
svcAPLBot ff2f81d
Merge branch 'main' into APL-523
svcAPLBot 3219b39
Merge branch 'main' into APL-523
svcAPLBot 504b0ee
Merge branch 'main' into APL-523
svcAPLBot 9492266
Merge remote-tracking branch 'origin/main' into APL-523
ferruhcihan e5d7fed
feat: enhance sealed secrets management and update dependencies
ferruhcihan be165b2
feat: update sealed secrets handling to return applied secrets list
ferruhcihan 526ee12
fix: secret data keys
ferruhcihan 22143df
fix: values-schema x-secret fields
ferruhcihan b10418a
fix: restart sealed secrets controller
ferruhcihan 20eb516
fix: remove x-secret field from customRootCA
ferruhcihan f2a8669
Merge branch 'main' into APL-523
svcAPLBot 7f0a422
fix: create team settings secrets
ferruhcihan a0ac3f4
Merge branch 'main' into APL-523
svcAPLBot f333c23
fix: harbor push issues
ferruhcihan f49a5db
feat: use commands with cwd instead of cd
ferruhcihan db4524b
fix: use commands with cwd instead of cd
ferruhcihan e6f34cc
Merge branch 'main' into APL-523
ferruhcihan ba99c0d
Merge branch 'main' into APL-523
svcAPLBot d75feb0
Merge branch 'main' into APL-523
svcAPLBot bf1f4e1
Merge branch 'main' into APL-523
svcAPLBot c3069e8
Merge branch 'main' into APL-523
svcAPLBot 567cc7f
Merge branch 'main' into APL-523
svcAPLBot 01d1db2
Merge branch 'main' into APL-523
svcAPLBot e4f1fa9
Merge branch 'main' into APL-523
svcAPLBot 7764233
Merge branch 'main' into APL-523
svcAPLBot b78add8
Merge branch 'main' into APL-523
svcAPLBot 383c802
Merge branch 'main' into APL-523
svcAPLBot 6c9f846
Merge branch 'main' into APL-523
svcAPLBot 1f1d40f
Merge branch 'main' into APL-523
svcAPLBot 0313ce2
Merge branch 'main' into APL-523
svcAPLBot 8060c60
Merge branch 'main' into APL-523
svcAPLBot e963a94
Merge branch 'main' into APL-523
svcAPLBot 76e1b74
Merge branch 'main' into APL-523
svcAPLBot e0ea02a
Merge branch 'main' into APL-523
ferruhcihan dd8419e
fix: update sealed secrets handling and improve deployment configurat…
ferruhcihan ace06e2
fix: update sealed secrets handling and rename secrets
ferruhcihan 5ed6563
Merge branch 'main' into APL-523
svcAPLBot c7dc6e3
feat: remove deprecated secret files from tests/fixtures and replace …
ferruhcihan fe96078
Merge branch 'main' into APL-523
svcAPLBot 55f60ac
Merge branch 'main' into APL-523
svcAPLBot 346dad6
Merge branch 'main' into APL-523
svcAPLBot c0fea6e
fix: improve password retrieval logic in getRepo function
ferruhcihan 3e4b181
Merge branch 'main' into APL-523
svcAPLBot 9c2fd72
Merge branch 'main' into APL-523
svcAPLBot 4c8ed82
fix: add new namespaces in core.yaml
ferruhcihan 998b88b
Merge branch 'main' into APL-523
ferruhcihan 1940575
fix: conditional rewrite rules for ingress
ferruhcihan 48a2960
Merge branch 'main' into APL-523
svcAPLBot d6a9dd7
Merge branch 'main' into APL-523
svcAPLBot 89e303c
Merge branch 'main' into APL-523
svcAPLBot 8d0a018
fix: harbor registry username
ferruhcihan 25bde58
Merge branch 'main' into APL-523
svcAPLBot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -103,6 +103,7 @@ | |
| "backoff", | ||
| "basepath", | ||
| "binzx", | ||
| "bitnami", | ||
| "blackbox", | ||
| "bootstrapper", | ||
| "calico", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| apiVersion: v2 | ||
| appVersion: 0.14.3 | ||
| description: External Secrets Operator for Kubernetes | ||
| home: https://external-secrets.io | ||
| keywords: | ||
| - secrets | ||
| - external-secrets | ||
| kubeVersion: '>=1.19.0-0' | ||
| maintainers: | ||
| - name: External Secrets Community | ||
| url: https://github.com/external-secrets/external-secrets | ||
| name: external-secrets | ||
| sources: | ||
| - https://github.com/external-secrets/external-secrets | ||
| type: application | ||
| version: 0.14.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| apiVersion: apiextensions.k8s.io/v1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| name: clusterexternalsecrets.external-secrets.io | ||
| annotations: | ||
| controller-gen.kubebuilder.io/version: v0.14.0 | ||
| spec: | ||
| group: external-secrets.io | ||
| names: | ||
| categories: | ||
| - externalsecrets | ||
| kind: ClusterExternalSecret | ||
| listKind: ClusterExternalSecretList | ||
| plural: clusterexternalsecrets | ||
| shortNames: | ||
| - ces | ||
| singular: clusterexternalsecret | ||
| scope: Cluster | ||
| versions: | ||
| - additionalPrinterColumns: | ||
| - jsonPath: .spec.externalSecretSpec.secretStoreRef.name | ||
| name: Store | ||
| type: string | ||
| - jsonPath: .spec.refreshTime | ||
| name: Refresh Interval | ||
| type: string | ||
| - jsonPath: .status.conditions[?(@.type=="Ready")].status | ||
| name: Ready | ||
| type: string | ||
| name: v1beta1 | ||
| schema: | ||
| openAPIV3Schema: | ||
| description: ClusterExternalSecret creates ExternalSecrets across namespaces | ||
| properties: | ||
| apiVersion: | ||
| type: string | ||
| kind: | ||
| type: string | ||
| metadata: | ||
| type: object | ||
| spec: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| status: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| type: object | ||
| served: true | ||
| storage: true | ||
| subresources: | ||
| status: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| apiVersion: apiextensions.k8s.io/v1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| name: clustersecretstores.external-secrets.io | ||
| annotations: | ||
| controller-gen.kubebuilder.io/version: v0.14.0 | ||
| spec: | ||
| group: external-secrets.io | ||
| names: | ||
| categories: | ||
| - externalsecrets | ||
| kind: ClusterSecretStore | ||
| listKind: ClusterSecretStoreList | ||
| plural: clustersecretstores | ||
| shortNames: | ||
| - css | ||
| singular: clustersecretstore | ||
| scope: Cluster | ||
| versions: | ||
| - additionalPrinterColumns: | ||
| - jsonPath: .metadata.creationTimestamp | ||
| name: AGE | ||
| type: date | ||
| - jsonPath: .status.conditions[?(@.type=="Ready")].status | ||
| name: Ready | ||
| type: string | ||
| name: v1beta1 | ||
| schema: | ||
| openAPIV3Schema: | ||
| description: ClusterSecretStore represents a cluster-wide secret store | ||
| properties: | ||
| apiVersion: | ||
| type: string | ||
| kind: | ||
| type: string | ||
| metadata: | ||
| type: object | ||
| spec: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| status: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| type: object | ||
| served: true | ||
| storage: true | ||
| subresources: | ||
| status: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| apiVersion: apiextensions.k8s.io/v1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| name: externalsecrets.external-secrets.io | ||
| annotations: | ||
| controller-gen.kubebuilder.io/version: v0.14.0 | ||
| spec: | ||
| group: external-secrets.io | ||
| names: | ||
| categories: | ||
| - externalsecrets | ||
| kind: ExternalSecret | ||
| listKind: ExternalSecretList | ||
| plural: externalsecrets | ||
| shortNames: | ||
| - es | ||
| singular: externalsecret | ||
| scope: Namespaced | ||
| versions: | ||
| - additionalPrinterColumns: | ||
| - jsonPath: .spec.secretStoreRef.name | ||
| name: Store | ||
| type: string | ||
| - jsonPath: .spec.refreshInterval | ||
| name: Refresh Interval | ||
| type: string | ||
| - jsonPath: .status.conditions[?(@.type=="Ready")].status | ||
| name: Ready | ||
| type: string | ||
| name: v1beta1 | ||
| schema: | ||
| openAPIV3Schema: | ||
| description: ExternalSecret reads secret data from external secret stores | ||
| properties: | ||
| apiVersion: | ||
| type: string | ||
| kind: | ||
| type: string | ||
| metadata: | ||
| type: object | ||
| spec: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| status: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| type: object | ||
| served: true | ||
| storage: true | ||
| subresources: | ||
| status: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| apiVersion: apiextensions.k8s.io/v1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| name: generatorstates.generators.external-secrets.io | ||
| annotations: | ||
| controller-gen.kubebuilder.io/version: v0.14.0 | ||
| spec: | ||
| group: generators.external-secrets.io | ||
| names: | ||
| categories: | ||
| - externalsecrets | ||
| kind: GeneratorState | ||
| listKind: GeneratorStateList | ||
| plural: generatorstates | ||
| singular: generatorstate | ||
| scope: Namespaced | ||
| versions: | ||
| - name: v1alpha1 | ||
| schema: | ||
| openAPIV3Schema: | ||
| description: GeneratorState tracks the state of generators | ||
| properties: | ||
| apiVersion: | ||
| type: string | ||
| kind: | ||
| type: string | ||
| metadata: | ||
| type: object | ||
| spec: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| status: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| type: object | ||
| served: true | ||
| storage: true | ||
| subresources: | ||
| status: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| apiVersion: apiextensions.k8s.io/v1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| name: pushsecrets.external-secrets.io | ||
| annotations: | ||
| controller-gen.kubebuilder.io/version: v0.14.0 | ||
| spec: | ||
| group: external-secrets.io | ||
| names: | ||
| categories: | ||
| - externalsecrets | ||
| kind: PushSecret | ||
| listKind: PushSecretList | ||
| plural: pushsecrets | ||
| singular: pushsecret | ||
| scope: Namespaced | ||
| versions: | ||
| - additionalPrinterColumns: | ||
| - jsonPath: .status.conditions[?(@.type=="Ready")].status | ||
| name: Ready | ||
| type: string | ||
| name: v1alpha1 | ||
| schema: | ||
| openAPIV3Schema: | ||
| description: PushSecret pushes secrets to external secret stores | ||
| properties: | ||
| apiVersion: | ||
| type: string | ||
| kind: | ||
| type: string | ||
| metadata: | ||
| type: object | ||
| spec: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| status: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| type: object | ||
| served: true | ||
| storage: true | ||
| subresources: | ||
| status: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| apiVersion: apiextensions.k8s.io/v1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| name: secretstores.external-secrets.io | ||
| annotations: | ||
| controller-gen.kubebuilder.io/version: v0.14.0 | ||
| spec: | ||
| group: external-secrets.io | ||
| names: | ||
| categories: | ||
| - externalsecrets | ||
| kind: SecretStore | ||
| listKind: SecretStoreList | ||
| plural: secretstores | ||
| shortNames: | ||
| - ss | ||
| singular: secretstore | ||
| scope: Namespaced | ||
| versions: | ||
| - additionalPrinterColumns: | ||
| - jsonPath: .metadata.creationTimestamp | ||
| name: AGE | ||
| type: date | ||
| - jsonPath: .status.conditions[?(@.type=="Ready")].status | ||
| name: Ready | ||
| type: string | ||
| name: v1beta1 | ||
| schema: | ||
| openAPIV3Schema: | ||
| description: SecretStore represents a source of secrets | ||
| properties: | ||
| apiVersion: | ||
| type: string | ||
| kind: | ||
| type: string | ||
| metadata: | ||
| type: object | ||
| spec: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| status: | ||
| type: object | ||
| x-kubernetes-preserve-unknown-fields: true | ||
| type: object | ||
| served: true | ||
| storage: true | ||
| subresources: | ||
| status: {} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.