Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

docs: add pull request template for the repository #46

Open
wants to merge 89 commits into
base: main
Choose a base branch
from

Commits on Mar 21, 2024

  1. build: Remove unused example kustomizations

    Missed when reorganising example kustomizations in previous PR.
    jimmidyson committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    6c53bb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae3e809 View commit details
    Browse the repository at this point in the history
  3. feat: Add user configuration for all providers

    - Defines a cluster-level variable for defining one or more users
    - Patches bootstrap templates for control plane and worker node pools
      with user configuration
    dlipovetsky committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    9f56b56 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    08457eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e00083a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d13297 View commit details
    Browse the repository at this point in the history
  4. Update hack/examples/sync.sh

    Co-authored-by: Faiq <faiq.raza@nutanix.com>
    Signed-off-by: Deepak Muley <deepak.muley@nutanix.com>
    deepakm-ntnx and faiq committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    e20cf32 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    601c6a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    db87f18 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7e2b6e6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c1695ce View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    d6f54fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0cd416f View commit details
    Browse the repository at this point in the history
  3. fixup! feat: Add user configuration for all providers

    Address review comments
    dlipovetsky committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    650c3cf View commit details
    Browse the repository at this point in the history
  4. fixup! feat: Add user configuration for all providers

    Expand comments
    dlipovetsky committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    27072c6 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. test: Ensure defaults from JSON schema are respected

    Without this, defaults declared in the JSON schema are not included in validation
    steps, which can lead to invalid failures, while also not allowing for tests that
    target defaults.
    jimmidyson committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    5656042 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b17718a View commit details
    Browse the repository at this point in the history
  3. fixup! feat: Add user configuration for all providers

    Fix typo in lockPassword logic, and add unit test
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    9748994 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #5 from d2iq-labs/nutanix-examples

    feat: Add examples for Nutanix provider
    faiq authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    554dacd View commit details
    Browse the repository at this point in the history
  5. fixup! feat: Add user configuration for all providers

    Add unit test for empty hashed password
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    1205a59 View commit details
    Browse the repository at this point in the history
  6. fixup! feat: Add user configuration for all providers

    Change Sudo field from pointer to value
    
    The zero value (empty string) is not valid, so the field does not need
    to be a pointer.
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    a0cdd4b View commit details
    Browse the repository at this point in the history
  7. fixup! feat: Add user configuration for all providers

    Make username required
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    64b7afc View commit details
    Browse the repository at this point in the history
  8. fixup! feat: Add user configuration for all providers

    Explain why we do not validate hashed password input
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    37ec7c9 View commit details
    Browse the repository at this point in the history
  9. fixup! feat: Add user configuration for all providers

    Explain why we do not validate sudo input
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    0968ea6 View commit details
    Browse the repository at this point in the history
  10. fixup! feat: Add user configuration for all providers

    Update type comments
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    f09a28f View commit details
    Browse the repository at this point in the history
  11. fixup! feat: Add user configuration for all providers

    Remove errant comment
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    5a73b71 View commit details
    Browse the repository at this point in the history
  12. fixup! feat: Add user configuration for all providers

    Add users to the docs site
    dlipovetsky committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    b8bcb0e View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. fixup! fixup! feat: Add user configuration for all providers

    Manually wrap lines in doc
    dlipovetsky committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    dfd5cbe View commit details
    Browse the repository at this point in the history
  2. build: add Nutanix infra provider (#12)

    Also deploy infra provider versions that match the API.
    dkoshkin authored Mar 29, 2024
    Configuration menu
    Copy the full SHA
    b0761a7 View commit details
    Browse the repository at this point in the history
  3. fix: rename cpi to ccm (#11)

    CPI is a term unique to the vSphere CCM.
    Renaming to the more generic "CCM".
    dkoshkin authored Mar 29, 2024
    Configuration menu
    Copy the full SHA
    47e578a View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. Configuration menu
    Copy the full SHA
    83dbb72 View commit details
    Browse the repository at this point in the history
  2. test: Fix data race

    dlipovetsky committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    5dba101 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Merge pull request #15 from dlipovetsky/test-data-race

    test: Fix data race
    dkoshkin authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    5081f42 View commit details
    Browse the repository at this point in the history
  2. test: Fix false negative in httpproxy test (#17)

    Other patches can change the slice length, causing the previous check to
    fail, although all correct patches are present.
    dlipovetsky authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    63bca57 View commit details
    Browse the repository at this point in the history
  3. test: Fix false negative in auditpolicy test (#16)

    Other patches can change the slice length, causing the previous check to
    fail, although all correct patches are present.
    dlipovetsky authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    cffe77c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7092a4c View commit details
    Browse the repository at this point in the history
  5. feat: adds nutanix csi to api

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    7662213 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e32da13 View commit details
    Browse the repository at this point in the history
  7. feat: more api changes

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    d9f9e3e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    39cf44f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c6733ba View commit details
    Browse the repository at this point in the history
  10. fix: don't use deepcopy

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    d5c5ec2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    80a80db View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2280da1 View commit details
    Browse the repository at this point in the history
  13. fix: linting errors

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    efdeab1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e4c3aa5 View commit details
    Browse the repository at this point in the history
  15. fix: pre-commit errors

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    e58e2f8 View commit details
    Browse the repository at this point in the history
  16. fix: pass in provisioner name

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    79defde View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7d0c094 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a54e97c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    dda31d8 View commit details
    Browse the repository at this point in the history
  20. fix: addon defaults for csi

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    832cc64 View commit details
    Browse the repository at this point in the history
  21. fix: sets the Items correctly

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    868022f View commit details
    Browse the repository at this point in the history
  22. fix: examples

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    25b05fc View commit details
    Browse the repository at this point in the history
  23. fix: actually apply cm

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    59bf818 View commit details
    Browse the repository at this point in the history
  24. fix: storage class crs

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    3eee6ce View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f0397e5 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    c57e709 View commit details
    Browse the repository at this point in the history
  27. fix: more unit tests

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    8ceebef View commit details
    Browse the repository at this point in the history
  28. fix: gomod

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    3269c5b View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    f963e97 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9ec05d1 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    13aa430 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    6845f96 View commit details
    Browse the repository at this point in the history
  33. feat: allow volume expansion

    faiq committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    5ab09f8 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    05faebb View commit details
    Browse the repository at this point in the history
  35. fix: Nutanix examples (#19)

    * fix: update latest template
    
    * build: pin commit for nutanix examples
    dkoshkin authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    92b06d4 View commit details
    Browse the repository at this point in the history
  36. Merge pull request #4 from dlipovetsky/users

    feat: Add user configuration for all providers
    faiq authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    9cad889 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    7665a94 View commit details
    Browse the repository at this point in the history
  38. Merge pull request #7 from d2iq-labs/faiq/add-nutanix-csi

    feat: add nutanix csi
    faiq authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    2ec54be View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. docs: use a KUBERNETES_VERSION env variable (#22)

    * docs: use an env for KUBERNETES_VERSION
    
    * docs: use a more widely available Kubernetes version
    
    Makes the command more copy-paste friendly.
    Kubernetes v1.28.7 is supported here by Docker, AWS and CAPX.
    dkoshkin authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    ced51e3 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. feat: Add support for CAPX (#6)

    * fix: added support for capx
    
    * refactor: reuse existing CAPX types
    
    * fix: set allowed enums for Nutanix resource types
    
    * fix: set required for Nutanix node type
    
    * fix: reuse resource.Quantity types
    
    * fix: set defaults and validation
    
    * fix: rename field to subnets
    
    * refactor: fix handlers after API changes
    
    * test: add new unit tests
    
    * refactor: bring back host instead of address
    
    * fix: examples with updated APIs
    
    * fix: using latest capx private brach to test kube-vip fix
    
    * fix: set namespace for credentialRef
    
    The patch failed with the following error:
    got failure response with message failed to apply JSON patches to input:
    replace operation does not apply:
    doc is missing key:
    /spec/template/spec/prismCentral/credentialRef/namespace: missing value.
    
    * docs: fix users example
    
    * docs: deploying Calico for Nutanix
    
    * fix: added basic docs for nutanix mutations
    
    * fix: lint related fixes
    
    * docs: minor changes
    
    ---------
    
    Co-authored-by: Dimitri Koshkin <dimitri.koshkin@nutanix.com>
    deepakm-ntnx and dkoshkin authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    aa6feca View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Configuration menu
    Copy the full SHA
    d4768a4 View commit details
    Browse the repository at this point in the history
  2. refactor: use a string type for Nutanix's AdditionalTrustBundle (#28)

    * refactor: use a string type for Nutanix's AdditionalTrustBundle
    
    Use a string instead of a ConfigMap reference
    to make it easier for both the handlers to use, and the clients to set in the API.
    
    * fix: force insecure: false with additionalTrustBundle
    dkoshkin authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    583014f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c4bed7a View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. test: unit test for individual patch generator (#21)

    * test: unit test for individual patch generator
    
    * test: package level unit test for HTTPProxy
    
    * test: fix data race between multiple unit test that use envtest
    
    * test: make patchgenerator generic function
    
    * fix: linting errors after rebase from main
    supershal authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    f8c47e2 View commit details
    Browse the repository at this point in the history
  2. test: move all patch generator unit tests to their own packages (#23)

    * test: unit test for individual patch generator
    
    * test: package level unit test for HTTPProxy
    
    * test: move region and httpproxy patch generator unit test invocation
    
    * fix: linting errors
    
    * test: move all AWS patch unit tests to their own packages (#24)
    
    * test: move instanceprofile tests to its own package
    
    * test: move instancetype unit tests to its own package
    
    * test: move ami unit tests to its own package
    
    * test: move aws network tests to its own package
    
    * test: move controlplaneloadbalancer unit tests to its own package
    
    * test: move aws cni unit tests to its own package
    
    * test: fix linting errors
    
    * test: unit tests for AWS security groups
    
    * test: move customimage unit tests to their own package (#30)
    
    * test:  move all Nutanix patch handler unit tests (#32)
    
    * test: move controlplane endpoint unit tests
    
    * test: move PC endpoint unit tests
    
    * test: nove machinedetails unit tests
    
    * test: move generic patch unit tests to own packages (#31)
    
    * test: move audit policy tests to their own package
    
    * test: move etcd unit tests to their own package
    
    * test: move extra api server cert sans to its own package
    
    * test: move image registry unit tests to its own package
    
    * test: move kubernetes image repository unit tests
    
    * test: move mirror unit tests
    
    * test: move users unit tests
    
    * test: remove gereric unit tests from nutanix meta patch handler
    
    * test: cleaned up meta level unit test suites
    supershal authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    184e7d6 View commit details
    Browse the repository at this point in the history
  3. feat: Make containerd restart its own patch (#18)

    * feat: Make containerd restart its own patch
    
    * fix: unit tests for kubeadmconfigtemplate with containerdrestart patch
    
    * fix: add comment for always add containerd patch
    
    * test: move unit test to their own package
    
    ---------
    
    Co-authored-by: Shalin Patel <shalin.patel@nutanix.com>
    dlipovetsky and supershal authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    8141a4c View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    2b1e7ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e78e6f9 View commit details
    Browse the repository at this point in the history
  3. fix: use a LocalObjectReference for credentials Secret (#37)

    Using a cross-namespace objectRef in the cluster API
    can lead to privilege escalation.
    A user with RBAC to read Secrets in one namespace can create a cluster,
    and copy any Secret from any other namespace to their workload cluster.
    dkoshkin authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    cb8fadb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0e91d4d View commit details
    Browse the repository at this point in the history
  5. refactor: combine PC host and port into a single url var (#36)

    * refactor: combine PC host and port into a single url var
    
    This makes it simpler for clients to provide a single input field
    and not have to do any parsing to split the hostname and port.
    It also allows us to use API validation for bad input.
    
    * fixup! refactor: combine PC host and port into a single url var
    
    * fixup! refactor: combine PC host and port into a single url var
    
    * fixup! refactor: combine PC host and port into a single url var
    dkoshkin authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    f819811 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    92184b0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a384e3 View commit details
    Browse the repository at this point in the history
  8. fix: Nutanix CSI credentials Secret creation (#34)

    The existing code created a ClusterResourceSet with the user provided Secret.
    However, that won't work unless that Secret has an embedded Secret in it.
    dkoshkin authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    21f4055 View commit details
    Browse the repository at this point in the history
  9. feat: get helm config from a well known configmap (#27)

    * ci: adds tooling to create configmap
    
    * feat: use a configmap to get helmchart info
    
    * fix: precommit issues
    
    * fix: typo in cilium
    
    * fix: remove workspace files
    
    * build: template name for configmap
    
    * refactor: names for helm chart info getter
    
    * refactor: use nutanix-storage name instead of nutnaix-csi
    
    * refactor: move to globaloptions
    
    * fix: adds snapshot to helm config
    
    * fix: comments after review
    
    * fix: adds a warning and removes ebs csi
    
    * fix: typo
    
    * fix: adds missing script file
    
    * fix: precommit
    faiq authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    9b92854 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    088cc32 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Configuration menu
    Copy the full SHA
    aa1eef6 View commit details
    Browse the repository at this point in the history