Skip to content

pick latest changes from gitlab #134

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

Closed
wants to merge 926 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
926 commits
Select commit Hold shift + click to select a range
5ba9b35
Merge pull request #61 from oracle/fix_operator_yaml
psaini79 Jul 13, 2023
9b73343
Fix webhook reject scaling after stop and restart adb
ting-lan-wang Aug 15, 2023
9a2a9b4
Merge branch 'fix-adb-webhook-lifecyclestate' into 'master'
ting-lan-wang Aug 15, 2023
679346f
Update the command of installing cert-manager
ting-lan-wang Aug 23, 2023
1372509
Update cert-manager command in README.md
ting-lan-wang Aug 25, 2023
0de3cf3
Merge pull request #62 from oracle/update-cert-manager-command
yunus-qureshi Aug 28, 2023
4797a51
Update latest cert-manager command in README.md
ting-lan-wang Aug 28, 2023
98970fd
Update cert-manager command installation command in README.md
ting-lan-wang Aug 28, 2023
d536844
Merge branch 'ting-lan_wang-master-patch-27095' into 'master'
ting-lan-wang Aug 28, 2023
f0b5f11
Merge pull request #64 from oracle/update-cert-manager-command
yunus-qureshi Aug 29, 2023
08c44ff
Update README.md
spavlusieva Aug 29, 2023
16cf33d
Update SECURITY.md
spavlusieva Aug 29, 2023
cc84d1c
Merge pull request #65 from oracle/spavlusieva-patch-1
yunus-qureshi Aug 29, 2023
c0ca263
Fixing getSidPdbEdition function
IshaanDesai45 Sep 6, 2023
86d06ff
Fixing getSidPdbEdition function-2
IshaanDesai45 Sep 6, 2023
8a5f78c
Refactor- svc creation after pod creation
IshaanDesai45 Sep 7, 2023
7c891b4
adding logs to debug
IshaanDesai45 Sep 7, 2023
a732cdd
adding logs to debug-1
IshaanDesai45 Sep 7, 2023
37e2bf3
adding logs to debug-3
IshaanDesai45 Sep 7, 2023
821c09b
adding logs to debug-4
IshaanDesai45 Sep 7, 2023
0b1cce0
trimming the edition string before setting edition status
IshaanDesai45 Sep 7, 2023
1551b70
Fixing reconcile
IshaanDesai45 Sep 7, 2023
73d2081
removing logs and cleaning code
IshaanDesai45 Sep 7, 2023
dad7e60
Enhancing logging and errors
IshaanDesai45 Sep 8, 2023
615055d
Removing title case from log
IshaanDesai45 Sep 8, 2023
ac40fc0
Enhancing logic for edition,sid,pdb fetching and logs
IshaanDesai45 Sep 8, 2023
3ee983a
Fixing reconcile
IshaanDesai45 Sep 8, 2023
d4f0972
Fixing reconcile
IshaanDesai45 Sep 8, 2023
7fa6c27
Removing unecessary logs
IshaanDesai45 Sep 8, 2023
32cbc78
Enhance CI/CD pipeline to use commit ID
yunus-qureshi Sep 8, 2023
e016833
Merge branch 'enhancement/cicd-pipeline' into 'master'
yunus-qureshi Sep 8, 2023
b98e7a9
Merge pull request #68 from IshaanDesai45/bugfix-issue_67
psaini79 Sep 11, 2023
5392f0e
Bugfix issue 67
IshaanDesai45 Sep 12, 2023
0927295
Merge branch 'bugfix-issue_67' into 'master'
yunus-qureshi Sep 12, 2023
9ab6189
Fix adb controller reconcile error
ting-lan-wang Sep 22, 2023
f2d1128
Merge branch 'fix-adb-reconciler-error' into 'master'
ting-lan-wang Sep 22, 2023
d6d988f
fix adb webhook and reconcile issue
ting-lan-wang Sep 26, 2023
30dceea
Fix adb reconcile
ting-lan-wang Sep 28, 2023
8ff32a1
Merge branch 'fix-adb-reconcile' into 'master'
ting-lan-wang Sep 28, 2023
dee958c
fix adb reconcile
ting-lan-wang Oct 3, 2023
c3994e9
Merge pull request #69 from ting-lan-wang/fix-adb-webhook-and-reconcile
psaini79 Oct 5, 2023
f0fb650
Tcps user certs
vatsrahul Oct 13, 2023
cd400d3
Merge branch 'tcps_user_certs' into 'master'
yunus-qureshi Oct 13, 2023
445e9c7
Enhance status updation of sidb controller
IshaanDesai45 Nov 7, 2023
7c244c6
Merge branch 'idesai_enhance_status_updation' into 'master'
yunus-qureshi Nov 7, 2023
7629755
Modifying singleinstancedatabase types attributes, for bug 35430671 r…
IshaanDesai45 Nov 10, 2023
dac9cbc
Merge branch 'idesai_hotfix_35430671' into 'master'
yunus-qureshi Nov 10, 2023
38a9249
Bug 35895394
Nov 16, 2023
9f64fa9
Update libs and Dockerfile
ting-lan-wang Dec 1, 2023
4c6815d
Merge branch 'update-libs' into 'master'
ting-lan-wang Dec 1, 2023
a3502b5
Update docs/adb/ADB_PREREQUISITES.md, docs/adb/README.md, docs/adb/AC…
ting-lan-wang Dec 1, 2023
1ae95d6
Use oraclelinux 8 image instead of slim
yunus-qureshi Dec 8, 2023
0854182
Merge branch 'enhancement/mqureshi/use-oraclelinux-8' into 'master'
yunus-qureshi Dec 8, 2023
9279397
bug 36099948
mmalvezz Dec 12, 2023
947bc49
Merge branch 'mmalvezz' into 'master'
mmalvezz Dec 12, 2023
ce08537
Merge branch 'mmalvezz' into 'master'
mmalvezz Dec 12, 2023
85f1494
Use '[' instead of '[[' to be able to run in Shell
ting-lan-wang Dec 12, 2023
d272919
Merge branch 'ting-lan_wang-master-patch-90604' into 'master'
ting-lan-wang Dec 12, 2023
7abdaf1
issue66: add documentation page
mmalvezz Dec 15, 2023
55e0ee4
Merge branch 'issue66' into 'master'
mmalvezz Dec 15, 2023
a753fba
Support Wallet expiring date and Conditions
ting-lan-wang Dec 15, 2023
9b22e53
Merge branch 'adb-support-conditions' into 'master'
ting-lan-wang Dec 15, 2023
f18f2b3
Feature/idesai/storage expansion
IshaanDesai45 Jan 25, 2024
8209081
Merge branch 'feature/idesai/storage_expansion' into 'master'
yunus-qureshi Jan 25, 2024
b5c029d
Custom scripts
vatsrahul Feb 6, 2024
43ae2e7
Merge branch 'customScripts' into 'master'
yunus-qureshi Feb 6, 2024
81e21f2
Feature/naberin/v1.1.0 release of DatabaseObserver v1.0.final
aberinnj Feb 13, 2024
e61c119
Merge branch 'databaseobserver-v1.0.final' into 'master'
psaini79 Feb 13, 2024
126c11f
Fix/idesai/rbac changes
IshaanDesai45 Feb 13, 2024
8a7d493
Merge branch 'fix/idesai/rbac_changes' into 'master'
yunus-qureshi Feb 13, 2024
d079d47
Enhancement/idesai/root permissions fix
IshaanDesai45 Feb 14, 2024
9cd348a
Merge branch 'enhancement/idesai/root_permissions_fix' into 'master'
yunus-qureshi Feb 14, 2024
e54fab5
Multinamespaced support for operator deployment
IshaanDesai45 Feb 20, 2024
32a7a8b
Merge branch 'idesai_sidb_multinamespaced' into 'master'
psaini79 Feb 20, 2024
16d63b6
Enhancement namespace webhook logic + updating ords images + updating…
IshaanDesai45 Feb 23, 2024
797078c
Merge branch 'enhancement/idesai/webhook_logic' into 'master'
yunus-qureshi Feb 23, 2024
80f224c
Added support for user defined sharding
Feb 23, 2024
aacdf59
Added fix
Feb 23, 2024
6d60599
Added fix
Feb 23, 2024
200d26a
Changing ResourceRequirements to VolumeResourceRequirement
Feb 23, 2024
dc13f6a
Replace ClusterRoleBinding to RoleBinding
Feb 23, 2024
a6c7995
Added fix
psaini79 Feb 24, 2024
8f7724b
GO version 1.21.7
yunus-qureshi Feb 27, 2024
e35772e
Merge branch 'enhancement/mqureshi/fix-go-compile' into 'master'
yunus-qureshi Feb 27, 2024
0e220f5
Added fixes to handle cluster namescope
psaini79 Feb 27, 2024
72f5084
Added fixes for proxy role
psaini79 Feb 27, 2024
bcb7d29
Generated new operator file
psaini79 Feb 27, 2024
bf81e9a
Added fix for GSM2 region
psaini79 Feb 27, 2024
26608e6
Node watch and list priv for operator manager
IshaanDesai45 Feb 28, 2024
2c350d6
Merge branch 'idesai_node_priv' into 'master'
yunus-qureshi Feb 28, 2024
2ec6987
Documentation Bugs in OraOperator
vatsrahul Feb 28, 2024
fd816d1
Merge branch 'rvats_bugfixes' into 'master'
yunus-qureshi Feb 28, 2024
7c5feb0
fixing dg_webhook
IshaanDesai45 Feb 29, 2024
fa38535
Merge branch 'idesai_dg_fix' into 'master'
yunus-qureshi Feb 29, 2024
886741e
Pdb cdb multinamespace
mmalvezz Mar 4, 2024
436d57e
Merge branch 'pdb_cdb_multinamespace' into 'master'
mmalvezz Mar 4, 2024
ec72204
rm database.oracle.com_CDBS.yam and database.oracle.com_PDBS.yaml
Mar 6, 2024
f92dfb6
Merge branch 'mmalvezz' into 'master'
mmalvezz Mar 6, 2024
f024d05
Idesai bugfix release v1.1
IshaanDesai45 Mar 7, 2024
2e11d5e
Merge branch 'idesai_bugfix_release_v1.1' into 'master'
yunus-qureshi Mar 7, 2024
716b4fc
Jyoti sharding docs changes
jpverma85 Mar 8, 2024
f1fda14
Merge branch 'jyoti-sharding-docs-changes' into 'master'
psaini79 Mar 8, 2024
9227d0d
add support for namspace scoped
ting-lan-wang Mar 11, 2024
4ce8354
Merge branch 'tinglwan-adb-multinamespace' into 'master'
ting-lan-wang Mar 11, 2024
dfa78e0
Rvats bugfixes
vatsrahul Mar 12, 2024
4dba0eb
Merge branch 'rvats_bugfixes' into 'master'
yunus-qureshi Mar 12, 2024
5d7efdd
Minor syntax fixes and renamed Metric Exporter.
Kuassim Mar 13, 2024
721235a
Fixing prebuilt sidb flow
IshaanDesai45 Mar 13, 2024
4dee3ca
Merge branch 'idesai_bugfix_36398929' into 'master'
yunus-qureshi Mar 13, 2024
1664522
pkeyutl secret change
jpverma85 Mar 14, 2024
bfa56d9
Merge branch 'pkeyutl_secret' into 'master'
psaini79 Mar 14, 2024
e78cd22
Bugs and Doc Fixes for operator release v1.1.0
IshaanDesai45 Mar 14, 2024
ad914ea
Merge branch 'idesai_bug_doc_fix' into 'master'
yunus-qureshi Mar 14, 2024
136b8f9
Fixed BUG-36350588: error handling on CR fetch
aberinnj Mar 14, 2024
bf73b52
Updated rbac for observability
aberinnj Mar 14, 2024
377588d
Rvats bugfixes
vatsrahul Mar 15, 2024
a5209bc
Merge branch 'rvats_bugfixes' into 'master'
yunus-qureshi Mar 15, 2024
9233935
Bug 36407635 - NULL POINTER IN SETDBCSSTATUS CAUSES OPERATOR TO CRASH
Mar 15, 2024
229f520
Merge branch 'bug36407635' into 'master'
mmalvezz Mar 15, 2024
567c45f
dbcsdoc usecase01
Mar 15, 2024
e27c961
Merge branch 'dbcsdoc' into 'master'
mmalvezz Mar 15, 2024
83f4fbc
Tinglwan adb multinamespace
ting-lan-wang Mar 15, 2024
9624e69
Merge branch 'tinglwan-adb-multinamespace' into 'master'
ting-lan-wang Mar 15, 2024
9f1db89
Dg tcps validation
vatsrahul Mar 19, 2024
f0c51aa
Merge branch 'dg-tcps-validation' into 'master'
yunus-qureshi Mar 19, 2024
24a111d
standby tcps validation
vatsrahul Mar 20, 2024
f5da162
Merge branch 'dg-tcps-validation' into 'master'
yunus-qureshi Mar 20, 2024
9847cc5
Documentation Changes for v1.1.0 release
IshaanDesai45 Mar 20, 2024
d16d628
Merge branch 'idesai_hotfix_36413221' into 'master'
yunus-qureshi Mar 20, 2024
f972024
Update README.md
yunus-qureshi Mar 20, 2024
94e117b
Fix PV RBAC
yunus-qureshi Mar 21, 2024
46eb8d7
Merge branch 'enhancement/mqureshi/pv-watch' into 'master'
yunus-qureshi Mar 21, 2024
beec35d
Same yaml fixes
yunus-qureshi Mar 21, 2024
de91b43
Fix comments
yunus-qureshi Mar 21, 2024
8e1f277
Merge branch 'bugfix/mqureshi/sample-yamls'
yunus-qureshi Mar 21, 2024
b1dd37f
Update README.md
yunus-qureshi Mar 21, 2024
39e7228
Psaini sharding branch1
jpverma85 Mar 21, 2024
1d1c11e
Merge branch 'psaini_sharding_branch1' into 'master'
psaini79 Mar 21, 2024
b2d3f06
Revert "Merge branch 'psaini_sharding_branch1' into 'master'"
psaini79 Mar 21, 2024
76a951a
Enhancing event logs and sidb resource status updation
IshaanDesai45 Mar 22, 2024
46bd6d1
Merge branch 'idesai_enhance_spec_validation_event_primary_db' into '…
yunus-qureshi Mar 22, 2024
102d4ed
Including access and privileges that sidb controller requires in the …
IshaanDesai45 Mar 25, 2024
24edc02
Merge branch 'idesai_doc_enh_role_priv' into 'master'
yunus-qureshi Mar 25, 2024
6bdd505
Autonomous Database Controller doc changes
ting-lan-wang Mar 25, 2024
48c88d2
Merge branch 'tinglwan-doc-change' into 'master'
ting-lan-wang Mar 25, 2024
c0d19c0
Updated README with security section
aberinnj Mar 25, 2024
25d8264
Merge branch 'fix/databaseobserver-rbac-docs-fine-tune' into 'master'
ting-lan-wang Mar 25, 2024
f6dd1c9
Merge branch 'cleanup/databaseobserver-rbac-cleanup' into 'master'
yunus-qureshi Mar 26, 2024
5acd9ab
Merge branch 'fix/databaseobserver-BUG-36350588' into 'master'
yunus-qureshi Mar 26, 2024
4ac5864
ReadMe fixes
yunus-qureshi Mar 26, 2024
2e1696a
Merge branch 'bugfix/mqureshi/36413631' into 'master'
yunus-qureshi Mar 26, 2024
09c847e
update README file security details
s1saurabh Mar 26, 2024
15d058e
Merge branch 'permissions' into 'master'
psaini79 Mar 27, 2024
d5d67bd
ReadMe update
yunus-qureshi Mar 28, 2024
229ad30
Merge branch 'bugfix/mqureshi/36411472' into 'master'
yunus-qureshi Mar 28, 2024
422a318
Update PREREQUISITES.md
yunus-qureshi Mar 28, 2024
9ecaf0b
patch instructions
yunus-qureshi Mar 29, 2024
d470f5e
Merge branch 'bugfix/mqureshi/patching-instructions' into 'master'
yunus-qureshi Mar 29, 2024
cd2fb13
Patching Enhancements
IshaanDesai45 Mar 29, 2024
e7a2a9a
Merge branch 'idesai_dg_dat_file_loc_change' into 'master'
yunus-qureshi Mar 29, 2024
0530303
Tinglwan doc change
ting-lan-wang Mar 29, 2024
8e7da38
Merge branch 'tinglwan-doc-change' into 'master'
ting-lan-wang Mar 29, 2024
e531f10
ReadMe update for uninstall
yunus-qureshi Apr 2, 2024
463cc3f
Merge branch 'bugfix/mqureshi/36462833' into 'master'
yunus-qureshi Apr 2, 2024
92a988b
Bugfix/mqureshi/36454509
yunus-qureshi Apr 2, 2024
29d654a
Merge branch 'bugfix/mqureshi/36454509' into 'master'
yunus-qureshi Apr 2, 2024
775c85c
Dataguard Controller enhancements and bugfixes
IshaanDesai45 Apr 2, 2024
25825cc
Merge branch 'idesai_dg_bugfix' into 'master'
yunus-qureshi Apr 2, 2024
e933713
Bugfixes/mqureshi/1.1.0
yunus-qureshi Apr 3, 2024
cc3e00b
Merge branch 'bugfixes/mqureshi/1.1.0' into 'master'
yunus-qureshi Apr 3, 2024
77d7284
bugfix/idesai/36473360
IshaanDesai45 Apr 3, 2024
944265c
Merge branch 'idesai_dg_bugfix_3' into 'master'
yunus-qureshi Apr 3, 2024
253fbda
Fix shutdown condition
yunus-qureshi Apr 4, 2024
3e3a7a7
Add comments
yunus-qureshi Apr 4, 2024
31e77e2
Fix standby validation
yunus-qureshi Apr 4, 2024
d21db43
Merge branch 'bugfix/mqureshi/role' into 'master'
yunus-qureshi Apr 4, 2024
f1ff91f
Update README.md
yunus-qureshi Apr 5, 2024
d8aeab4
Failover matrix
yunus-qureshi Apr 5, 2024
3c4894e
Merge branch 'bugfix/mqureshi/readme-32982850' into 'master'
yunus-qureshi Apr 5, 2024
7ba1a34
Added databaseobserver webhook
aberinnj Apr 8, 2024
2569b62
Merge branch 'feature/databaseobserver-webhook' into 'master'
yunus-qureshi Apr 8, 2024
eb0416c
Update README.md Minor style updates
dwilliams-orcl Apr 15, 2024
805c315
Merge branch 'douglas_williams-master-patch-74801' into 'master'
psaini79 Apr 16, 2024
1de9c4b
bug fix 36545873
Apr 24, 2024
8c5e896
Merge branch 'bug_36545873' into 'master'
mmalvezz Apr 24, 2024
e7a3274
Tinglwan merge workload pr
ting-lan-wang May 1, 2024
d3627f0
Merge branch 'tinglwan-merge-workload-pr' into 'master'
ting-lan-wang May 1, 2024
00660d4
Update README.md
ting-lan-wang May 1, 2024
4100ab2
patch/databaseobserver Docs
aberinnj May 1, 2024
eaad1e0
Merge branch 'patch/databaseobserver-docs' into 'master'
Kuassim May 1, 2024
540f991
Update THIRD_PARTY_LICENSES.txt
Kuassim May 2, 2024
ae6097b
Updated Readme with Free 23ai and OKE workload Identify
Kuassim May 2, 2024
f3b99c7
changing 23c references to 23.3.0
IshaanDesai45 May 2, 2024
fe813b8
Merge branch 'idesai_readme_version_fix' into 'master'
yunus-qureshi May 2, 2024
11d0ea6
Idesai readme version fix
yunus-qureshi May 2, 2024
bc4b0fd
Merge branch 'idesai_readme_version_fix' into 'master'
yunus-qureshi May 2, 2024
129d06c
Update Readme.md
Kuassim May 2, 2024
05435a8
Tinglwan bug 36349519
ting-lan-wang May 2, 2024
93071b0
Merge branch 'tinglwan_bug_36349519' into 'master'
ting-lan-wang May 2, 2024
6d60ba6
Update README.md
ting-lan-wang May 6, 2024
13ef35d
Added fix for bug
aberinnj May 7, 2024
40d08e5
Added support for v1.1.0
psaini79 May 10, 2024
5bf232b
Merge pull request #98 from psaini79/devop
psaini79 May 10, 2024
ea62603
Update README.md (#99)
Kuassim May 15, 2024
2f0f0ff
use 23.4.0-8
May 16, 2024
d2bc1df
Merge branch 'useords23.1' into 'master'
mmalvezz May 16, 2024
0ceaf3d
Merge branch 'fix/databaseobserver/serivceport-bug' into 'master'
psaini79 May 16, 2024
5011e48
Update README.md
ting-lan-wang May 29, 2024
d02b807
update README.md
ting-lan-wang May 29, 2024
24f7dda
Merge pull request #107 from oracle/ting-lan-wang-update-readme
Kuassim May 30, 2024
4afca71
Documentation Changes to include openshift pre req
IshaanDesai45 Jul 4, 2024
4cf6104
Merge branch 'idesai_openshift_doc_changes' into 'master'
yunus-qureshi Jul 4, 2024
b794e98
Doc and comments enhancement to support openshift
IshaanDesai45 Jul 4, 2024
935ff11
enhancing formatting
IshaanDesai45 Jul 5, 2024
7bab42e
enhancing formatting openshift_rbac
IshaanDesai45 Jul 5, 2024
80b74a7
correcting scc ref
IshaanDesai45 Jul 5, 2024
427f629
fixing typo
IshaanDesai45 Jul 8, 2024
6fff0bf
Merge pull request #114 from IshaanDesai45/idesai_doc_changes
yunus-qureshi Jul 8, 2024
56e0f7d
Documentation enhancements
IshaanDesai45 Jul 8, 2024
6a1fa1e
Merge branch 'idesai_doc_enh' into 'master'
yunus-qureshi Jul 8, 2024
f4e67c8
Saurabh basedb
s1saurabh Jul 15, 2024
ae96738
Merge branch 'saurabh_basedb' into 'master'
psaini79 Jul 15, 2024
a351a67
Sidb resource management and node scheduling
IshaanDesai45 Jul 18, 2024
ad13178
Merge branch 'idesai_resource_management' into 'master'
yunus-qureshi Jul 18, 2024
a8faecb
Psaini sharding branch1
psaini79 Jul 29, 2024
e7ba30e
Merge branch 'psaini_sharding_branch1' into 'master'
psaini79 Jul 29, 2024
94f7cdb
psaini_dbcs_branch1
psaini79 Jul 30, 2024
a699000
Merge branch 'revert-ae96738f' into 'master'
psaini79 Jul 30, 2024
4d9c90d
Update README.md
s1saurabh Jul 31, 2024
73db3d5
Merge branch 'review_github_main_merge' into 'master'
psaini79 Jul 31, 2024
46acd3d
Added fixes
psaini79 Jul 31, 2024
fa8ae3a
Added fixes
psaini79 Jul 31, 2024
8ce66d5
fix bug36752628
Aug 13, 2024
a971bbb
Merge branch 'bug36752628' into 'master'
mmalvezz Aug 13, 2024
e199b9c
assertive approach on pdb deletion
Aug 19, 2024
ac984ce
Merge branch 'assertive_delpdb' into 'master'
mmalvezz Aug 19, 2024
fd7d498
Review sharding changes
psaini79 Aug 20, 2024
5dba8e5
Merge branch 'Review-Sharding-Changes' into 'master'
psaini79 Aug 20, 2024
16e1169
fix documentation broken links
mmalvezz Aug 20, 2024
7bb331b
Merge branch 'fixdocissue' into 'master'
mmalvezz Aug 20, 2024
641a6ce
Changes in config to create bundle for operatorhub
psilberk Aug 27, 2024
ed15f32
Merge branch 'operatorhub' into 'master'
psilberk Aug 27, 2024
e94f298
Set default as FALSE for InvitedNodeSubnetFlag
tthathac Aug 28, 2024
c6d789f
Merge branch 'Review-bug36080527-fix' into 'master'
psaini79 Aug 28, 2024
284db44
Review bug36738203 fix
tthathac Aug 28, 2024
88f9189
Merge branch 'Review-bug36738203-fix' into 'master'
psaini79 Aug 28, 2024
00c1e06
Fix image repository
ting-lan-wang Aug 28, 2024
08fa854
Update README.md (#99)
s1saurabh Sep 2, 2024
0302677
Merge branch 'new_stuff2' into 'master'
psaini79 Sep 2, 2024
0e0d2c0
Merge remote-tracking branch 'gitlab-origin/master' into new_stuff
s1saurabh Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
operator.tgz
cover.out
bin
testbin/*
onpremtest/*
ords/*zip
.gitattributes
.vscode
.gitlab-ci.yml

# development
.idea
.local
27 changes: 0 additions & 27 deletions .gitlab-ci.yml

This file was deleted.

18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Contributing to This Repository

We welcome your contributions! There are multiple ways to contribute.
Oracle welcomes your contributions! There are multiple ways that you can contribute.

## Opening issues

For bugs or enhancement requests, please file a GitHub issue unless the problem is security-related. When filing a bug, remember that the more specific the bug is, the more likely it is to be fixed. If you think you've found a security
vulnerability, then do not raise a GitHub issue. Instead, follow the instructions in our
[security policy](./SECURITY.md).
For bugs or enhancement requests, please file a GitHub issue, unless the problem is security-related.

When filing a bug, remember that the more specific the bug is, the more likely it is to be fixed. If you think you've found a security vulnerability, then do not raise a GitHub issue. Instead, follow the instructions in our [security policy](./SECURITY.md).

## Contributing code

We welcome your code contributions. Before submitting code by using a pull request,
Oracle welcomes your code contributions. Before submitting code by using a pull request,
you must sign the [Oracle Contributor Agreement][OCA] (OCA), and your commits must include the following line, using the name and e-mail address you used to sign the OCA:

```text
Expand All @@ -29,22 +29,22 @@ can be accepted.

## Pull request process

1. Ensure there is an issue created to track and discuss the fix or enhancement that you intend to submit.
1. Ensure that there is an issue created to track and discuss the fix or enhancement that you intend to submit.
1. Fork this repository.
1. Create a branch in your fork to implement the changes. Oracle recommends using
the issue number as part of your branch name. For example: `1234-fixes`
1. Ensure that any documentation is updated with the changes that are required
by your change.
1. Ensure that any samples are updated, if the base image has been changed.
1. If the base image has been changed, then ensure that any examples are updated.
1. Submit the pull request. *Do not leave the pull request blank*. Explain exactly
what your changes are meant to do, and provide simple steps to indicate how to validate
your changes. Ensure that you reference the issue that you created as well.
1. Before the changes are merged, Oracle will assign the pull request to 2 or 3 people for review.
1. Before the changes are merged, Oracle will assign the pull request to two or three people for review.

## Code of conduct

Follow the [Golden Rule](https://en.wikipedia.org/wiki/Golden_Rule). If you'd
like more specific guidelines, see the [Contributor Covenant Code of Conduct][COC].
like more specific guidelines, then see the [Contributor Covenant Code of Conduct][COC].

[OCA]: https://oca.opensource.oracle.com
[COC]: https://www.contributor-covenant.org/version/1/4/code-of-conduct/
19 changes: 17 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# Copyright (c) 2021, Oracle and/or its affiliates.
# Copyright (c) 2022, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#

# Build the manager binary
FROM golang:1.16 as builder
ARG BUILDER_IMG
FROM ${BUILDER_IMG} as builder

# Download golang if BUILD_INTERNAL is set to true
ARG INSTALL_GO
ARG GOLANG_VERSION
RUN if [ "$INSTALL_GO" = "true" ]; then \
curl -LJO https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz &&\
rm -rf /usr/local/go && tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz &&\
rm go${GOLANG_VERSION}.linux-amd64.tar.gz; \
fi
ENV PATH=${GOLANG_VERSION:+"${PATH}:/usr/local/go/bin"}

WORKDIR /workspace
# Copy the Go Modules manifests
Expand All @@ -26,6 +37,10 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager

# Use oraclelinux:8-slim as base image to package the manager binary
FROM oraclelinux:8-slim
ARG CI_COMMIT_SHA
ARG CI_COMMIT_BRANCH
ENV COMMIT_SHA=${CI_COMMIT_SHA} \
COMMIT_BRANCH=${CI_COMMIT_BRANCH}
WORKDIR /
COPY --from=builder /workspace/manager .
RUN useradd -u 1002 nonroot
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2021 Oracle and/or its affiliates.
Copyright (c) 2022 Oracle and/or its affiliates.

The Universal Permissive License (UPL), Version 1.0

Expand Down
97 changes: 60 additions & 37 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2021, Oracle and/or its affiliates.
# Copyright (c) 2022, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#

Expand All @@ -23,6 +23,8 @@ IMG ?= controller:latest
CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false"
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.21
# Operator YAML file
OPERATOR_YAML=$$(basename $$(pwd)).yaml

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
Expand Down Expand Up @@ -53,13 +55,13 @@ fmt: ## Run go fmt against code.
vet: ## Run go vet against code.
go vet ./...

TEST ?= ./apis/... ./commons/... ./controllers/...
TEST ?= ./apis/database/v1alpha1 ./commons/... ./controllers/...
test: manifests generate fmt vet envtest ## Run unit tests.
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test $(TEST) -coverprofile cover.out

E2ETEST ?= ./test/e2e/
e2e: manifests generate fmt vet envtest ## Run e2e tests.
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test $(E2ETEST) -v -timeout 40m -ginkgo.v -ginkgo.failFast
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test $(E2ETEST) -test.timeout 0 -test.v --ginkgo.fail-fast

##@ Build

Expand All @@ -69,14 +71,23 @@ build: generate fmt vet ## Build manager binary.
run: manifests generate fmt vet ## Run a controller from your host.
go run ./main.go

docker-build: test ## Build docker image with the manager.
docker build --no-cache=true --build-arg http_proxy=${HTTP_PROXY} --build-arg https_proxy=${HTTPS_PROXY} . -t ${IMG}

#docker-build-proxy: test
# docker build --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${https_proxy} build . -t ${IMG}
GOLANG_VERSION ?= 1.21.7
## Download golang in the Dockerfile if BUILD_INTERNAL is set to true.
## Otherwise, use golang image from docker hub as the builder.
ifeq ($(BUILD_INTERNAL), true)
BUILDER_IMG = oraclelinux:8
BUILD_ARGS = --build-arg BUILDER_IMG=$(BUILDER_IMG) --build-arg GOLANG_VERSION=$(GOLANG_VERSION) --build-arg INSTALL_GO=true
else
BUILDER_IMG = golang:$(GOLANG_VERSION)
BUILD_ARGS = --build-arg BUILDER_IMG=$(BUILDER_IMG) --build-arg INSTALL_GO=false
endif
docker-build: #manifests generate fmt vet #test ## Build docker image with the manager. Disable the test but keep the validations to fail fast
docker build --no-cache=true --build-arg http_proxy=$(HTTP_PROXY) --build-arg https_proxy=$(HTTPS_PROXY) \
--build-arg CI_COMMIT_SHA=$(CI_COMMIT_SHA) --build-arg CI_COMMIT_BRANCH=$(CI_COMMIT_BRANCH) \
$(BUILD_ARGS) . -t $(IMG)

docker-push: ## Push docker image with the manager.
docker push ${IMG}
docker push $(IMG)

##@ Deployment

Expand All @@ -87,42 +98,53 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified
$(KUSTOMIZE) build config/crd | kubectl delete -f -

deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
$(KUSTOMIZE) build config/default | kubectl apply -f -

# Bug:34265574
# Used sed to reposition the controller-manager Deployment after the certificate creation in the OPERATOR_YAML
operator-yaml: manifests kustomize
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default > $$(basename $$(pwd)).yaml
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
$(KUSTOMIZE) build config/default > "$(OPERATOR_YAML)"
sed -i.bak -e '/^apiVersion: apps\/v1/,/---/d' "$(OPERATOR_YAML)"
(echo --- && sed '/^apiVersion: apps\/v1/,/---/!d' "$(OPERATOR_YAML).bak") >> "$(OPERATOR_YAML)"
rm "$(OPERATOR_YAML).bak"

undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config.
$(KUSTOMIZE) build config/default | kubectl delete -f -

##@ Build Dependencies

## Location to install dependencies to
LOCALBIN ?= $(shell pwd)/bin
$(LOCALBIN):
mkdir -p $(LOCALBIN)

## Tool Binaries
KUSTOMIZE ?= $(LOCALBIN)/kustomize
CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
ENVTEST ?= $(LOCALBIN)/setup-envtest

## Tool Versions
KUSTOMIZE_VERSION ?= v3.8.7
CONTROLLER_TOOLS_VERSION ?= v0.6.1

KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
.PHONY: kustomize
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.
$(KUSTOMIZE): $(LOCALBIN)
curl -s $(KUSTOMIZE_INSTALL_SCRIPT) | bash -s -- $(subst v,,$(KUSTOMIZE_VERSION)) $(LOCALBIN)

.PHONY: controller-gen
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary.
$(CONTROLLER_GEN): $(LOCALBIN)
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION)

.PHONY: envtest
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
$(ENVTEST): $(LOCALBIN)
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest

CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
controller-gen: ## Download controller-gen locally if necessary.
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/[email protected])

KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected])

ENVTEST = $(shell pwd)/bin/setup-envtest
envtest: ## Download envtest-setup locally if necessary.
$(call go-get-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest)

# go-get-tool will 'go get' any package $2 and install it to $1.
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
define go-get-tool
@[ -f $(1) ] || { \
set -e ;\
TMP_DIR=$$(mktemp -d) ;\
cd $$TMP_DIR ;\
go mod init tmp ;\
echo "Downloading $(2)" ;\
GOBIN=$(PROJECT_DIR)/bin go get $(2) ;\
rm -rf $$TMP_DIR ;\
}
endef

.PHONY: bundle
bundle: manifests kustomize ## Generate bundle manifests and metadata, then validate generated files.
Expand Down Expand Up @@ -179,3 +201,4 @@ catalog-build: opm ## Build a catalog image.
.PHONY: catalog-push
catalog-push: ## Push a catalog image.
$(MAKE) docker-push IMG=$(CATALOG_IMG)

5 changes: 3 additions & 2 deletions PREREQUISITES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

## Prerequisites for Using Oracle Database Operator for Kubernetes

Oracle Database operator for Kubernetes (OraOperator) manages all Cloud deployments of Oracle Database, including:
Oracle Database Operator for Kubernetes (OraOperator) manages all Cloud deployments of Oracle Database, including:

* Oracle Autonomous Database (ADB)
* Containerized Oracle Database Single Instance (SIDB)
* Containerized Sharded Oracle Database (SHARDING)

### Setting Up a Kubernetes Cluster and Volumes
Review and complete each step as needed.

#### Setting Up an OKE Cluster on Oracle Cloud Infrastructure (OCI)

Expand All @@ -26,7 +27,7 @@ If you intent to use `OraOperator` to handle Oracle Autonomous Database lifecycl

### Prerequites for Single Instance Databases (SIDB)

If you intent to use `OraOperator` to handle Oracle Database Single Instance lifecycles, then read [Single Instance Database Prerequisites](./docs/sidb/SIDB_PREREQUISITES.md)
If you intent to use `OraOperator` to handle Oracle Database Single Instance lifecycles, then read [Single Instance Database Prerequisites](./docs/sidb/PREREQUISITES.md)

### Prerequites for Sharded Databases (SHARDING)

Expand Down
Loading