Skip to content
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

chore(ci): Change default branch to main #5268

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ body:

Useful Links:

- 📄 Documentation: https://github.com/fabric8io/kubernetes-client/blob/master/doc/CHEATSHEET.md
- 📝 Contributing: https://github.com/fabric8io/kubernetes-client/blob/master/CONTRIBUTING.md
- 📄 Documentation: https://github.com/fabric8io/kubernetes-client/blob/main/doc/CHEATSHEET.md
- 📝 Contributing: https://github.com/fabric8io/kubernetes-client/blob/main/CONTRIBUTING.md


- type: textarea
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ body:

Useful Links:

- 📄 Documentation: https://github.com/fabric8io/kubernetes-client/blob/master/doc/CHEATSHEET.md
- 📝 Contributing: https://github.com/fabric8io/kubernetes-client/blob/master/CONTRIBUTING.md
- 📄 Documentation: https://github.com/fabric8io/kubernetes-client/blob/main/doc/CHEATSHEET.md
- 📝 Contributing: https://github.com/fabric8io/kubernetes-client/blob/main/CONTRIBUTING.md


- type: textarea
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ body:

Useful Links:

- 📄 Documentation: https://github.com/fabric8io/kubernetes-client/blob/master/doc/CHEATSHEET.md
- 📝 Contributing: https://github.com/fabric8io/kubernetes-client/blob/master/CONTRIBUTING.md
- 📄 Documentation: https://github.com/fabric8io/kubernetes-client/blob/main/doc/CHEATSHEET.md
- 📝 Contributing: https://github.com/fabric8io/kubernetes-client/blob/main/CONTRIBUTING.md


- type: textarea
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ What types of changes does your code introduce? Put an `x` in all the boxes that

## Checklist
- [ ] Code contributed by me aligns with current project license: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
- [ ] I Added [CHANGELOG](https://github.com/fabric8io/kubernetes-client/blob/master/CHANGELOG.md) entry regarding this change
- [ ] I Added [CHANGELOG](https://github.com/fabric8io/kubernetes-client/blob/main/CHANGELOG.md) entry regarding this change
- [ ] I have implemented unit tests to cover my changes
- [ ] I have added/updated the [javadocs](https://www.javadoc.io/doc/io.fabric8/kubernetes-client/latest/index.html) and other [documentation](https://github.com/fabric8io/kubernetes-client/blob/master/doc/CHEATSHEET.md) accordingly
- [ ] I have added/updated the [javadocs](https://www.javadoc.io/doc/io.fabric8/kubernetes-client/latest/index.html) and other [documentation](https://github.com/fabric8io/kubernetes-client/blob/main/doc/CHEATSHEET.md) accordingly
- [ ] No new bugs, code smells, etc. in [SonarCloud](https://sonarcloud.io/dashboard?id=fabric8io_kubernetes-client) report
- [ ] I tested my code in Kubernetes
- [ ] I tested my code in OpenShift
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
paths-ignore:
- 'doc/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
paths-ignore:
- 'doc/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Go Build
on:
push:
branches:
- master
- main
pull_request:
paths-ignore:
- 'doc/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/javadocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
on:
push:
branches:
- master
- main
pull_request:
paths-ignore:
- 'doc/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
on:
push:
branches:
- master
- main
pull_request:
paths-ignore:
- 'doc/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
on:
push:
branches:
- master
- main
pull_request:

concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
paths-ignore:
- 'doc/**'
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ _**Note**_:
```
public class Animals extends CustomResource implements Namespaced { ... }
```
You can also checkout an example in our test suite for this: [PodSet.java](https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/crd/PodSet.java#L22)
You can also checkout an example in our test suite for this: [PodSet.java](https://github.com/fabric8io/kubernetes-client/blob/main/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/crd/PodSet.java#L22)

### 4.10.1 (2020-05-06)
#### Bugs
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ mvn -Pitests -pl kubernetes-itests verify -Dtest="io.fabric8.openshift.**"
```

#### Other Requirements
* If adding a new feature or fixing some bug, please update the [CHANGELOG.md](https://github.com/fabric8io/kubernetes-client/blob/master/CHANGELOG.md),
* If adding a new feature or fixing some bug, please update the [CHANGELOG.md](https://github.com/fabric8io/kubernetes-client/blob/main/CHANGELOG.md),
* Make sure you add the license headers at top of every new source file you add while implementing the feature. You can do so by hitting `mvn -N license:format` command.

#### Commit your work
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This client provides access to the full [Kubernetes](http://kubernetes.io/) &
- [Who Uses Fabric8 Kubernetes Client?](#who-uses-kubernetes--openshift-java-client)
- [Kubernetes Operators in Java Written using Fabric8 Kubernetes Client](./doc/KubernetesOperatorsInJavaWrittenUsingFabric8.md)
- [Kubernetes and Red Hat OpenShift Compatibility Matrix](#compatibility-matrix)
- [Kubernetes Client CHEAT SHEET](https://github.com/fabric8io/kubernetes-client/blob/master/doc/CHEATSHEET.md)
- [Kubernetes Client CHEAT SHEET](https://github.com/fabric8io/kubernetes-client/blob/main/doc/CHEATSHEET.md)
- [Kubectl Java Equivalents](#kubectl-java-equivalents)
- [FAQs](doc/FAQ.md) - which includes details about project dependencies.

Expand Down
2 changes: 1 addition & 1 deletion doc/CHEATSHEET.md
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,7 @@ SharedIndexInformer<Pod> podInformer = client.pods().inNamespace("default").info

logger.info("Informer initialized.");
```
- Create Namespaced Informer for a Custom Resource(**Note:** Your CustomResource POJO must implement `Namespaced` interface like the one used in this example: [Dummy.java](https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/crds/Dummy.java))
- Create Namespaced Informer for a Custom Resource(**Note:** Your CustomResource POJO must implement `Namespaced` interface like the one used in this example: [Dummy.java](https://github.com/fabric8io/kubernetes-client/blob/main/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/crds/Dummy.java))
You should have your CustomResource type POJO annotated with group, version fields with respect to your CRD:
```java
import io.fabric8.kubernetes.api.model.KubernetesResource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public interface CreateOrReplaceable<T> extends Replaceable<T> {
*
* @deprecated please use {@link ServerSideApplicable#serverSideApply()} or attempt a create then edit/patch operation.
* @see <a href=
* "https://github.com/fabric8io/kubernetes-client/blob/master/doc/FAQ.md#alternatives-to-createOrReplace-and-replace"
* "https://github.com/fabric8io/kubernetes-client/blob/main/doc/FAQ.md#alternatives-to-createOrReplace-and-replace"
* >Migration FAQ</a>
*/
@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface Replaceable<T> {
* @deprecated use {@link #update()} instead
*
* @see <a href=
* "https://github.com/fabric8io/kubernetes-client/blob/master/doc/FAQ.md#alternatives-to-createOrReplace-and-replace"
* "https://github.com/fabric8io/kubernetes-client/blob/main/doc/FAQ.md#alternatives-to-createOrReplace-and-replace"
* >Migration FAQ</a>
*/
@Deprecated
Expand All @@ -48,7 +48,7 @@ public interface Replaceable<T> {
* @deprecated use {@link #updateStatus()} instead
*
* @see <a href=
* "https://github.com/fabric8io/kubernetes-client/blob/master/doc/FAQ.md#alternatives-to-createOrReplace-and-replace"
* "https://github.com/fabric8io/kubernetes-client/blob/main/doc/FAQ.md#alternatives-to-createOrReplace-and-replace"
* >Migration FAQ</a>
*/
@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* Indexer extends Store interface and add index/de-index methods.
*
* This implementation has been taken from official client:
* https://github.com/kubernetes-client/java/blob/master/util/src/main/java/io/kubernetes/client/informer/cache/Indexer.java
* https://github.com/kubernetes-client/java/blob/main/util/src/main/java/io/kubernetes/client/informer/cache/Indexer.java
* which has been ported from official go client: https://github.com/kubernetes/client-go/blob/master/tools/cache/index.go
*
* @param <T> resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* SharedInformerFactory class constructs and caches informers for api types.
*
* This has been taken from
* https://github.com/kubernetes-client/java/blob/master/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java
* https://github.com/kubernetes-client/java/blob/main/util/src/main/java/io/kubernetes/client/informer/SharedInformerFactory.java
* which is ported from official go client https://github.com/kubernetes/client-go/blob/master/informers/factory.go
*/
public class SharedInformerFactoryImpl implements SharedInformerFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* and actually executes its event handler on notification.
*
* This has been taken from official client:
* https://github.com/kubernetes-client/java/blob/master/util/src/main/java/io/kubernetes/client/informer/cache/ProcessorListener.java
* https://github.com/kubernetes-client/java/blob/main/util/src/main/java/io/kubernetes/client/informer/cache/ProcessorListener.java
* which has been ported from official go client:
* https://github.com/kubernetes/client-go/blob/master/tools/cache/shared_informer.go#L570
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* notifications.
*
* This has been taken from official-client:
* https://github.com/kubernetes-client/java/blob/master/util/src/main/java/io/kubernetes/client/informer/cache/SharedProcessor.java
* https://github.com/kubernetes-client/java/blob/main/util/src/main/java/io/kubernetes/client/informer/cache/SharedProcessor.java
*
* <br>
* Modified to simplify threading
Expand Down